I am trying to compile 1.3.7 for Openwrt.<br>I had it working up to 1.2.30, but I could never compile 1.3.0<br><br>configure complaints about a bunch of stuff, starting with the "cairo":<br>I'm using cairo 1.8.6, but I don't believe it's a version problem, because it's failing for pango and libxml2<br>
<br>This files exist:<br><br>/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.a<br>/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/<a href="http://libcairo.la">libcairo.la</a><br>/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so<br>
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so.2<br>/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so.2.10800.6<br><br>As it is included in LDFLAGS, why isn't configure finding the library?<br>
<br>----------------------------------------------------------------------------<br>* I could not find a working copy of cairo-png. Check config.log for hints on why<br> this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately<br>
so that compiler and the linker can find libcairo and its header files. If<br> you have not installed cairo-png, you can get it either from its original home on<br><br> <a href="http://cairographics.org/releases/">http://cairographics.org/releases/</a><br>
<br> You can find also find an archive copy on<br><br> <a href="http://oss.oetiker.ch/rrdtool/pub/libs">http://oss.oetiker.ch/rrdtool/pub/libs</a><br><br> The last tested version of cairo-png is 1.4.6.<br><br> LIBS=-lm -lnotimpl -lcairo -lpng12 <br>
LDFLAGS=-L/home/nuno/Desktop/8.09/staging_dir/toolchain-mipsel_gcc4.1.2/lib -L/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib -L/home/nuno/Desktop/8.09/staging_dir/mipsel/lib -L/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//lib <br>
CPPFLAGS=-I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/include -I/home/nuno/Desktop/8.09/staging_dir/mipsel/include -I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//include/cairo -I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//include/libpng12 -I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//include/pixman-1 -I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//include/freetype2 -I/home/nuno/Desktop/8.09/staging_dir/mipsel/usr//include <br>
<br>----------------------------------------------------------------------------<br><br clear="all"><br>
<br>
Thanks, <br>Nuno<br>