Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2004 04:33:58 -0500
From:      Troy <troy@twisted.net>
To:        ports@FreeBSD.org
Subject:   RRDTool Port broken
Message-ID:  <20040409093358.GA3015@twisted.net>

next in thread | raw e-mail | index | archive | help
Just was trying to compile RRDTool from 1.0.45 to 1.0.47 on 4.9 Stable and received the following error. Any clues?

-Troy


cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/ExtUtils/xsubpp  -typemap /usr/libdata/perl/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c
cc -c -I../ -I.. -I../src -I../gd1.3 -DHAVE_CONFIG_H      -DVERSION=\"1.000471\"  -DXS_VERSION=\"1.000471\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE -DPERLPATCHLEVEL=5 RRDs.c
In file included from ../src/rrd_tool.h:24,
                 from RRDs.xs:13:
../config.h:164: warning: `PACKAGE' redefined
/usr/libdata/perl/5.00503/mach/CORE/perly.h:14: warning: this is the location of the previous definition
../config.h:191: warning: `VERSION' redefined
*Initialization*:1: warning: this is the location of the previous definition
RRDs.xs: In function `XS_RRDs_times':
RRDs.xs:363: warning: passing arg 1 of `Perl_sv_2mortal' makes pointer from integer without a cast
RRDs.xs:364: warning: passing arg 1 of `Perl_sv_2mortal' makes pointer from integer without a cast
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/RRDs
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
cc -o blib/arch/auto/RRDs/RRDs.so  -Wl,-E -shared -lperl -lm RRDs.o -L../src/.libs/ -lrrd_private -lpng -lz -lm
/usr/libexec/elf/ld: cannot find -lpng
*** Error code 1

Stop in /usr/ports/net/rrdtool/work/rrdtool-1.0.47/perl-shared.
*** Error code 1

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

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

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

Stop in /usr/ports/net/rrdtool.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade74979.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/rrdtool (rrdtool-1.0.45)  (linker error)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409093358.GA3015>