<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Кибер-Фанк v2.0 &#187; apache</title>
	<atom:link href="http://www.shatlovsky.ru/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shatlovsky.ru</link>
	<description>Information must be free</description>
	<lastBuildDate>Fri, 12 Aug 2011 09:06:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>debian: ошибка при сборке apache 1.3.41</title>
		<link>http://www.shatlovsky.ru/2009/12/06/debian-oshibka-pri-sborke-apache-1-3-41/</link>
		<comments>http://www.shatlovsky.ru/2009/12/06/debian-oshibka-pri-sborke-apache-1-3-41/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 09:13:46 +0000</pubDate>
		<dc:creator>Alex Shatlovsky</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://www.shatlovsky.ru/?p=170</guid>
		<description><![CDATA[При сборке apache 1.3.41 под debian 5.0 lenny возникает ошибка: отсутствует ndbm.h: $ ./configure \ --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max \ $ make ... mod_auth_dbm.c:42:18: error: ndbm.h: No such file or directory mod_auth_dbm.c: In function ‘get_dbm_pw’: mod_auth_dbm.c:110: error: ‘DBM’ undeclared &#40;first use in this function&#41; mod_auth_dbm.c:110: error: &#40;Each undeclared identifier is reported only once mod_auth_dbm.c:110: [...]]]></description>
			<content:encoded><![CDATA[<p>При сборке apache 1.3.41 под debian 5.0 lenny возникает ошибка: отсутствует <code>ndbm.h</code>:</p>
<pre class="bash">$ ./configure \
  --<span style="color: #007800;">prefix=</span>/usr/<span style="color: #7a0874; font-weight: bold;">local</span>/apache \
  --enable-<span style="color: #007800;">module=</span>most \
  --enable-<span style="color: #007800;">shared=</span>max \
$ <span style="color: #c20cb9; font-weight: bold;">make</span>
...
mod_auth_dbm.c:<span style="color: #000000;">42</span>:<span style="color: #000000;">18</span>: error: ndbm.h: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory
mod_auth_dbm.c: In <span style="color: #000000; font-weight: bold;">function</span> ‘get_dbm_pw’:
mod_auth_dbm.c:<span style="color: #000000;">110</span>: error: ‘DBM’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mod_auth_dbm.c:<span style="color: #000000;">110</span>: error: <span style="color: #7a0874; font-weight: bold;">&#40;</span>Each undeclared identifier is reported only once
mod_auth_dbm.c:<span style="color: #000000;">110</span>: error: <span style="color: #000000; font-weight: bold;">for</span> each <span style="color: #000000; font-weight: bold;">function</span> it appears <span style="color: #000000; font-weight: bold;">in</span>.<span style="color: #7a0874; font-weight: bold;">&#41;</span>
mod_auth_dbm.c:<span style="color: #000000;">110</span>: error: ‘f’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mod_auth_dbm.c:<span style="color: #000000;">111</span>: error: ‘datum’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mod_auth_dbm.c:<span style="color: #000000;">111</span>: error: expected ‘;’ before ‘d’
mod_auth_dbm.c:<span style="color: #000000;">114</span>: error: ‘q’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mod_auth_dbm.c:<span style="color: #000000;">128</span>: error: ‘d’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: *** <span style="color: #7a0874; font-weight: bold;">&#91;</span>mod_auth_dbm.so<span style="color: #7a0874; font-weight: bold;">&#93;</span> Error <span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: *** <span style="color: #7a0874; font-weight: bold;">&#91;</span>all<span style="color: #7a0874; font-weight: bold;">&#93;</span> Error <span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: *** <span style="color: #7a0874; font-weight: bold;">&#91;</span>subdirs<span style="color: #7a0874; font-weight: bold;">&#93;</span> Error <span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Leaving directory `/usr/src/apache_1<span style="color: #000000;">.3</span><span style="color: #000000;">.41</span>/src<span style="color: #ff0000;">'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.41'</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>: *** <span style="color: #7a0874; font-weight: bold;">&#91;</span>build<span style="color: #7a0874; font-weight: bold;">&#93;</span> Error <span style="color: #000000;">2</span></pre>
<p>Поиск по содержимому пакетов показывает, что такого файла в пакетах debian нет. Пишут, что раньше он входил в состав <code>libc6</code>. В одном из листов рассылки было найдено такое решение:</p>
<pre class="bash">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> libgdbm-dev
$ <span style="color: #c20cb9; font-weight: bold;">ln</span> -s /usr/include/gdbm-ndbm.h /usr/include/ndbm.h</pre>
<p>Что интересно, работает.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shatlovsky.ru/2009/12/06/debian-oshibka-pri-sborke-apache-1-3-41/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

