LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2003, 10:06 PM   #1
hejduk
Member
 
Registered: Mar 2002
Location: Canada
Distribution: Slak 8.0
Posts: 39

Rep: Reputation: 15
Unhappy 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
 
Old 03-22-2003, 03:06 PM   #2
hejduk
Member
 
Registered: Mar 2002
Location: Canada
Distribution: Slak 8.0
Posts: 39

Original Poster
Rep: Reputation: 15
Just in case anyone has similar problems the solution (for me) was to install freetype-2.1.3. I had 1.3 before.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help trying to install fontconfig-2.2.90 EOHooligan Linux - Software 3 01-02-2005 05:55 PM
fontconfig install problem pasalacqua128 Linux - Software 1 11-28-2004 03:58 PM
Can't install fontconfig-2.2.92 causticmtl Slackware 13 08-16-2004 09:26 AM
Another problem........fontconfig-2.2.2 / fontconfig-2.2.94 xonner Linux - Software 2 04-28-2004 10:13 PM
fontconfig-2.2.93 install problem HighTechMan Linux - Software 0 04-19-2004 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration