LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2008, 11:35 AM   #1
liulangstar
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
trouble with install fontconfig


config.status: config.h is unchanged
config.status: executing depfiles commands
[root@192 fontconfig-2.5.93]# echo $?
0
[root@192 fontconfig-2.5.93]# make;make install
make all-recursive
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93'
Making all in fontconfig
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fontconfig'
Making all in fc-case
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-case'
make all-am
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-case'
Making all in fc-lang
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make all-am
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-lang'
Making all in fc-glyphname
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make all-am
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
Making all in fc-arch
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make all-am
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-arch'
Making all in src
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/src'
make all-am
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/src'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/src'
Making all in fc-cache
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-cache'
/bin/sh ../libtool --tag=CC --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 `FT_Select_Size'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93'
make: *** [all] Error 2
Making install in fontconfig
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fontconfig'
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fontconfig'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/fontconfig" || mkdir -p -- "/usr/include/fontconfig"
/usr/bin/install -c -m 644 'fontconfig.h' '/usr/include/fontconfig/fontconfig.h'
/usr/bin/install -c -m 644 'fcfreetype.h' '/usr/include/fontconfig/fcfreetype.h'
/usr/bin/install -c -m 644 'fcprivate.h' '/usr/include/fontconfig/fcprivate.h'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fontconfig'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fontconfig'
Making install in fc-case
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-case'
make install-am
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-case'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-case'
Making install in fc-lang
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make install-am
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-lang'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-lang'
Making install in fc-glyphname
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make install-am
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-glyphname'
Making install in fc-arch
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make install-am
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-arch'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-arch'
Making install in src
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/src'
make install-am
make[2]: Entering directory `/home/lukai/fontconfig-2.5.93/src'
make[3]: Entering directory `/home/lukai/fontconfig-2.5.93/src'
test -z "/usr/lib" || mkdir -p -- "/usr/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libfontconfig.la' '/usr/lib/libfontconfig.la'
/usr/bin/install -c .libs/libfontconfig.so.1.3.0 /usr/lib/libfontconfig.so.1.3.0
(cd /usr/lib && { ln -s -f libfontconfig.so.1.3.0 libfontconfig.so.1 || { rm -f libfontconfig.so.1 && ln -s libfontconfig.so.1.3.0 libfontconfig.so.1; }; })
(cd /usr/lib && { ln -s -f libfontconfig.so.1.3.0 libfontconfig.so || { rm -f libfontconfig.so && ln -s libfontconfig.so.1.3.0 libfontconfig.so; }; })
/usr/bin/install -c .libs/libfontconfig.lai /usr/lib/libfontconfig.la
/usr/bin/install -c .libs/libfontconfig.a /usr/lib/libfontconfig.a
chmod 644 /usr/lib/libfontconfig.a
ranlib /usr/lib/libfontconfig.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lukai/fontconfig-2.5.93/src'
make[2]: Leaving directory `/home/lukai/fontconfig-2.5.93/src'
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/src'
Making install in fc-cache
make[1]: Entering directory `/home/lukai/fontconfig-2.5.93/fc-cache'
/bin/sh ../libtool --tag=CC --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 `FT_Select_Size'
collect2: ld returned 1 exit status
make[1]: *** [fc-cache] Error 1
make[1]: Leaving directory `/home/lukai/fontconfig-2.5.93/fc-cache'
make: *** [install-recursive] Error 1
[root@192 fontconfig-2.5.93]# echo $?
2
[root@192 fontconfig-2.5.93]#

who know what this means?thks
 
Old 05-28-2008, 02:57 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Fontconfig expects FreeType to provide FT_Select_Size and your FreeTtype isn't. It means the version of FreeType you have installed is either too old or too new for FontConfig-2.5.93 or your FreeType is broken.

BTW, if you're going to string commands use && instead of ;. The && prevents the next command from executing if the previous command exits with other than a 0 exit code. In this case you've installed an incomplete fontconfig by using ;. Of course you're also configuring and compiling as root which is unnecessary.
 
Old 05-29-2008, 10:52 AM   #3
liulangstar
LQ Newbie
 
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
ok,thanks
just the problem
 
Old 12-06-2008, 05:18 PM   #4
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 92

Rep: Reputation: 17
This thread helped me too
 
Old 05-10-2012, 06:07 AM   #5
mamay
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
me too. In my case freetype update was required. Just downloaded source, compiled and done.
 
  


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 Trouble RaVeN-dX Linux - Desktop 2 10-31-2006 11:49 AM
installing GTK, tough fontconfig trouble jagerhans Linux - Software 3 04-06-2006 08:59 AM
Help trying to install fontconfig-2.2.90 EOHooligan Linux - Software 3 01-02-2005 05:55 PM
Can't install fontconfig-2.2.92 causticmtl Slackware 13 08-16-2004 09:26 AM


All times are GMT -5. The time now is 05:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration