Ethereal-dev: [ethereal-dev] Compiling ethereal 0.8.4 on HPUX 10.20 - some remarks

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

From: Jost Martin <Martin.Jost@xxxxxxxxxxxxxx>
Date: Mon, 3 Apr 2000 16:18:58 +0200
Hello,

this are my observations from compiling ethereal on the HPXU 10.20:

My zlib is installed as /pd/libs/lib/libz.a (and /pd/libs/include/ for
include-files)

I tried the following:
export CC=cc 
export CFLAGS="+DAportable -Aa -Ae +O2 -I /pd/libs/include/  -L
/pd/libs/lib/"
./configure -prefix=/pd/ethereal0.8.4 --without-gcc
--includedir=/pd/libs/include --libdir=/pd/libs/lib

But the check for the zlib-Headers failed, apparently, because the
configure-script doesn't use neither the -I-switch from CFLAGS nor the
--includedir for the relevant test.
I finally had to symlink the header-files from /usr/local/include/ to get
this to work. (Finding the lib itself wasn't a problem)

Building ethereal, first failed with:
./plugins/gryphon/packet-gryphon.c.gz:#error "Sorry, this won't compile
without 64-bit integer support"

I had to guess quite long, that I have to rebuild glib and gtk with 'long
long'-support (64 Bit) enabled. This is done on HPUX by adding '-Ae' to the
CFLAGS.
A note in the README or INSTALL concerning this would be nice !

Thanks for a great program !

Martin