[rrd-users] 1.3.7 build

Tobias Oetiker tobi at oetiker.ch
Thu Apr 9 17:16:05 CEST 2009


Hi Nuno,

have a look at config.log this should make it obvious what is
happening here ... in genral it is best to user pkg-config and the
*.pc files supplied by all the libraries ...

cheers
tobi

Yesterday Nuno Gonçalves wrote:

> 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
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900


More information about the rrd-users mailing list