Hi all,
While trying (and documenting the steps) to compile and run Ethereal in
cygwin, everything but running the Ethereal binary succeeded. Here are the
steps (gcc version 3.2.20020927):
1. Install the required cygwin packages (compiler, scripting, X, zlib)
with the CygWin setup.exe tool.
You need the base Xfree86 support plus the X headers package in order
to be able to compile the gtk+ package.
2. Download glib-1.2.10 and gtk+-1.2.10 from a mirror of www.gnome.org.
3. Retrieve the patches for glib-1.2.10 and gtk+-1.2.10 from
http://homepage.ntlworld.com/steven.obrien2/
+ glib-1.2.10
http://homepage.ntlworld.com/steven.obrien2/libs/patches/glib-1.2.10-cygwin.
patch
In step 4:
$ CFLAGS=-O2 ./configure --prefix=/opt/gnome --with-threads=posix
+ gtk+-1.2.10
http://homepage.ntlworld.com/steven.obrien2/libs/patches/gtk+-1.2.10-cygwin.
patch
In step 4:
$ CFLAGS=-O2 ./configure --prefix=/opt/gnome
4. Compile and install both packages after patching (see instructions
at the bottom of http://homepage.ntlworld.com/steven.obrien2/).
5. Configure and make Ethereal:
$ ./autogen.sh --without-pcap --without-plugins
$ ./configure --without-pcap --without-plugins
$ make ethereal.exe
6. Start X
$ sh /usr/X11R6/bin/startxwin.sh
For non-US keyboard layouts, use (replace 'be' with your layout):
$ setxkbmap.exe -layout be
7. Run ethereal (add /opt/gnome/bin to $PATH if this is not yet done)
$ ethereal
Now ethereal should run, but instead I get GTK critical error messages (see
attachment). What went wrong?
Regards,
Olivier
Attachment:
foo
Description: Binary data