[Fontconfig] fontconfig, Xft, and SPARC/Solaris 7 ???

Rolf Sponsel Rolf.Sponsel at kstr.lth.se
Thu Apr 17 12:17:15 EST 2003


* Plattform is: SPARC/Solaris 7, gcc-3.2.2, freetype-2.1.2 *

Hi,

This might be a stupid question, but from what
I understod when reading fontconfig.org Xft(2.0)
is now a separate archive/package to fontconfig,
hence I've been searching for it for several hours
now without finding it anywhere, and thus I have
to ask; please, where can I find it?



I've also tried to compile the fontconfig-2.1.94
bundle, unfortunately without any success.

I have freetype-2.1.2 installed and in the LD_LIBRARY_PATH,
i.e. /usr/local/lib/
			libfreetype.a
			libfreetype.la
			libfreetype.so
			libfreetype.so.6
			libfreetype.so.6.3.1
			libfrtbegin.a


./configure	- seems to execute successfully
make		- unfortunately fails with the following
		  error message (see below (1))

		  (if I create a symbolic link
		   named 'freetype' and pointing
		   to 'freetype2/freetype' in
		   /usr/local/include and re-make,
		   then I manage to get further
		   but fail later on with an
		   'ld: fatal: Symbol referencing error ...'
		   ( see below (2))



1). first attempt to compile after running ./configure

host(4)# make

make  all-recursive

Making all in fontconfig

Making all in fc-lang

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src     -g -O2 -c fc-lang.c

In file included from ../src/fcint.h:39,

                 from fc-lang.c:25:

../fontconfig/fcfreetype.h:27:31: freetype/freetype.h: No such file or
directory

In file included from ../src/fcint.h:39,

                 from fc-lang.c:25:

../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 "face"

../fontconfig/fcfreetype.h:39: parse error before "FT_Face"

../fontconfig/fcfreetype.h:42: parse error before "f"

In file included from fc-lang.c:25:

../src/fcint.h:496: parse error before "encoding"

*** Error code 1

make: Fatal error: Command failed for target `fc-lang.o'

Current working directory /tmp/fctest/fc-lang

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /tmp/fctest

*** Error code 1

make: Fatal error: Command failed for target `all-recursive-am'

host(5)#



2). when re-making after having created a link named freetype
    pointing to freetype2/freetype in /usr/local/include
    I get this error:

host(4)# make
[...SNIP...]
Making all in fc-cache

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c fc-cache.c

/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/local/lib/libexpat.so -L/usr/local/lib -L/usr/lib
-L/usr/openwin/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib

Undefined                       first referenced

 symbol                             in file

FT_Get_Sfnt_Table                   ../src/.libs/libfontconfig.so

FT_Init_FreeType                    ../src/.libs/libfontconfig.so

FT_Select_Charmap                   ../src/.libs/libfontconfig.so

FT_Done_FreeType                    ../src/.libs/libfontconfig.so

FT_Done_Face                        ../src/.libs/libfontconfig.so

FT_Get_Sfnt_Name_Count              ../src/.libs/libfontconfig.so

FT_Load_Glyph                       ../src/.libs/libfontconfig.so

FT_Get_Char_Index                   ../src/.libs/libfontconfig.so

FT_New_Face                         ../src/.libs/libfontconfig.so

FT_Get_PS_Font_Info                 ../src/.libs/libfontconfig.so

FT_Get_Sfnt_Name                    ../src/.libs/libfontconfig.so

FT_Get_Next_Char                    ../src/.libs/libfontconfig.so

ld: fatal: Symbol referencing errors. No output written to
.libs/fc-cache

collect2: ld returned 1 exit status

*** Error code 1

make: Fatal error: Command failed for target `fc-cache'

Current working directory /tmp/fctest/fc-cache

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /tmp/fctest

*** Error code 1

make: Fatal error: Command failed for target `all-recursive-am'

host(5)# 



The reason for all these my needs is that GTK+2.2/Pango
claims fonconfig and Xft being a prerequisite when building,
and I guess I'll be stuck with this until I have overcome this,
my little(?), obstacle.


Thus, any help with this would be highly appreciated.


Kind Regards

-- 
----
------
--------

Rolf Sponsel

___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_




More information about the Fontconfig mailing list