LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-26-2004, 07:05 AM   #1
xonner
LQ Newbie
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
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) :

/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



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.

Last edited by xonner; 04-26-2004 at 07:16 AM.
 
Old 04-27-2004, 01:40 AM   #2
daedius
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
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*
 
Old 04-28-2004, 11:13 PM   #3
tMwtMP
LQ Newbie
 
Registered: Apr 2004
Distribution: LFS
Posts: 4

Rep: Reputation: 0
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.
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




--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

Last edited by tMwtMP; 04-29-2004 at 01:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fontconfig problem arsham Linux - Software 4 08-07-2005 12:43 PM
fontconfig install problem pasalacqua128 Linux - Software 1 11-28-2004 04:58 PM
Problem with fontconfig. Tsukasa Linux - Software 0 05-08-2004 06:13 PM
fontconfig-2.2.93 install problem HighTechMan Linux - Software 0 04-19-2004 04:42 PM
fontconfig install problem hejduk Linux - Software 1 03-22-2003 04:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration