Ethereal-users: RE: [Ethereal-users] more (solved) problems when building etherea l-0.8.18

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "HOOD, Andy" <ahood@xxxxxxxxxxxxxx>
Date: Thu, 21 Jun 2001 08:58:57 +1000
Once again quoting myself, but this time from earlier this week.
---------------------------------
I quote my own reply from 31May2001 to what was basically the same question.
Please confirm how you installed ucd-snmp. I am beginning to suspect the
ucd-snmp install process is at fault.

-- snip --
I'm not sure why this happens. I've seen it on both Linux and Solaris with
the latest version of libtool when you do not install the libs directly into
the target directory. E.g. when you are making a package - like RedHat for
Linux or me for multiple Solaris systems.

Edit each /usr/local/lib/lib*.la related to {ucd|net}-snmp. You might as
well check the rest while you are on the job.

Change installed=no to installed=yes.

Rerun the Ethereal make
-- snip --

Regards,
Andrew Hood
A distributed system is one in which the failure of a computer you didn't
even know existed can render your own computer unusable. -- Leslie Lamport,
as quoted in CACM, June 1992


-----Original Message-----
From:	Chris Sylvain [mailto:csylvain@xxxxxxxxx]
Sent:	Thursday, 21 June 2001 04:55
To:	ethereal-users@xxxxxxxxxxxx
Subject:	[Ethereal-users] more (solved) problems when building
ethereal-0.8.18

libtool has three uninitialized variables which cause the building of
plugins/gryphon to bomb with 'test: argument expected' errors.

One need only add three lines in libtool just after the 'ltmain' comment
header:

  pic_mode='no'
  hardcode_into_libs='no'
  build_libtool_need_lc='no'

there's still one more (unsolved) problem in libtool: it changes a reference
to -lsnmp in the ethereal makefile to /usr/local/lib/.libs/libsnmp.so ..

rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS
.libs/ethereal.nmT
gcc -Wall -g -O2 -I. -I./wiretap -I./epan -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/openwin/include -o .libs/ethereal
packet-aarp.o
 .
 . 
 .
 epan/dfilter/libdfilter.a /usr/local/lib/.libs/libsnmp.so -lkstat -lpcap
-L/usr/openwin/lib -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -lXext -lX11
-lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl -lm -lpcap
/usr/local/lib/libgtk.so -ldl -lXext -lX11 -lsocket -lnsl -lm
/usr/local/lib/libgdk.so -ldl -lXext -lX11 -lsocket -lnsl -lm
/usr/local/lib/libgmodule.so -ldl /usr/local/lib/libglib.so -ldl -lXext
-lX11 -lsocket -lnsl -lm -lz -R/usr/local/lib/ethereal/plugins/0.8.18
-R/usr/local/lib -R/usr/openwin/lib
gcc: /usr/local/lib/.libs/libsnmp.so: No such file or directory
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/export/home/csylvain/ethereal-0.8.18'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/csylvain/ethereal-0.8.18'
make: *** [all-recursive-am] Error 2

 - so close, and yet no compile (yet!)


_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users

<<application/ms-tnef>>