Bug 95 - Fontconfig fails to build on Redhat 7.3 system
Summary: Fontconfig fails to build on Redhat 7.3 system
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-25 15:12 UTC by Richard Kinder
Modified: 2003-09-04 16:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Richard Kinder 2003-06-25 15:12:28 UTC
The changes introduced in bug 47 break the build for Redhat 7.3 systems. Maybe
just need a configure check and a conditional compile?:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2
-DFONTCONFIG_PATH=\"/users/rkinder/bin/gnome24//etc/fonts\" -I.. -I../src -g -O2
-MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c  -fPIC -DPIC
-o .libs/fcfreetype.o
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:360: `PS_FontInfoRec' undeclared (first use in this function)
fcfreetype.c:360: (Each undeclared identifier is reported only once
fcfreetype.c:360: for each function it appears in.)
fcfreetype.c:360: parse error before `psfontinfo'
fcfreetype.c:796: `psfontinfo' undeclared (first use in this function)
make[2]: *** [fcfreetype.lo] Error 1
make[2]: Leaving directory `/auto/nr-projects/software/src/gnome24/fontconfig/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/auto/nr-projects/software/src/gnome24/fontconfig'
make: *** [all] Error 2
Comment 1 Richard Kinder 2003-06-25 23:33:09 UTC
I tried again with the latest CVS - now fails on the linking stage:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2    -g -O2 -MT
fc-cache.o -MD -MP -MF ".deps/fc-cache.Tpo" \
  -c -o fc-cache.o `test -f 'fc-cache.c' || echo './'`fc-cache.c; \
then mv ".deps/fc-cache.Tpo" ".deps/fc-cache.Po"; \
else rm -f ".deps/fc-cache.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc  -g -O2   -o fc-cache  fc-cache.o
../src/libfontconfig.la 
mkdir .libs
gcc -g -O2 -o .libs/fc-cache fc-cache.o  ../src/.libs/libfontconfig.so
/usr/lib/libfreetype.so /usr/lib/libexpat.so -Wl,--rpath
-Wl,/users/rkinder/bin/gnome24//lib
../src/.libs/libfontconfig.so: undefined reference to `FT_Has_PS_Glyph_Names'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory
`/auto/nr-projects/software/src/gnome24/fontconfig/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/auto/nr-projects/software/src/gnome24/fontconfig'
make: *** [all] Error 2

Another symbol not present on redhat 7.3 systems?
Comment 2 Keith Packard 2003-06-26 01:20:31 UTC
Ok, I've added checks for yet more new FreeType symbols not available in the
ancient FreeType shipped with RedHat 7.3.  Thanks for your patience in testing
this particular configuration.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.