Hello, I have installed freetype 2.1.10 on my machine at the location $CAM_HOME/bin/freetype Then I configured fontconfig as below. ../fontconfig-2.2.96/configure --prefix=$CAM_HOME/bin/fc
--with-add-fonts=$CAM_HOME/fontfiles --with-freetype-config=$CAM_HOME/bin/freetype/bin/freetype-config Now I am compiling fontconfig. I am getting following error. make[2]: Entering directory
`/LinuxDisk/usr/home/rkamoji/TEMP/fc_linux/fc-cache' /bin/sh ../libtool --mode=link gcc -g -O2 -o
fc-cache fc-cache.o ../src/libfontconfig.la gcc -g -O2 -o .libs/fc-cache fc-cache.o
../src/.libs/libfontconfig.so -Wl,--rpath
-Wl,/LinuxDisk/usr/home/rkamoji/Aladdin/output/linux/bin/fc/lib /usr/lib/libfreetype.so.6: undefined
reference to `atexit' collect2: ld returned 1 exit status make[2]: *** [fc-cache] Error 1 make[2]: Leaving directory
`/LinuxDisk/usr/home/rkamoji/TEMP/fc_linux/fc-cache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/LinuxDisk/usr/home/rkamoji/TEMP/fc_linux' make: *** [all] Error 2 Can you please tell me where could be the problem? Thanks and Regards, Rupa. -----Original Message----- > Configuration of my linux system is as below: > > > > XFree86 : 4.5.0 (latest version). > > OS: Redhat 7.1 > > > > When I installed XFree86 : 4.5.0, fontconfig, freetype and xft all
were > installed by XFree86 only. Where should I keep fontconfig source
code? > How can I make freetype and other required libs/includes available
to > fontconfig? XFree86 4.5.0 is far from being the latest version; it was released in March 2005. And you're using an ancient fontconfig and RedHat
version. But anyway, you have to install the freetype-devel package: http://dir.filewatcher.com/d/RedHat/7.1/i386/System%20Environment/Libraries/freetype-devel-2.0.1-4.i386.rpm.367769.html
pat |
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig