Ethereal-users: [Ethereal-users] Problems building ethereal-0.8.19
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: TOY Richard <richard.toy@xxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 13:12:59 +0200
Hi I have successfully built previous versions of ethereal but version 0.8.19 is proving more difficult. I have the latest version of pcap compiled and installed locally in my home directory. e.g. ./configure --prefix=/usr/users21/toy make make install I then try to configure ethereal with ./configure --prefix=/usr/users21/toy OR ./configure --prefix=/usr/users21/toy --with-pcap=/usr/users21/toy/include Both command result in the same error i.e :- tcc01> ./configure --prefix=/usr/users21/toy creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking host system type... alphaev6-dec-osf4.0f checking for gcc... gcc checking whether the C compiler (gcc -g ) works... yes checking whether the C compiler (gcc -g ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for perl... /usr/users21/toy/bin/perl checking for flex... /usr/users21/toy/bin/flex checking for python... no checking for pkgproto... no checking for pkgmk... no checking for pkgtrans... no checking for rpm... no checking to see if we can add '-Wall' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for gtk-config... /usr/users21/toy/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for glib-config... /usr/users21/toy/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking whether GLib supports loadable modules... yes checking for gethostbyname... yes checking for connect... yes checking whether to use libpcap for packet capture... yes checking for extraneous pcap header directories... found -- -I/usr/users21/toy/include added to CFLAGS checking for net/bpf.h... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... no configure: error: Library libpcap not found. tcc01> The config.log contains: configure:2941: checking for connect configure:2969: gcc -o conftest -Wall -W -Wno-unused -g -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/i nclude -I/usr/users21/toy/lib/glib/include -I/usr/users21/toy/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/users21/toy/lib 1>&5 configure:3035: checking whether to use libpcap for packet capture configure:3078: checking for extraneous pcap header directories configure:3120: checking for net/bpf.h configure:3130: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/users21/toy/include conftest.c >/dev/null 2>conftest.out configure:3154: checking for pcap.h configure:3164: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/users21/toy/include conftest.c >/dev/null 2>conftest.out configure:3191: checking for pcap_open_live in -lpcap configure:3210: gcc -o conftest -Wall -W -Wno-unused -g -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/users21/toy/lib/glib/include -I/usr/users21/toy/include -I/usr/users21/toy/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/users21/toy/include -L/usr/local/lib conftest.c -lpcap -L/usr/users21/toy/lib 1>&5 collect2: ld returned 1 exit status /usr/bin/ld: Unresolved: snprintf vsnprintf configure: failed program was: #line 3199 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pcap_open_live(); int main() { pcap_open_live() ; return 0; } What am I doing wrong? Why is the test program expecting to use snprintf & vsnprintf? Any explanation eagerly awaited.... ================================================== Richard Toy tel:+31-(0)43-3661.112 Eurocontrol Maastricht UAC fax:+31-(0)43-3661.300 Horsterweg 11 NL - 6199 AC Maastricht - Airport e-mail(company):richard.toy@xxxxxxxxxxxxxxx e-mail(private):richard_d_toy@xxxxxxxxxxx ==================================================
- Follow-Ups:
- Re: [Ethereal-users] Problems building ethereal-0.8.19
- From: Guy Harris
- Re: [Ethereal-users] Problems building ethereal-0.8.19
- Prev by Date: [Ethereal-users] Problems installing ethereal on Linux Red Hat 6.1 Workstation
- Next by Date: [Ethereal-users] Serial Sniffing
- Previous by thread: [Ethereal-users] Problems installing ethereal on Linux Red Hat 6.1 Workstation
- Next by thread: Re: [Ethereal-users] Problems building ethereal-0.8.19
- Index(es):