Re: make in gnome-libs/libgnomeui doesn't specify -lgdk-1.1 and -lgtk-1.1



"Haukur Hreinsson" <hawk@london.is> writes:
> I have a Debian system and am working from CVS sources. At first, I had some
> of the things GNOME depends on installed via Debian's package manager, but
> I've since removed these packages and compiled the libs from CVS sources. So
> I'm pretty sure that appropriate versions of glib, gtk, imlib, etc. are
> installed.
> 
> The following is the last thing make does in gnome-libs/libgnomeui
> 
> gcc -g -O2 -o .libs/gnome_segv gnome_segv.o -Wl,-rpath -Wl,/usr/local/lib
> ../lib
> gnomeui/.libs/libgnomeui.so -Wl,-rpath -Wl,/usr/local/lib
> ../libgnome/.libs/libg
> nome.so -Wl,-rpath -Wl,/usr/local/lib
> ../support/.libs/libgnomesupport.so -L/usr
> /local/lib -lglib-1.1 -ldl -lgdk_imlib -ltiff -lgif -ljpeg -lpng -lz -lz -lm
> 
> What follows is of course a bunch of undefined reference errors for gdk_*
> and gtk_* stuff.

-lgtk & -lgdk are missing from the link line.  It didn't find gtk for
some reason.  Can you send the relevant portions of config.log, and
configure output.  Do you have `gtk-config' in your path.
 
> Also, to even get this far with gnome-libs, I had to call autogen
> with --disable-nls. If I didn't, make in gome-libs/po would try to `mv
> gnome-libs.po gnome-libs.pot` and gnome-libs.po did not exist. There is a
> gnome-libs.po in gnome-libs, but that's a directory that's almost identical
> to the po directory. This is all a bit confusing.

For compiling out of CVS, you need to install GNU gettext.  You can get
gettext 0.10.35 from ftp://alpha.gnu.org/gnu.

-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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