bug-libtool
[Top][All Lists]
Advanced

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

libtool ignorant of lack of headers in /usr


From: Carol Spears
Subject: libtool ignorant of lack of headers in /usr
Date: Mon, 17 Oct 2005 08:46:48 -0700
User-agent: Mutt/1.5.9i

hi,

i am using (GNU libtool) 1.5.20 Debian 1.5.20-2 (1.1220.2.287 2005/08/31
18:54:15) to build glib, pango and gtk+ from cvs.

all of the other tools respect that i have allowed the distribution to
install this software in /usr and my build system uses the stuff i
installed in /usr/local to build with.  i am having a difficult time
finding the words to express this problem.  let me paste the compiler
spew:

first:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRE
CATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo   -pthread
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/include/freetype2  
  -g -O2 -Wall -MT argcontext.o -MD -MP -MF ".deps/argcontext.Tpo" \
  -c -o argcontext.o `test -f 'argcontext.c' || echo'./'`argcontext.c; \
then mv -f ".deps/argcontext.Tpo" ".deps/argcontext.Po"; \
else rm -f ".deps/argcontext.Tpo"; exit 1; \
fi
    
this portion is clearly working correctly.  i am using freetype from the
distribution (there has not been many changes for a very very long
while) and the same with cairo.  i have built my own glib in /usr/local
and the tools find this and use it appropriately until libtool takes
over:

/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o pangoft2topgm
pangoft2top
gm.o renderdemo.o argcontext.o ../pango/libpango-1.0.la
../pango/libpangoft2-1.0
.la -lfontconfig   -lfreetype -lz 
gcc -g -O2 -Wall -o .libs/pangoft2topgm pangoft2topgm.o renderdemo.o
argcontext.o  ../pango/.libs/libpango-1.0.so 
../pango/.libs/libpangoft2-1.0.so -lfontconfig /usr/lib/libfreetype.so -lz
../pango/.libs/libpango-1.0.so: undefined reference to `g_intern_static_string'
collect2: ld returned 1 exit status
make[2]: *** [pangoft2topgm] Error 1

the way i understand it, libtool is finding .la files that were
installed by debian.  this breaks an otherwise sane build system.  this
negates anything that ldconfig does. 

can this be fixed?  in my world, the gnu tools used to provide sanity.

carol





reply via email to

[Prev in Thread] Current Thread [Next in Thread]