Ethereal-dev: RE: [Ethereal-dev] config.nmake problem

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

From: "Anders Broman (TN/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Mon, 10 Nov 2003 11:54:50 +0100
Hi,
Does it work if using the files abvalable at:
http://www.ethereal.com/distribution/win32/development/  ?
-------------------------------------------------------------------------------- Parent Directory                                      -   
 adns-1.0-win32-01.zip            13-Sep-2002 07:37  469K  ZIP archive
 glib-2.2.1.zip                   05-Feb-2003 01:13  550K  ZIP archive
 glib-dev-2.2.1.zip               05-Feb-2003 01:13  689K  ZIP archive
 gtk+-1.3.0-20030216.zip          15-Feb-2003 19:56  913K  ZIP archive
 gtk+-dev-1.3.0-20030115.zip      15-Jan-2003 01:19  358K  ZIP archive
 libiconv-1.9.1.bin.woe32.zip     27-May-2003 13:56  681K  ZIP archive
 libintl-0.10.40-tml-20020904.zip 15-Sep-2002 10:27   27K  ZIP archive
 net-snmp-5.0.6.zip               08-Oct-2002 21:59   10M  ZIP archive
 old/                             17-Oct-2002 21:02    -   
 zlib-1.1.4.tar.gz                18-Apr-2002 11:38  177K  Tar archive, gzipped
 zlib-114-dev.zip                 18-Apr-2002 11:36   39K  ZIP archive

And the problem arises if using a newer version of glib ?


or should perhaps those files be updated with the files :
glib-2.2.3.zip 
glib-dev-2.2.3.zip
gtk+-1.3.0-20030717.zip 
gtk+-dev-1.3.0-20030115.zip
from : http://www.gimp.org/~tml/gimp/win32/downloads.html 
Best regards
Anders


-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Lars Roland
Sent: den 10 november 2003 11:33
To: Ulf Lamping
Cc: ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] config.nmake problem


Hello all,

> > Date: Sat, 8 Nov 2003 02:39:56 -0600
> > From: "David Richards" <d_m_richards@xxxxxxxxxxx>
> > Subject: [Ethereal-dev] config.nmake problem
> > To: "Ethereal" <ethereal-dev@xxxxxxxxxxxx>
> > 
> > Section from config.nmake...
> > 
> > !IF "$(GTK_VERSION)" == "1.3"
> > ********   !IF "$(GLIB_VERSION)" == "1.3"
> > # GTK+ 1.3 with GLib 1.3
> > GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR) /I$(GTK_DIR)\gdk
> > GTK_LIBS=$(GTK_DIR)\gtk\gtk-$(GTK_VERSION).lib \
> >  $(GTK_DIR)\gdk\gdk-$(GTK_VERSION).lib \
> >  $(GLIB_LIBS)
> > ********   !ELSE
> > # GTK+ 1.3 with GLib 2.0
> > ********   GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include
> > /I$(GTK_DIR)\include\gdk \
> > ********    /I$(GTK_DIR)\lib\gtk+\include
> > ********   GTK_LIBS=$(GTK_DIR)\lib\gtk.lib \
> > ********    $(GTK_DIR)\lib\gdk.lib \
> > ********    $(GLIB_LIBS)
> > ********   !ENDIF
> > !ELSE
> > # GTK+ 2.x (with GLib 2.x)
> > GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include\gtk-$(GTK_VERSION) \
> >  /I$(GTK_DIR)\lib\gtk-$(GTK_VERSION)\include \
> >  /I$(GTK_DIR)\include\atk-1.0 \
> >  /I$(GTK_DIR)\include\pango-1.0
> > GTK_LIBS=$(GTK_DIR)\lib\gtk-win32-$(GTK_VERSION).lib \
> >  $(GTK_DIR)\lib\gdk-win32-$(GTK_VERSION).lib \
> >  $(GTK_DIR)\lib\pango-1.0.lib \
> >  $(GLIB_LIBS)
> > !ENDIF
> > 
> > 
> > Dave Richards
> > 
> > 
> > 
> 
> Hi List!
> 
> I had the same problem, and solved it by simply deleting the marked lines,
> too. 
> 
> IMHO there is no reason, why there should be a different configuration of
> the GTK1.3 things, when switching between GLib1.3 and 2.0.
> 
> With the changes above, I can use GTK1.3 or 2.0 without any problems :-)
> 

The source tree of GTK 1.3 changed. If you just upgrade to Glib 2.x and
don't update the GTK 1.3 tree, you will have to change config.nmake as you
suggested. However the current config.nmake will work, if you use a newer GTK 1.3
version (see http://www.gimp.org/~tml/gimp/win32/downloads.html ).

Best regards,

Lars Roland

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev