[Fontconfig] RE: Specifying location of fontfiles in fonts.conf file.

Rupa Kamoji rkamoji at knightsindia.co.in
Thu Apr 13 00:44:01 PDT 2006


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-----
From: Patrick Lam [mailto:plam at MIT.EDU] 
Sent: Wednesday, April 12, 2006 7:08 PM
To: Rupa Kamoji
Cc: fontconfig at lists.freedesktop.org
Subject: Re: [Fontconfig] RE: Specifying location of fontfiles in
fonts.conf file.

 

Rupa Kamoji wrote:

 

> 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/Librar
ies/freetype-devel-2.0.1-4.i386.rpm.367769.html 

 

 

pat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/fontconfig/attachments/20060413/f0b4d43a/attachment.html


More information about the Fontconfig mailing list