Re: compiling gtk

On Fri, Jul 31, 1998 at 01:58:50AM +0200, Tim Janik wrote:
> you need to checkout the glib module as well and have that installed in order
> to get the latest gtk version going. you can just as well work from the
I had allready innstalled glib. The problem was that I installed
it with the prefix /usr/local/gnome/ so I had to add the following
parameters to to get gtk+ to compile (sort of):
./ --prefix=/usr/local/gnome --with-glib-prefix=/usr/local/gnome/ --with-glib-exec-prefix=/usr/local/gnome/lib/
(maybe these parameters should be added to the CVS HOWTO for gnome)

Even with this gtk fails with:
Making all in gtk
make[2]: Entering directory `/home/hkelle/GNOME/gtk+/gtk'
/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM  -o testgtk  testgtk.o ../gdk/ -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/gnome/lib//lib -lglib-1.1 -lm 
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o -Wl,--rpath -Wl,/usr/local/gnome/lib .libs/ -Wl,--rpath -Wl,/usr/local/gnome/lib ../gdk/.libs/ -L/usr/X11R6/lib -lXext -lX11 -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/gnome/lib//lib -lglib-1.1 -lm
.libs/ undefined reference to `g_scanner_set_scope'
.libs/ undefined reference to `g_scanner_scope_add_symbol'
make[2]: *** [testgtk] Error 1

What am I doing wrong?

> new development tarballs which have just been released. version 1.1.0 of
I had the same problem with them.

//  Hrafnkell Eiriksson  //  Student of Computer- and Electrical engineering
//     //  at the Univeristy of Iceland
//        //  "Blessed are they who go around in circles,
//  Finger for PGP key   //   for they shall be known as Wheels"

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]