Ethereal-dev: [Ethereal-dev] Missing options for part of build / runtime problems (GUI) on HPU

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: Thu, 11 Apr 2002 16:23:02 +0200
Hello,

this is ethereal0.9.3:
ethereal 0.9.3, with GTK+ 1.2.7, with GLib 1.2.10, with libpcap (version unknown [should be 0.7.1]), with libz 1.1.4, without UCD SNMP

on HPUX:
HP-UX lasagne B.10.20 U 9000/785 

GTK:
>gtk-config --version
1.2.10

I configured using:
export CC=cc
export CPPFLAGS="-I/pd/libs/include/"
export LDFLAGS=" -L/pd/libs/lib/"
export CFLAGS="+DAportable -Ae +O2"
./configure -prefix=/pd/ethereal0.9.3 --without-gcc --includedir=/pd/libs/include --libdir=/pd/libs/lib

Making worked, with one glitch:
I include '+DAportable' in the CFLAGS, because I build on a PA2.0 machine, but the executable might later be used on PA1.1 machines.

make missed this flag for one file:
...
(cd .libs && cc -c     +Z -DPIC +DAportable "etherealS.c")
...

I finally "fixed" this by adding +DAportable in ltmain.sh (line 3375) [and configure/make again]:
	  *-*-hpux*)
	    case "$compile_command " in
	    *" -static "*) ;;
	    *) pic_flag_for_symtable=" $pic_flag -DPIC +DAportable";; <=================
	    esac

Could the flags from CFLAGS used here without manual intervention ?!

-----------------------------------------------------------------------------------------------------------------------------

Now the executable shows two problems:
[I'm using it on a PC in a X11 emulation]

1.
Cascading menus don't work. They simply don't get unfolded.
Namely:
Display/Match>
Display/Prepare>
Tools/TCP Stream Analysis>

(Cascading menus in gimp1.2.3 are working correctly, both on the consol and in the emulation
ethereals menus don't work on both)

2.
'|' ('pipe' char) not accepted on X11 emulation
I can't enter '|' chars on a X11 emulation. This 
- does work on the terminal
- doesn't work in gimp1.2.3 on the emulation
- works in dtterm on  the emulation (otherwise Unix would be kind of difficult to use ;-)

[This worked for 0.8.x IIRC]

Anything to do right now to fix the runtime issues ?!

TIA

Martin