Installing Xorg-7.2 using latest BLFS svn book on top of  LFS-6.3. All 
other xorg-libs have installed with no problems.  The configure error is:

"Package requirements (fontconfig >= 2.2) were not met:

No package 'fontconfig' found

Consider adjusting the PKG_CONFIG_PATH environment variableif you 
installed software in a non-standard prefix. [of course the BLFS 
standard is prefix=/usr]

Alternatively, you may set the envrionment variables FONTCONFIG_CFLAGS 
and FONTCONFIG_LIBS to avoid the need to call pkg-config."


$PKG_CONFIG_PATH=/usr/bin/pkg-config:/usr/lib/pkgconfig:/usr/share:/usr/include

Since all other xorg libraries installed with no problem I was at a 
loss.  I used a script, based on the book and the wiki, to automate the 
build.  This library kept failing.  Finally I used the following commands:

export FONTCONFIG_CFLAGS=/usr/include/fontconfig
export FONTCONFIG_LIBS=/usr/lib
./configure $XORG_CONFIG

and it configured, made and installed successfully. I'm glad, but also 
confused.  I didn't even get any "me too's" when I googled and found 
nothing similar in the archives.  Therefore, I'm assuming that it was 
something I did or overlooked.

Can anyone see anything I missed?  Is there a "hack" to any of the 
libXlt files that would "work?"  If this could be a problem for others, 
I would be more than happy to document this in the wiki, but I don't 
want to document something that affected only me.

Thanks,
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to