Ethereal-dev: [ethereal-dev] Problem making ethereal

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

From: John McDermott <jjm@xxxxxxxxxx>
Date: Mon, 09 Aug 1999 10:00:56 -0600
Greetings,

I just got back from an extended trip and tried to make the latest
ethereal from the CVS tree.  I did a 'cvs ethereal -P' and a
'./autogen.sh' and then a 'make ethereal' and got lots of errors.  I
then reloaded all the files with a new cvs checkout.

I still get the errors.  Here is what I get (modulo line wrap):

[jjm@jjm ethereal]$ cd ethereal
[jjm@jjm ethereal]$ ./autogen.sh
Running ./configure with no arguments. If you wish to pass any,
please specify them on the ./autogen.sh command line.
processing .
aclocal: configure.in: 53: macro `AM_PATH_GTK' not found in library
configure.in:116: warning: AC_TRY_RUN called without default to allow
cross compiling
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./config.sub'
configure.in:116: warning: AC_TRY_RUN called without default to allow
cross compiling
autoconf: Undefined macros:
configure.in:113:AC_ETHEREAL_STRUCT_SA_LEN
configure.in:65:        AC_ETHEREAL_PCAP_CHECK
configure.in:77:        AC_ETHEREAL_IPV6_STACK
processing wiretap
aclocal: configure.in: 25: macro `AM_PATH_GTK' not found in library
processing doc
creating cache ./config.cache
./configure: syntax error near unexpected token
`AM_INIT_AUTOMAKE(ethereal,'
./configure: ./configure: line 528: `AM_INIT_AUTOMAKE(ethereal, 0.7.1)'

Now type 'make' to compile Ethereal.
[jjm@jjm ethereal]$ make
make: *** No targets.  Stop.
[jjm@jjm ethereal]$ make ethereal
cc     ethereal.c   -o ethereal
In file included from /usr/local/include/gdk/gdktypes.h:33,
                 from /usr/local/include/gdk/gdk.h:31,
                 from /usr/local/include/gtk/gtk.h:31,
                 from ethereal.c:46:
/usr/local/include/glib.h:66: glibconfig.h: No such file or directory
In file included from ethereal.c:84:
ethereal.h:29: config.h: No such file or directory
In file included from ethereal.c:89:
file.h:38: wiretap/wtap.h: No such file or directory
make: *** [ethereal] Error 1
[jjm@jjm ethereal]$                                             

------
Notice that autogen is incorrect in that 'make' does not work and that
'make ethereal' is required.  What else am I doing wrong?  Likely
something normally obvious, but I can't see it.  Oh, and glibconfig does
exist.  I just reinstalled it to make sure and locate finds it.

Thanks
--john

-- 
John McDermott jjm@xxxxxxxxxx
Writer and Computer Consultant
J-K International, Ltd.
+1 505/377-6293 - V
+1 505/377-6313 - F