Ethereal-dev: RE: [Ethereal-dev] the new broken buildscripts

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Wed, 14 Apr 2004 13:28:03 +0200
Hi Ronnie,

I'm having lots of problems building Ethereal on cygwin too since we moved
to shared library builds. I suspect this has to do with cygwin (and the
MSWin platform) not liking not-selfcontained shared libraries (i.e., a
library that contains references to symbols *external* to this library).

As a last resort I downloaded yesterday a nightly tarball of March 6th in
order to have a working build environment to be able working on the MMSE
dissector.

I propose we provide a shared AND a non-shared (static) build environment to
Ethereal. However, it looks like you cannot do so in one single Makefile.am
so during the autogen.sh we may have to decide for shared or static and then
copy the correct Makefile-shared.am or Makefile-static .am to Makefile.am
(maybe we can set the name of the Makefiles to consider in the configure
scripts (configure.in) too).

Fortunately there are not that many changes between static and dynamic
linking for building Ethereal.

Regarding your CVS problems, maybe your CVS/Root files and/or CVS/Entries
files are corrupt. The former must contain your CVSROOT while the latter
contain the versioning information of the files in the repository (at least,
in your local copy of it).

Regarding the problems with the Kerberos changes not impacting the build,
did you disable slow dependency checking while running configure? Slow
dependency checking implies you'll see lines like:

if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./..  -I/usr/local/include  -D_U_="__attribute__((unused))" -Wall -W
-Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes
-g -O2 -I/usr/local/include -pthreads -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -MT packet-dcerpc-lsa.lo -MD -MP -MF
".deps/packet-dcerpc-lsa.Tpo" \
  -c -o packet-dcerpc-lsa.lo `test -f '../packet-dcerpc-lsa.c' || echo
'./'`../packet-dcerpc-lsa.c; \
then mv -f ".deps/packet-dcerpc-lsa.Tpo" ".deps/packet-dcerpc-lsa.Plo"; \
else rm -f ".deps/packet-dcerpc-lsa.Tpo"; exit 1; \
fi

... and lots of include statements in your Makefiles. This is the only
dependency tracking that will work with Ethereal today when doing frequent
changes to the source code.

Regards,

Olivier

|-----Original Message-----
|From: Pia Sahlberg
|
|Grrr Im going crazy     i spend more time trying to get the 
|stupid builds 
|working than trying to patch
|kerberos.
|
|
|OK.  Two questions.
|
|1,    I want to be able to compile Ethereal under both Windows 
|and Linux so 
|I can generate one single executable I can send to others so 
|that they can 
|run it.
|HOW can I do that. All my attempts using creative tar'ing of 
|the ethereal 
|crap script and .libs have so far failed.
|Just how do I create one single functioning excecutable? i can 
|send people   
|OR CAN I NEVER AGAIN COMPILE AND SEND EXECUTABLES TO OTHERS?
|Is the only remaining possibility to build a complete and full 
|install crap 
|for windows or some unknown magic to build a RPM to send to those that 
|actually use RedHat of my linux friends?
|
|
|2,  Something else has broken.   Now when i try to patch 
|kerberos  and test 
|some part of the build refuse to activate my cvhanges and even 
|seem to do 
|crap like replacing my changes with the CVS version.
|I DONT WANT FILES TO BE CHANGED   ___UNLESS___ I MANUALLY RUN 
|CVS UPDATE 
|MYSELF.
|Why does it no longer work?    HOW Should I do this?
|
|I tried to UPDATE packet-kerberos.c in my editor   saved the 
|changes and 
|tried make.
|That did not work.
|I tried to delete epan/packet-kerberos.*   and run make
|that did not work either.
|I tried to delete  epan/packet-kerberos.* and also 
|epan/.libs/packet-kerberos* plus also epan/.libs/lib*  which 
|actually did 
|cause it to relink that crap shared library but again to no avail.
|Now my packet-kerberos.c had changed.
|
|
|
|Exactly how am i supposed to get it to work to recompile after 
|i have edited 
|a dissector?
|
|
|Anyone interested, send me your interest and i will set up ssh 
|so you can 
|log in to my machine and see the joy of a broken build environement.   
|please then login to my box or boxes and fix it.
|
|
|
|
|Would it be possible to revert back to a functioning build 
|environment like 
|the pre 0.10.2 versions and some broken scripts that only the 
|win32 people 
|themself could use when they want to build a distro?
|
|
|I really want to know the solution to 1 and 2.   I dont want 
|to learn about 
|autoconf/automake and the other crap. I just want 1 and 2 to 
|work.   this 
|has been broken and continue to break for too long now.
|
|_________________________________________________________________
|We've 100s of NEW questions! Play Millionaire online to win 
|$$$$. Click here 
|  http://sites.ninemsn.com.au/minisite/millionaire/default.asp
|
|_______________________________________________
|Ethereal-dev mailing list
|Ethereal-dev@xxxxxxxxxxxx
|http://www.ethereal.com/mailman/listinfo/ethereal-dev
|