View Single Post
Old 02-25-2009, 12:10 PM   #70
DesiLinguist
Computational Linguist
DesiLinguist doesn't litterDesiLinguist doesn't litter
 
Posts: 110
Karma: 100
Join Date: Feb 2009
Device: iLiad BE, iPhone, Kindle DX
fontconfig issues when compiling ipdf

OK, so I took Eric's suggestion for setting up the toolchain myself and everything (starting up the virtual machine, setting the target to 'iliad-dev' etc.) went absolutely fine until I tried compiling ipdf. During the 'configure' pass, I get the following error:

Code:
checking for fontconfig >= 2.2... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
However, I looked in /usr/local/lib/pkgconfig (which is the default value of PKG_CONFIG_PATH) and there *is* a fontconfig.pc there. What's more surprising is that pkg-config *does* seem aware of fontconfig. If I manually run all the tests that 'configure' seems to be running:

Code:
$> pkg-config --exists "fontconfig >= 2.2"
$> echo $?
0
$> pkg-config --libs "fontconfig >= 2.2"
-L/usr/local/lib -lfontconfig
$> pkg-config --cflags "fontconfig >= 2.2"
-I/usr/local/include
you can see that everything checks out fine. So, I would really appreciate any help or advice here since I am stumped and don't know what to do.

Last edited by DesiLinguist; 02-25-2009 at 12:15 PM.
DesiLinguist is offline   Reply With Quote