Re: Problems compiling on RedHat 6.2 Upgrade


Subject: Re: Problems compiling on RedHat 6.2 Upgrade
From: Joaquín Cuenca Abela (cuenca@ie2.u-psud.fr)
Date: Fri Apr 21 2000 - 14:07:07 CDT


James Montgomerie wrote:
>
> Here they are...
> [jamie@hippo libole2]$ gtk-config --libs
> -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
> -lXi -lXext -lX11 -lm
>
> [jamie@hippo libole2]$ gnome-config gnomeui --libs
> -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib
> -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport
> -lesd -laudiofile -lm -ldb1 -lglib -ldl
>
> Hope they're enlightening :-)

Yeah :)

Look at the list of libs that gtk wants (the list that gtk-config
provide), and the list that gnome-config gives. The list of the gnome
version HAS to be a superset of the gtk's list. So (due to a problem
with your gnome-config), you will have to add -lXi to the gnome list of
libs.

Like a quick hack, you can edit abi/src/config/abi_defs.mk at line 388,
and change:

EXTRA_LIBS += $(GNOME_LIBS)

by

EXTRA_LIBS += $(GNOME_LIBS) -lXi

but the real solution is to fix your gnome-config.

--
Joaquín Cuenca Abela
e-mail: cuenca@ie2.u-psud.fr



This archive was generated by hypermail 2b25 : Fri Apr 21 2000 - 14:07:22 CDT