On 5/24/05, Bill Burns <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I've never compiled rrdtool before but I followed the directions on
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdbuild.en.html.
> 

Hi Bill,

I recently had the same problem.  I don't know about a Mac, but on
Solaris, the key was Tobi's comment near the bottom:
  IR=-I$BUILD_DIR/lb/include
  CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
  LDFLAGS="-L$BUILD_DIR/lb/lib"
  CFLAGS=-O3
  export CPPFLAGS LDFLAGS CFLAGS

I had to modify the LDFLAGS to:
  LDFLAGS="-L$BUILD_DIR/lb/lib -R/usr/local/lib"

So I guess it depends on where things are failing... if during
compile, it should be the CPPFLAGS, during linking should be the
LDFLAGS.

Again, sorry if I'm off base re the Mac.

Take care,
Kennedy

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to