FreeBSD Port: rrdtool-1.2.23

Brian E. Conklin bconklin at masongeneral.com
Mon May 14 14:58:39 UTC 2007


There seems to be a problem with rrdtool 1.2.23 when compiling on various
versions of FreeBSD if ruby 1.8 is installed. There has been a bit of chatter
in newsgroups about this. I am including the tail of the output from one of
my servers making the attempt to compile hoping it will help find the
solution. Thanks.

<===Begin Snip===>
Making all in bindings
gmake[2]: Entering directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[3]: Entering directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
cd perl-piped && /usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for RRDp
cd perl-piped && gmake
gmake[4]: Entering directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-piped'
cp RRDp.pm blib/lib/RRDp.pm
Manifying blib/man3/RRDp.3
gmake[4]: Leaving directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-piped'
cd perl-shared && /usr/bin/perl Makefile.PL   RPATH=/usr/local/lib
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && gmake
gmake[4]: Entering directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-shared'
cp RRDs.pm blib/lib/RRDs.pm
cp ntmake.pl blib/lib/ntmake.pl
/usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv
RRDs.xsc RRDs.c
cc -c  -I../../src -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -O2 -fno-strict-aliasing
-pipe   -DVERSION=\"1.2023\" -DXS_VERSION=\"1.2023\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DPERLPATCHLEVEL=8 RRDs.c
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
rm -f blib/arch/auto/RRDs/RRDs.so
cc  -shared  -L/usr/local/lib RRDs.o -L../../src/.libs/  -lrrd -lm -o
blib/arch/auto/RRDs/RRDs.so       \
                \

chmod 755 blib/arch/auto/RRDs/RRDs.so
cp RRDs.bs blib/arch/auto/RRDs/RRDs.bs
chmod 644 blib/arch/auto/RRDs/RRDs.bs
Manifying blib/man3/RRDs.3
gmake[4]: Leaving directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-shared'
cd ruby && /usr/local/bin/ruby extconf.rb && gmake EPREFIX=/usr/local
sitedir=/usr/local/lib/ruby
checking for rrd_create() in -lrrd... yes
creating Makefile
gmake[4]: Entering directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/ruby'
Makefile:144: Commands were specified for file `RRD.so' at Makefile:114,
Makefile:144: but `RRD.so' is now considered the same file as
`/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so'.
Makefile:144: Commands for `/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so'
will be ignored in favor of those for `RRD.so'.
gmake[4]: Circular /usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so <-
/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so dependency dropped.
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. -I../../src  -fPIC -O2
-fno-strict-aliasing -pipe    -fPIC  -c main.c
/usr/bin/install -c -o root -g wheel -m 0755 RRD.so
/usr/local/lib/ruby/1.8/i386-freebsd6
install: RRD.so: No such file or directory
gmake[4]: *** [/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so] Error 71
gmake[4]: Leaving directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/ruby'
gmake[3]: *** [ruby] Error 2
gmake[3]: Leaving directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/rrdtool.
*** Error code 1

Stop in /usr/ports/net/rrdtool.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.12882.96 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=rrdtool-1.2.19_1 UPGRADE_PORT_VER=1.2.19_1 make
** Fix the problem and try again.
--->  Skipping 'mail/mailgraph' (mailgraph-1.13) because a requisite package
'rrdtool-1.2.19_1' (net/rrdtool) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
        ! net/rrdtool (rrdtool-1.2.19_1)        (install error)
        * mail/mailgraph (mailgraph-1.13)
--->  Packages processed: 0 done, 142 ignored, 1 skipped and 1 failed
mx2#

<===End Snip===>

Brian E. Conklin, MCP+I, MCSE
Director of Information Services
voice: 360.427.3423
fax: 360.427.3433


More information about the freebsd-ports mailing list