fontconfig install problem
Hi, I'm using Slack 8.1 with kernel 2.4.18 and I'm trying to install the fontconfig 2.0 package from source. The configure scripts runs and exits without mentioning any errors, but "make" fails with the following:
for d in src fc-cache fc-list fontconfig; do (cd $d && make all); done make[1]: Entering directory `/usr/local/src/fcpackage.2_0/fontconfig/src' cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I. -fPIC -DPIC -c fcatomic.c -o fcatomic.o In file included from fcint.h:39, fcatomic.c:46: ../fontconfig/fcfreetype.h:30: parse error before 'FcFreeTypeCharIndex' ../fontconfig/fcfreetype.h:30: parse error before 'face' ../fontconfig/fcfreetype.h:30: warning: data definition has no type or storage class ../fontconfig/fcfreetype.h:33: parse error before 'face' ../fontconfig/fcfreetype.h:36: parse error before 'FT_Face' ../fontconfig/fcfreetype.h:39: parse error before 'f' In file included from fcatomic.c:46: fcint.h:443: parse error before 'encoding' make[1]: *** [fcatomic.o] Error 1 make[1]: Leaving directory `/usr/local/src/fcpackage.2_0/fontconfig/src' make[1]: Entering directory/usr/local/src/fcpackage.2_0/fontconfig/fc-cache' cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I. -c -o fc-cache.o fc-cache.c cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I. -o fc-cache fc-cache.o -L../src -lfontconfig /usr/i-386-slackware-linux/bin/ld: cannot find -ldconfig collect 2: ld returned 1 exit status make[1]: *** [fc-cache] Error 1 make[1]: Leaving directory `/usr/local/src/fcpackage.2_0/fontconfig/fc-cache' make[1]: Entering directory `/usr/local/src/fcpackage.2_0/fontconfig/fc-list' cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I. -c -o fc-list.o fc-list.c cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I. -o fc-list fc-list.o -L../src -lfontconfig /usr/i-386-slackware-linux/bin/ld: cannot find -ldconfig collect 2: ld returned 1 exit status make[1]: *** [fc-cache] Error 1 make[1]: Leaving directory `/usr/local/src/fcpackage.2_0/fontconfig/fc-list' make[1]: Entering directory `/usr/local/src/fcpackage.2_0/fontconfig/fontconfig' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/fcpackage.2_0/fontconfig/fontconfig' rm -f fonts.conf sh ./setfontdirs /usr/share/fonts /usr/X11/lib/X11/fonts I've tapped my linux savvy trying to solve this and my knowledge of C is minimal. Anyone have any suggestions??? Thanks in advance |
Just in case anyone has similar problems the solution (for me) was to install freetype-2.1.3. I had 1.3 before.
|
All times are GMT -5. The time now is 07:05 AM. |