I'm trying to compile gtk+-2.2.1 and when I run ./configure i get the following message: checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org But I have installed not onlu the latest pango but also the latest atk and glib. Can someone offer a solution? Olle Viksten
On Wed, 2003-02-05 at 11:17, Olle Viksten wrote:
I'm trying to compile gtk+-2.2.1 and when I run ./configure i get the following message:
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org
But I have installed not onlu the latest pango but also the latest atk and glib.
Can someone offer a solution?
The configure script obviously gets something from pkg-config. Check the file "config.log" and see why it thinks pango isn't there. configure tests for the existence of packages by compiling test programs, but sometimes it fails for some completely different reason. config.log will contain all the relevant information.
onsdagen den 5 februari 2003 11.27 skrev Anders Johansson:
Can someone offer a solution?
The configure script obviously gets something from pkg-config. Check the file "config.log" and see why it thinks pango isn't there. configure tests for the existence of packages by compiling test programs, but sometimes it fails for some completely different reason. config.log will contain all the relevant information.
The file was very long and contained several referenses to pango. But I think this maight be the relevant part, not that I understand much of it :-) configure:15743: checking Pango flags configure:15749: result: -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:15794: gcc -o conftest -g -O2 -Wall -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Get_Short' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Access_Frame' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Get_Long' collect2: ld returned 1 exit status Olle
On Wed, 2003-02-05 at 12:50, Olle Viksten wrote:
onsdagen den 5 februari 2003 11.27 skrev Anders Johansson:
Can someone offer a solution?
The configure script obviously gets something from pkg-config. Check the file "config.log" and see why it thinks pango isn't there. configure tests for the existence of packages by compiling test programs, but sometimes it fails for some completely different reason. config.log will contain all the relevant information.
The file was very long and contained several referenses to pango. But I think this maight be the relevant part, not that I understand much of it :-)
configure:15743: checking Pango flags configure:15749: result: -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:15794: gcc -o conftest -g -O2 -Wall -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Get_Short' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Access_Frame' /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so: undefined reference to `FT_Get_Long'
Hm,try "ldd libpangoxft-1.0.so" and see if there's something missing. It looks like a problem with libfreetype. Have you upgraded that recently?
Hm,try "ldd libpangoxft-1.0.so" and see if there's something missing. It looks like a problem with libfreetype. Have you upgraded that recently?
I think pango 1.2.x and gtk+ 2.2.x depend on fontconfig/Xft2 (fontconfig.org to download) If you don't have them installed, would explain why the xft libs from pango weren't built and installed. -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.1) GNOME updates for SuSE: http://www.usr-local-bin.org
onsdagen den 5 februari 2003 12.56 skrev Anders Johansson:
Hm,try "ldd libpangoxft-1.0.so" and see if there's something missing. It looks like a problem with libfreetype. Have you upgraded that recently?
The output loks like this: (root@pingu:gtk)# ldd /usr/lib/libpangoxft-1.0.so libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4003a000) libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x4006b000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40095000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4009a000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a8000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401a0000) libc.so.6 => /lib/libc.so.6 (0x401f1000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40311000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40343000) libdl.so.2 => /lib/libdl.so.2 (0x40347000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4034b000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) I'm going to try James Ogley's sugestion and install fontconfig. Olle
On Wed, 2003-02-05 at 14:09, Olle Viksten wrote:
onsdagen den 5 februari 2003 12.56 skrev Anders Johansson:
Hm,try "ldd libpangoxft-1.0.so" and see if there's something missing. It looks like a problem with libfreetype. Have you upgraded that recently?
The output loks like this: (root@pingu:gtk)# ldd /usr/lib/libpangoxft-1.0.so libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4003a000) libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x4006b000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40095000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4009a000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a8000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401a0000)
The reason I asked is that my version of libfreetype exports a symbol FT_Stream_Seek (and my version of pangoxft uses it), while your version of pangoxft wants FT_Seek_Stream. So my guess is that you've upgraded libfreetype and not recompiled pangoxft against it.
onsdagen den 5 februari 2003 14.21 skrev Anders Johansson:
On Wed, 2003-02-05 at 14:09, Olle Viksten wrote:
onsdagen den 5 februari 2003 12.56 skrev Anders Johansson:
Hm,try "ldd libpangoxft-1.0.so" and see if there's something missing. It looks like a problem with libfreetype. Have you upgraded that recently?
The output loks like this: (root@pingu:gtk)# ldd /usr/lib/libpangoxft-1.0.so libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4003a000) libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x4006b000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40095000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4009a000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a8000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401a0000)
The reason I asked is that my version of libfreetype exports a symbol FT_Stream_Seek (and my version of pangoxft uses it), while your version of pangoxft wants FT_Seek_Stream. So my guess is that you've upgraded libfreetype and not recompiled pangoxft against it.
Thanks. The advices drom you and James Ogley solved the problem. Olle
On Wednesday 05 February 2003 10:17, Olle Viksten wrote:
I'm trying to compile gtk+-2.2.1 and when I run ./configure i get the following message:
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/pango-1.0/pango -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org
But I have installed not onlu the latest pango but also the latest atk and glib.
Can someone offer a solution?
Do you have two copies of libpango installed? Compiling a new lib is likely to put lib pango into /usr/local/lib and the distribution version is likely to be in /usr/lib. If LD_LIBRARY_PATH is set to look in /usr/lib first then it could pick up the old version. -- Richard Fletcher, Sheffield, UK.
onsdagen den 5 februari 2003 17.08 skrev Richard Fletcher:
Do you have two copies of libpango installed? Compiling a new lib is likely to put lib pango into /usr/local/lib and the distribution version is likely to be in /usr/lib. If LD_LIBRARY_PATH is set to look in /usr/lib first then it could pick up the old version.
Thanks. I'm aware of that problem and always check where a lib/program is installed. ./configure prefix= solves the problem. Olle
participants (4)
-
Anders Johansson
-
James Ogley
-
Olle Viksten
-
Richard Fletcher