I don't have any spaces in the directory... but I did try and put quotes
around it but it didn't change anything.
When running cleanbld.bat it tells me the following:
Could Not Find C:\..\config.h
Could Not Find C:\..\epan\config.h
Could Not Find C:\..\epan\dfilter\config.h
Could Not Find C:\..\text2pcap-scanner.c
Then when I compile it tells me for every file that wtap-int.h is included
in:
wtap-int.h(30) : fatal error C1083: Cannot open include file: 'glib.h': No
such file or directory
I extracted the source code I downloaded directly from the ethereal site
into a directory. I also extracted the source for the libraries (glib,
gtk+, net-snmp-5.0.6, wpdpack, zlib) into a directory and correctly listed
the path in the config.nmake file. I have no idea what the problem is,
have you compiled it in Windows 2000 before and had problems?
Martin Regner <martin.regner@xxxxxxxxx> said:
> Jaclyn-b-tech wrote:
>
> >I'm trying to compile Ethereal on Windows and I keep getting an error in
> >wtap-int.h saying it can't find glib.h
> >I downloaded the glib source and linked to the proper directory in my
> >config.nmake file... am I supposed to do something else with it?
> >Please help me, it's taking me hours to compile this source code and I'm
> >completely stuck!
>
>
> A search for "glib.h" on the Ethereal site gave e.g. me the following
mesage:
>
> http://www.ethereal.com/lists/ethereal-dev/200112/msg00329.html
>
> http://www.ethereal.com/lists/ethereal-dev/200112/msg00334.html
>
>
> If you have spaces in the directory names you could try to put the path
like this:
> GLIB_DIR="C:ethereal srcglib"
> instead of
> GLIB_DIR=C:ethereal srcglib
>
> I think that it will work then, but it may be even better to avoid the
spaces in the directory names.
>
> If you still have problems then it might be better to send the log (or an
extract from it) so that it's
> possible to see the complete error messages and the arguments used during
the build.
>