gtk getting confused?



Hay all,

	I'm compiling gtk on a fresh Slackware 3.6 install.  It came with
glib/gtk 1.0.6 in the /usr/X11R6 tree to run gimp.

	I compiled glib 1.1.5 out of cvs and installed it to /usr/local 
Everything looks good for glib

funk:/usr/src/misc# /usr/local/bin/glib-config --libs
-L/usr/local/lib  -lglib
funk:/usr/src/misc# /usr/local/bin/glib-config --cflags
-I/usr/local/lib/glib/include -I/usr/local/include


I put /usr/local/lib in my ld.so.conf (it wasn't in there by default, wierd)
and ran ldconfig

When I went to compile gtk I did

../autogen.sh --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--with-glib-prefix=/usr/local --with-glib-exec-prefix=/usr/local

It identified glib > 1.1.5 when it ran ./configure, and so I started to compile
it.  It went through gdk, gtk, etc... and compiled fine.  When it went to
compile and run testgtk though it barfed giving me all these undefined
references to g_xxx_xxxxxxxxx (many functions).  After a bit of research I
found that everything it couldn't find existed in the glib.h header in
/usr/local, but not in /usr/X11R6... So I determined that it was trying to load
it out of /usr/X11R6.  I removed all the glib libraries in /usr/X11R6 and
backed them up somewhere else and reran the make, and things worked fine.except
now I'm getting
make[2]: Entering directory `/usr/src/lib/gtk+/docs'
cd . \
  && makeinfo `echo gtk.texi | sed 's,.*/,,'`
Making info file `gtk.info' from `gtk.texi'.
gtk.texi:1112: `.' or `,' must follow cross reference, not T.
makeinfo: Removing output file `/usr/src/lib/gtk+/docs/gtk.info' due to errors; use --force to preserve.
make[2]: *** [gtk.info] Error 2


I'm gonna get a fresher cvs checkout (this one is about a week old) and maybe
that'll fix the gtk.texi problem (I dod have texinfo 3.12b) but this problem of
gtk confusing my glibs is annooying.  Once I have compiled & installed it, is
it safe to return the 1.0.6 libraries to /usr/X11R6 so I can use teh Gimp?  

-Brian



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