ports/65645: problem with compiling rrdtool on FreeBSD STABLE

Krzysztof Stryjek wtp+rrdtool at bsdguru.org
Fri Apr 16 22:00:43 UTC 2004


>Number:         65645
>Category:       ports
>Synopsis:       problem with compiling rrdtool on FreeBSD STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 15:00:40 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
private
>Environment:
System1:
	FreeBSD host1 4.9-STABLE FreeBSD 4.9-STABLE #3: Tue Dec 16 00:57:08 CET 2003     root at host1:/usr/obj/usr/src/sys/FIREWALL  i386
	perl -v : This is perl, v5.8.2 built for i386-freebsd

	ls /var/db/pkg | grep XFree
		XFree86-clients-4.3.0_7
		XFree86-libraries-4.3.0_6

System2:
	FreeBSD pc11.lan.wtp3.org 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #0: Thu Apr 15 14:19:22 CEST 2004 toor at pc11.lan.wtp3.org:/usr/obj/usr/src/sys/FIREWALL  i386

	perl -v : This is perl, version 5.005_03 built for i386-freebsd

	ls /var/db/pkg | grep XFree
		<empty result>

	LibPNG is installed on both systems.

>Description:
	When I was trying to compile rrdtool on system1 (portupgrade) it was
OK. Compiled and reinstalled without problems.

	When I was setting new server and I was trying to compile rrdtool on
system2, then it stopped with errors. The message was, that:

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

	You can find logs from make at this URL: http://www.bsdguru.org/~wtp/rrdtool/

>How-To-Repeat:
	On system, which is fresh installed (STABLE) just:
	cd $PORTS/net/rrdtool && make all

>Fix:

	Well, I don't know correct fix, but I've made a work around. You have
find $WRKSRC/perl-shared/Makefile.PL and add '-L/usr/local/lib in line 7 (my
$librrd).

	Well. I don't know why rrdtool compiled without problem on System1:
because of freshest PERL? Because of XFree?

Greetings from Poland
Krzysztof Stryjek <wtp (at) bsdguru.org>

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list