Date: Fri, 14 Jul 2006 15:02:42 +0530 From: "Joseph Koshy" <joseph.koshy@gmail.com> To: gnome@freebsd.org Subject: graphics/cairo libtool problem on 4.X Message-ID: <84dead720607140232o37e7c7b5na23f761293821828@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
The problem is that graphics/cairo installs a ".la" file with the following dependency line: $ uname -a FreeBSD orthanc 4.11-STABLE FreeBSD 4.11-STABLE #2: Wed Oct \ 5 06:05:52 IST 2005 \ root@orthanc:/home/obj-stable/usr/src/sys/ORTHANC i386 $ grep dependency ${PREFIX}/lib/libcairo.la dependency_libs=' -pthread -L/usr/X11R6/lib -lXrender -lXext \ -lX11 -L/usr/local/lib -lpng /usr/X11R6/lib/libfontconfig.la \ /usr/local/lib/libexpat.la /usr/local/lib/libfreetype.la -lz \ -lm' Note the '-pthread' right in front. This causes the build of DrScheme to fail under 4.X. Drscheme comes with its own libtool script. $ ... /home/ports/lang/drscheme/work/plt/src/lt/libtool --mode=link \ c++ -rpath /home/tmp/local/lib -L/usr/X11R6/lib -o mred \ mrmain.lo ../mzscheme/libmzscheme.la ../mzscheme/libmzgc.la \ libmred.la -lSM -lICE -lXaw -lXmu -lXt -lX11 -lXext -lGL \ -lXrender -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib \ -L/usr/local/lib -lXft -lfreetype -lz -lXrender -lXext -lX11 \ -lfontconfig -L/usr/local/lib -lcairo -lm -rdynamic libtool: link: cannot find the library `' Looking inside the script, it appears to be treating '-pthread' to be a library name and failing. Is there a work-around for this? -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720607140232o37e7c7b5na23f761293821828>