Subject: Re: x11/gtk2 doesn't build on Linux (SuSE 8.1)
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: tech-pkg
Date: 03/29/2005 15:08:01
Hi Julio,

On Tue, 29 Mar 2005, Julio M. Merino Vidal wrote:

> This is something for you to try, Torsten: edit
> the /usr/pkg/lib/libpangoxft-1.0.la file and add /usr/pkg/lib/libXft.la
> to the dependency_libs variable.  Then, try to 'make clean' and 'make
> configure' gtk2 again.

[...]

> But oh wait, I think the configure script doesn't use libtool to run the
> tests...

Hi again,

as you expected:

configure:30591: result: -DXTHREADS -I/usr/pkg/include/pango-1.0
-I/usr/pkg/incl
ude -I/usr/pkg/include/freetype2 -I/usr/X11R6/include
-I/usr/pkg/include/glib/gl
ib-2.0 -I/usr/pkg/lib/glib-2.0/include   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-lpan
goxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0
configure:30639: gcc -o conftest -O2 -pthread -I/usr/pkg/include
-I/usr/include
-I/usr/pkg/include/freetype2 -Wall -DXTHREADS -I/usr/pkg/include/pango-1.0
-I/us
r/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include
-I/usr/pkg/inclu
de/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-DPREFIX="\"/usr/pkg\""  -I/
usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-Wl,-R/usr/X11R6/li
b -L/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -
pthread conftest.c -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpangoxft-1.0
-lpangox-1.0
 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lpthread -lrt
>&5
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftGlyphExtents'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftCharIndex'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XRenderFindStandardFormat'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftGlyphSpecRender'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftDrawGlyphSpec'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftDrawSrcPicture'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XRenderCompositeTrapezoids'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftLockFace'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftUnlockFace'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftCharExists'
/usr/pkgsrc/x11/gtk2/work/.x11-buildlink/lib/libpangoxft-1.0.so: undefined
refer
ence to `XftDrawPicture'

:-(

But nice idea, it was worth a try ;)

Best regards and thanks,

  Torsten

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>