[rrd-developers] What is the difference between enable-perl-site-install and --with-perl-options

Mulley, Nikhil Nikhil.Mulley at deshaw.com
Fri Nov 25 05:34:28 MET 2005


Hello All

As in the subject, could somebody (Tobi ?) please point me to the
resolution for the below
I have used both the options/cases and found that they are not working
for me.

 A)

me at server:/var/tmp/rrdbuild/SunOS.5.sparc/rrdtool-1.2.11> env CC=cc
 CFLAGS="-fast -fsimple=0 -xarch=v8plusa" CPPFLAGS="-I/usr/local/include
 -I/usr/local/include/libart-2.0 -I/usr/local/include/freetype2"
 LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib/studio-10.0
 -R/usr/local/lib/studio-10.0 -lsunmath" ./configure
 --x-include=/usr/openwin/include --x-libraries=/usr/openwin/lib
 --with-tcllib=/usr/local/tcl/lib --enable-shared --disable-python
 --enable-perl-site-install

 B)

me at server:/var/tmp/rrdbuild/SunOS.5.sparc/rrdtool-1.2.11> env CC=cc
 CFLAGS="-fast -fsimple=0 -xarch=v8plusa" CPPFLAGS="-I/usr/local/include
 -I/usr/local/include/libart-2.0 -I/usr/local/include/freetype2"
 LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib/studio-10.0
 -R/usr/local/lib/studio-10.0 -lsunmath" ./configure
 --x-include=/usr/openwin/include --x-libraries=/usr/openwin/lib
 --with-tcllib=/usr/local/tcl/lib --enable-shared --disable-python
 --with-perl-options="PREFIX=/usr/local/rrdtool-1.2.11
 LIB=/usr/local/lib/perl5/site_perl/5.8.6"

 Please see the difference that I used --enable-site-perl-site-install
in
 A) and --with-perl-options in B).
 When I used A), I see that the librrd.so is not being linked properly
 and when I run a sample script say stripes.pl

me at server>ldd ./bindings/perl-shared/blib/arch/auto/RRDs/RRDs.so
         librrd.so.2 =>   (file not found)
         libm.so.1 =>     /usr/lib/libm.so.1
         libc.so.1 =>     /usr/lib/libc.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1

 However, when I use B) I see that RRDs.so is getting properly linked
 with librrd.so and is running properly. I am not sure entirely but
there could be some changes needed to be made to configure script I
guess.

Could someone please do the needful.

 Regards,
 Nikhil


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