Trouble configuring gtk+-2.1.5 with latest XFree86 CVS



I've just tried downloading pango 1.1.6, glib 2.1.5, and gtk+ 2.1.5.
The configure for gtk+ still breaks with this output in config.log:

configure:15741: checking Pango flags
configure:15747: result: -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -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:15792: gcc -o conftest -g -O2 -g -Wall -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -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/i686-pc-linux-gnu/3.2.1/../../../libpangoxft-1.0.so: undefined
reference to `FT_Stream_GetShort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpangoxft-1.0.so: undefined
reference to `FT_Stream_ExitFrame'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpangoxft-1.0.so: undefined
reference to `FT_Stream_GetLong'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpangoxft-1.0.so: undefined
reference to `FT_Stream_Seek'
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_Next_Char'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpangoxft-1.0.so: undefined
reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
configure:15795: $? = 1
configure: failed program was:
#line 15772 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pango_context_new ();
int
main ()
{
pango_context_new ();
  ;
  return 0;
}
configure:15809: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org


Using all default configure flags except --prefix=/usr, and using the latest
XFree86 CVS sources.  Pango and Glib both built successfully.

Output from Pango's configure script:

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for freetype-config... /usr/X11R6/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... yes
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... yes
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig >= 1.0.1... yes
checking FONTCONFIG_CFLAGS... -I/usr/X11R6/include  
checking FONTCONFIG_LIBS... -L/usr/X11R6/lib -lfontconfig  
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/X11R6/include/freetype2  
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3... yes (version 2.1.5)
checking Whether to build OpenType test programs... yes
checking modules to link statically... 
checking for flockfile... yes
checking for strtok_r... yes
checking For Qt location... none
checking for gtkdoc-mkdb... false
checking for db2html... false
checking Whether to write dependencies into .pc files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
configure: creating ./config.status

And, Pango installed all 4 .pc files into /usr/lib/pkgconfig:

   4 -rw-r--r--    1 root     root          299 Dec 17 09:02 pangoxft.pc
   4 -rw-r--r--    1 root     root          276 Dec 17 09:02 pangox.pc
   4 -rw-r--r--    1 root     root          330 Dec 17 09:02 pangoft2.pc
   4 -rw-r--r--    1 root     root          298 Dec 17 09:02 pango.pc

Thanks for your help!

 -Byron






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