[rrd-developers] failure to find libpng/zlib within perl-shared/perl-piped

D. Walsh info at daleenterprise.com
Sat Jul 23 19:13:46 MEST 2005


I've been building rrdtool 1.0.49 and 1.0.50 (only because I can  
build without having to install any dependancies) on Mac OSX.

An issue occurs when building rrdtool and the local libpng/zlib are  
in a non-standard location and specifying the path doesn't seem to be  
passed off to the sub process of building the perl stuff with the
--with-perl-options=LDFLAGS="/usr/local/php/lib" attribute.

I previously looked at 1.2.1 but dumped it in favor of the older  
versions which builds out of the box without obtaining any additional  
dependent software.

When the newer version starts building without complaining about  
something missing I'll start using it and hopefully the path issue  
will be corrected.

What I've done for now is edited the configure file to patch the  
Makefile with a simple static patch command to add my additional  
search path until you come up with a proper solution.

patch -p1 << X
diff -ru rrdtool-1.0.50/perl-shared/Makefile.PL.in rrdtool-1.0.50.dw/ 
perl-shared/Makefile.PL.in
--- rrdtool-1.0.50/perl-shared/Makefile.PL.in Wed Apr  7 17:04:53 2004
+++ rrdtool-1.0.50.dw/perl-shared/Makefile.PL.in Wed Jul  6 18:10:41  
2005
@@ -4,7 +4,7 @@
  # the contents of the Makefile that is written.

  # Specify the location of the archive containing PIC compiled  
object files.
-my \$librrd = "-L../src/.libs/ @RRD_PRIVATE_LINK@"  ;
+my \$librrd = "-L../src/.libs/ -L/usr/local/php/lib  
@RRD_PRIVATE_LINK@"  ;

  WriteMakefile(
      'NAME'         => 'RRDs',
X

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list