<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Проблема со сборкой IPCAD.]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=34374</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=34374&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Проблема со сборкой IPCAD.».]]></description>
		<lastBuildDate>Fri, 28 Mar 2014 10:17:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402637#p402637</link>
			<description><![CDATA[<p>Кстати, пока тему не прикрыли спрошу. Есть ли альтернатива IPCAD? желательно такая же простая и легкая, но со своим веб-интерфейсом или с возможностью его прикрутить.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Fri, 28 Mar 2014 10:17:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402637#p402637</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402632#p402632</link>
			<description><![CDATA[<p><strong>yars</strong>, тему можно закрывать. Нашел <a href="https://launchpad.net/~rush-online/+archive/ppa/+sourcepub/665648/+listing-archive-extra">ppa</a> с готовым deb-пакетом. Перепаковал, оказалось, что зависимостей вообще нету.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Fri, 28 Mar 2014 09:36:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402632#p402632</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402626#p402626</link>
			<description><![CDATA[<p><strong>Nigelist</strong>, читать вывод configure, в случае проблем - ./config.log.<br />А пакеты для dev(eloper)&#039;а готовой программе не нужны, в связи с чем и введено деление пакетов на пакеты исходного кода, пакеты разработчика, пакеты документации и пакеты бинарников.</p>]]></description>
			<author><![CDATA[null@example.com (yars)]]></author>
			<pubDate>Fri, 28 Mar 2014 08:46:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402626#p402626</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402613#p402613</link>
			<description><![CDATA[<p><strong>yars</strong>, не подскажете, как определять зависимости при сборке из исходников?</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Fri, 28 Mar 2014 04:22:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402613#p402613</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402610#p402610</link>
			<description><![CDATA[<p><strong>Nigelist</strong>, нет.</p>]]></description>
			<author><![CDATA[null@example.com (yars)]]></author>
			<pubDate>Fri, 28 Mar 2014 03:34:55 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402610#p402610</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402609#p402609</link>
			<description><![CDATA[<div class="quotebox"><cite>marikk пишет:</cite><blockquote><p>Сейчас попробую. Все осталось по умолчанию<br /><a href="http://files.mail.ru/A0AE9D0B22BC409A92D909750A01A30E">http://files.mail.ru/A0AE9D0B22BC409A92D909750A01A30E</a></p></blockquote></div><p>Спасибо! Пробну сегодня поставить.</p><p>P.S. Кстати, подскажите, готовому пакету нужны эти зависимости?</p><div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>Установил byacc, bison, flex.</p></blockquote></div><div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>Установил iptables-dev.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Fri, 28 Mar 2014 02:54:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402609#p402609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402553#p402553</link>
			<description><![CDATA[<div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Fat-Zer, хм, я его не смотрел :-)UPD: там же *.in должны быть.</p></blockquote></div><p>вот я и говорю, что их нету... =) <br />только configure не in, а ac...</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Thu, 27 Mar 2014 14:37:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402553#p402553</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402548#p402548</link>
			<description><![CDATA[<p><strong>Fat-Zer</strong>, хм, я его не смотрел :-)<br />UPD: там же *.in должны быть.</p>]]></description>
			<author><![CDATA[null@example.com (yars)]]></author>
			<pubDate>Thu, 27 Mar 2014 13:46:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402548#p402548</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402547#p402547</link>
			<description><![CDATA[<div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Fat-Zer, ттамошний configure не autotools-compilant, вот и исходников его нет...</p></blockquote></div><p><strong># Generated by GNU Autoconf 2.59.</strong><br />а это в его шапке оказалось, просто чтоб кого-то запутать =)</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Thu, 27 Mar 2014 13:35:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402547#p402547</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402545#p402545</link>
			<description><![CDATA[<p><strong>Fat-Zer</strong>, тамошний configure не autotools-compilant, вот и исходников его нет...</p>]]></description>
			<author><![CDATA[null@example.com (yars)]]></author>
			<pubDate>Thu, 27 Mar 2014 13:32:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402545#p402545</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402539#p402539</link>
			<description><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>Вроде при конфигурировании меньше стало ошибок:</p></blockquote></div><p>если чего-то нет, то это не означает ошибку... это значит, что этого просто нет...</p><p>простой способ собрать: закоментировать/удалить в headers.h строчки:<br /></p><div class="codebox"><pre><code>#ifndef  __need_sig_atomic_t
#define  __need_sig_atomic_t 1
#endif</code></pre></div><p>правильный способ: написать ещё один тест для autotools. какой именно — не скажу, тут думать надо...<br />ЗЫ: правильное решение не возможно т.к. автор не выложил файлы для autotools(Makefile.am и configure.ac)...</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Thu, 27 Mar 2014 12:51:55 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402539#p402539</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402537#p402537</link>
			<description><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>Можете собрать пакет через check-install?</p></blockquote></div><p>Сейчас попробую. Все осталось по умолчанию<br /><a href="http://files.mail.ru/A0AE9D0B22BC409A92D909750A01A30E">http://files.mail.ru/A0AE9D0B22BC409A92D909750A01A30E</a></p>]]></description>
			<author><![CDATA[null@example.com (marikk)]]></author>
			<pubDate>Thu, 27 Mar 2014 12:10:01 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402537#p402537</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402535#p402535</link>
			<description><![CDATA[<div class="quotebox"><cite>marikk пишет:</cite><blockquote><p>Интересно. На Debian “squeeze” собралось нормально.</p></blockquote></div><p>Можете собрать пакет через <span style="color: gray">check-install</span>?</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Thu, 27 Mar 2014 12:04:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402535#p402535</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402534#p402534</link>
			<description><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">checking for bison... no<br />checking for byacc... no<br />checking for flex... no</div></p></blockquote></div><p>Установил <span style="color: gray">byacc</span>, <span style="color: gray">bison</span>, <span style="color: gray">flex</span>.<br /></p><div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">checking libipq.h usability... no<br />checking libipq.h presence... no<br />checking for libipq.h... no</div></p></blockquote></div><p>Установил <span style="color: gray">iptables-dev</span>.<br />Вроде при конфигурировании меньше стало ошибок:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># ./configure<br />checking for gcc... gcc<br />checking for C compiler default output file name... a.out<br />checking whether the C compiler works... yes<br />checking whether we are cross compiling... no<br />checking for suffix of executables...<br />checking for suffix of object files... o<br />checking whether we are using the GNU C compiler... yes<br />checking whether gcc accepts -g... yes<br />checking for gcc option to accept ANSI C... none needed<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether ln -s works... yes<br />checking whether make sets $(MAKE)... yes<br />checking for bison... bison -y<br />checking for flex... flex<br />checking for yywrap in -lfl... yes<br />checking lex output file root... lex.yy<br />checking whether yytext is a pointer... yes<br />checking for pthread_detach... no<br />checking for pthread_detach in -lc... yes<br />checking for working pthreads... yes<br />checking how to run the C preprocessor... gcc -E<br />checking for egrep... grep -E<br />checking for ANSI C header files... yes<br />checking for sys/types.h... yes<br />checking for sys/stat.h... yes<br />checking for stdlib.h... yes<br />checking for string.h... yes<br />checking for memory.h... yes<br />checking for strings.h... yes<br />checking for inttypes.h... yes<br />checking for stdint.h... yes<br />checking for unistd.h... yes<br />checking fcntl.h usability... yes<br />checking fcntl.h presence... yes<br />checking for fcntl.h... yes<br />checking for unistd.h... (cached) yes<br />checking sys/time.h usability... yes<br />checking sys/time.h presence... yes<br />checking for sys/time.h... yes<br />checking for sys/types.h... (cached) yes<br />checking for sys/stat.h... (cached) yes<br />checking sys/ioctl.h usability... yes<br />checking sys/ioctl.h presence... yes<br />checking for sys/ioctl.h... yes<br />checking arpa/inet.h usability... yes<br />checking arpa/inet.h presence... yes<br />checking for arpa/inet.h... yes<br />checking sys/socket.h usability... yes<br />checking sys/socket.h presence... yes<br />checking for sys/socket.h... yes<br />checking for netinet/in.h... yes<br />checking for netinet/in_systm.h... yes<br />checking for net/if.h... yes<br />checking for net/route.h... yes<br />checking for ifaddrs.h... yes<br />checking for netinet/ip.h... yes<br />checking for netinet/tcp.h... yes<br />checking for net/ethernet.h... yes<br />checking for netinet/if_ether.h... yes<br />checking asm/types.h usability... yes<br />checking asm/types.h presence... yes<br />checking for asm/types.h... yes<br />checking linux/socket.h usability... yes<br />checking linux/socket.h presence... yes<br />checking for linux/socket.h... yes<br />checking for linux/netlink.h... yes<br />checking for linux/netfilter.h... no<br />checking for linux/if.h... no<br />checking for linux/netfilter_ipv4/ipt_ULOG.h... yes<br />checking for linux/netfilter_ipv4/ip_queue.h... yes<br />checking sys/resource.h usability... yes<br />checking sys/resource.h presence... yes<br />checking for sys/resource.h... yes<br />checking netdb.h usability... yes<br />checking netdb.h presence... yes<br />checking for netdb.h... yes<br />checking sys/file.h usability... yes<br />checking sys/file.h presence... yes<br />checking for sys/file.h... yes<br />checking paths.h usability... yes<br />checking paths.h presence... yes<br />checking for paths.h... yes<br />checking libgen.h usability... yes<br />checking libgen.h presence... yes<br />checking for libgen.h... yes<br />checking sysexits.h usability... yes<br />checking sysexits.h presence... yes<br />checking for sysexits.h... yes<br />checking errno.h usability... yes<br />checking errno.h presence... yes<br />checking for errno.h... yes<br />checking sched.h usability... yes<br />checking sched.h presence... yes<br />checking for sched.h... yes<br />checking pthread.h usability... yes<br />checking pthread.h presence... yes<br />checking for pthread.h... yes<br />checking for socket in -lsocket... no<br />checking for inet_pton in -lnsl... yes<br />checking packet source type... pcap<br />checking net/bpf.h usability... no<br />checking net/bpf.h presence... no<br />checking for net/bpf.h... no<br />checking pcap.h usability... yes<br />checking pcap.h presence... yes<br />checking for pcap.h... yes<br />checking for pcap_open_live in -lpcap... yes<br />checking libipq.h usability... yes<br />checking libipq.h presence... yes<br />checking for libipq.h... yes<br />checking pcap_findalldevs... yes<br />checking interface access type... linux<br />checking for an ANSI C-conforming const... yes<br />checking for off_t... yes<br />checking for size_t... yes<br />checking whether struct tm is in sys/time.h or time.h... time.h<br />checking for struct tm.tm_zone... yes<br />checking whether byte ordering is bigendian... no<br />checking for in_addr_t... yes<br />checking for socklen_t... yes<br />checking for open as weak alias for _open... no<br />checking for strstr... yes<br />checking for fcntl... yes<br />checking for flock... yes<br />checking for sched_yield... yes<br />checking for pthread_cancel... yes<br />checking for setpriority... yes<br />checking for strtoull... yes<br />checking for strtouq... yes<br />checking for inet_aton... yes<br />checking for inet_pton... yes<br />checking for getifaddrs... yes<br />configure: creating ./config.status<br />config.status: creating Makefile<br />config.status: creating ipcad.spec<br />config.status: creating config.h</div></p></div></div><p>Но по остальным пунктам, что делать не знаю:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">checking whether we are cross compiling... no<br />...<br />checking for pthread_detach... no<br />...<br />checking for linux/netfilter.h... no<br />checking for linux/if.h... no<br />...<br />checking for socket in -lsocket... no<br />...<br />checking net/bpf.h usability... no<br />checking net/bpf.h presence... no<br />checking for net/bpf.h... no<br />...<br />checking whether byte ordering is bigendian... no</div></p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Thu, 27 Mar 2014 11:58:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402534#p402534</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема со сборкой IPCAD.]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=402530#p402530</link>
			<description><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>да, есть.</p></blockquote></div><p>Интересно. На Debian “squeeze” собралось нормально. <br />закомментировал&nbsp; signal.h получил<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />#:/tmp/ipcad-3.7.3# make<br />gcc -DIPCAD_VERSION=\&quot;3.7.3\&quot; -DCONFIG_FILE=\&quot;/usr/local/etc/ipcad.conf\&quot; -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DPSRC_pcap -DIFST_linux -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -W -Wall -o main.o -c main.c<br />main.c: In function ‘sigalarm’:<br />main.c:45: warning: implicit declaration of function ‘signal’<br />main.c: In function ‘main’:<br />main.c:247: error: ‘SIGCHLD’ undeclared (first use in this function)<br />main.c:247: error: (Each undeclared identifier is reported only once<br />main.c:247: error: for each function it appears in.)<br />main.c:252: error: ‘SIGSEGV’ undeclared (first use in this function)<br />main.c:253: error: ‘SIGBUS’ undeclared (first use in this function)<br />main.c:261: error: ‘SIG_IGN’ undeclared (first use in this function)<br />main.c:264: error: ‘SIGALRM’ undeclared (first use in this function)<br />main.c:265: error: ‘SIGINT’ undeclared (first use in this function)<br />main.c:266: error: ‘SIGHUP’ undeclared (first use in this function)<br />main.c:267: error: ‘SIGQUIT’ undeclared (first use in this function)<br />main.c:268: error: ‘SIGPIPE’ undeclared (first use in this function)<br />main.c:269: error: ‘SIGTERM’ undeclared (first use in this function)<br />main.c:270: error: ‘SIGTTIN’ undeclared (first use in this function)<br />main.c:272: warning: implicit declaration of function ‘siginterrupt’<br />main.c: In function ‘block_certain_signals’:<br />main.c:332: warning: implicit declaration of function ‘sigemptyset’<br />main.c:333: warning: implicit declaration of function ‘sigaddset’<br />main.c:333: error: ‘SIGINT’ undeclared (first use in this function)<br />main.c:334: error: ‘SIGHUP’ undeclared (first use in this function)<br />main.c:335: error: ‘SIGQUIT’ undeclared (first use in this function)<br />main.c:336: error: ‘SIGTERM’ undeclared (first use in this function)<br />main.c:337: warning: implicit declaration of function ‘sigprocmask’<br />main.c:337: error: ‘SIG_BLOCK’ undeclared (first use in this function)<br />main.c: In function ‘terminate_threads’:<br />main.c:410: warning: implicit declaration of function ‘pthread_kill’<br />main.c:410: error: ‘SIGALRM’ undeclared (first use in this function)<br /></div></p></div></div>]]></description>
			<author><![CDATA[null@example.com (marikk)]]></author>
			<pubDate>Thu, 27 Mar 2014 11:42:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=402530#p402530</guid>
		</item>
	</channel>
</rss>
