Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 23:56:46 +0200 (CEST)
From:      Krzysztof Stryjek <wtp+rrdtool@bsdguru.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65645: problem with compiling rrdtool on FreeBSD STABLE
Message-ID:  <20040416215646.D5C0B263DB@kryptos.mud.pl>
Resent-Message-ID: <200404162200.i3GM0f8f045593@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



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