LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Another problem........fontconfig-2.2.2 / fontconfig-2.2.94 (http://www.linuxquestions.org/questions/linux-software-2/another-problem-fontconfig-2-2-2-fontconfig-2-2-94-a-174646/)

xonner 04-26-2004 06:05 AM

Another problem........fontconfig-2.2.2 / fontconfig-2.2.94
 
Ok, here i come with another of my one million errors found just trying to install gtk+2.4.0, and still can't do it. Ok now says it needs fontconfig >= 2.1.0. I ran fontconfig-2.2.2 configure script with the options --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man, no problems. I ran make, no problems! Now make install came up with this strange error (this one i've never seen):eek: :

/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts": caching, 0 fonts, 0 dirs
/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs
/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": /home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: relocation error: /home/xonner/fontconfig-2.2.2/src/.libs/libfontconfig.so.1: undefined symbol: FT_Get_BDF_Property
make[2]: *** [install-data-local] Error 127
make[2]: Leaving directory `/home/xonner/fontconfig-2.2.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/xonner/fontconfig-2.2.2'
make: *** [install-recursive] Error 1

Yes, yes i ran make install as root of course! Now, i tried the fontconfig-2.2.94, the configure script with the same options as 2.2.2, no problemo!! Now the make...tchanaaaannn:

/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
../src/.libs/libfontconfig.so: undefined reference to `MAX'
../src/.libs/libfontconfig.so: undefined reference to `ABS'
../src/.libs/libfontconfig.so: undefined reference to `MIN'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/home/xonner/fontconfig-2.2.94/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xonner/fontconfig-2.2.94'
make: *** [all] Error 2

:confused::confused::confused::confused::confused:

Ok, i'm really getting a little bit bored with all this errors. I'm starting to think that gtk, fontconfig, Xft and all this stuff just don't like me at all hehehe. Well is it just me, or can i really do something to finally put this to work?!! I will be very very glad if someone can help.

daedius 04-27-2004 12:40 AM

Have faith!
 
I think i'm in the exact same position as you are. This quest to install GTK 2.4 has been an interesting one. Learned so much, frustrated so much. i'm wondering if maybe I need to update my GCC maybe?

Ah well.. It will be sweet in the end when I can run Gimp 2 ;P *droolz*

tMwtMP 04-28-2004 10:13 PM

Re: Another problem........fontconfig-2.2.2 / fontconfig-2.2.94
 
Well hello, i too have been on the quest to install the Gimp2
and have done a lot of compiling, recompiling and fiddling about in conf files.

Quote:

Originally posted by xonner
/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts": caching, 0 fonts, 0 dirs
/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs
/home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": /home/xonner/fontconfig-2.2.2/fc-cache/.libs/lt-fc-cache: relocation error: /home/xonner/fontconfig-2.2.2/src/.libs/libfontconfig.so.1: undefined symbol: FT_Get_BDF_Property
make[2]: *** [install-data-local] Error 127
make[2]: Leaving directory `/home/xonner/fontconfig-2.2.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/xonner/fontconfig-2.2.2'
make: *** [install-recursive] Error 1
Ahh yes this probably means the version of freetype the configure script is using
is too old.

fontconfig-2.2.2 needs freetype 2.1.4 or higher and expat 1.95.3 or higher.

Note the formulation 'is using' because what is probably happening (this was happening on my system too) is that the configure script is finding the old versions
of freetype and expat that are included in X11R6.
Frankly i think thats a huge load of bullcrap. :mad:
I recompiled huge amount of packages in the attempt of removing the dependecy
of my system on that old bloat.

Hopefully you can avoid this by redirecting the configure script to the proper locations
with options --with-expat=DIR and
--with-freetype-config=PROG


Beware before you decide to remove the X11R6 freetype and expat libs.
Removing those thoroughly from the system is a royal pain is the ass as most
of your packages are probably dependent on them.

Quote:

Originally posted by xonner
/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
../src/.libs/libfontconfig.so: undefined reference to `MAX'
../src/.libs/libfontconfig.so: undefined reference to `ABS'
../src/.libs/libfontconfig.so: undefined reference to `MIN'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/home/xonner/fontconfig-2.2.94/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xonner/fontconfig-2.2.94'
make: *** [all] Error 2
This is exactly what im geting when i try to compile fontconfig-2.2.94.
This is how i found this thread.
I have come to the conclusion that 2.2.94 isn't really usable at the moment.
It's probably better to try 2.2.2

So finally i can try to finish compiling the Gimp2
Hope i could help :D




--UPDATE--

Gimp 2.0.1 finished compiling.
There was another small error that had to do with some
header file not being found.

freetype/config/ftheader.h: No such file or directory

this was solved by linking
freetype-2.1.8/include/freetype2/freetype

to

freetype-2.1.8/include/freetype

After that the compile went smootly


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