Re: [Gimp-developer] Problem compiling GIMP from CVS

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

 



On Thu, 16 Dec 2004 07:35:14 -0600, "Steven P. Ulrick" <ulrick2@xxxxxxxxxxxxxxxxx> wrote:
> Hello, Everyone
> When I attempt to compile and install GIMP from CVS, I get the following 
> error:
> gcc -g -O2 -Wall -o .libs/svg svg.o -Wl,--export-dynamic 
> -Wl,--export-dynamic  ../../libgimp/.libs/libgimpui-2.0.so /home/steve/CVS/Assorted-CVS-Modules/gimp/libgimp/.libs/libgimp-2.0.so /home/steve/CVS/Assorted-CVS-Modules/gimp/libgimpwidgets/.libs/libgimpwidgets-2.0.so /home/steve/CVS/Assorted-CVS-Modules/gimp/libgimpmodule/.libs/libgimpmodule-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimp/.libs/libgimp-2.0.so /home/steve/CVS/Assorted-CVS-Modules/gimp/libgimpcolor/.libs/libgimpcolor-2.0.so /home/steve/CVS/Assorted-CVS-Modules/gimp/libgimpbase/.libs/libgimpbase-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpbase/.libs/libgimpbase-2.0.so 
> -lrsvg-2 /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so 
> -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
> -ldl /usr/lib/libglib-2.0.so
> /usr/local/lib/libgthread-2.0.so.0: undefined reference to 
> `g_return_if_fail_warning'
[...]

It looks like you have a conflict between the gcc link line, which
refers to gtk and associated libraries from /usr/lib, and what is
actually used by the linker: libgthread-2.0.so.0 from /usr/local/lib
instead of /usr/lib.

This could happen if you have (re)installed some libraries in
/usr/local/lib but forgot to re-run the GIMP's configure script or
autogen.sh if you use the CVS version.

Or maybe you have installed the libraries correctly, but the
autogen.sh script picked the wrong version because it picked the
configuration from older pkgconfig *.pc files referring to the
libraries in /usr/lib.  In that case, you should set then environment
variable ACLOCAL_FLAGS before running configure, as explained in the
HACKING file (found in CVS or here: http://developer.gimp.org/HACKING)

If you can solve the conflict between the files installed in /usr/lib
and the ones installed in /usr/local/lib, then this linking problem
should disappear.

-Raphaël

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux