[rrd-users] 1.3.7 build
Nuno Gonçalves
nunojpg at gmail.com
Thu Apr 9 00:26:47 CEST 2009
I am trying to compile 1.3.7 for Openwrt.
I had it working up to 1.2.30, but I could never compile 1.3.0
configure complaints about a bunch of stuff, starting with the "cairo":
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
This files exist:
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.a
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.la
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so.2
/home/nuno/Desktop/8.09/staging_dir/mipsel/usr/lib/libcairo.so.2.10800.6
As it is included in LDFLAGS, why isn't configure finding the library?
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. Check config.log for hints
on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-png, you can get it either from its original
home on
http://cairographics.org/releases/
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
The last tested version of cairo-png is 1.4.6.
LIBS=-lm -lnotimpl -lcairo -lpng12
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
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
----------------------------------------------------------------------------
Thanks,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090408/27165a5b/attachment-0001.html
More information about the rrd-users
mailing list