Subject: pkg/12686: rrdtool 1.0.28 fails to build on NetBSD-1.4.3A/i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@runit.no>
List: netbsd-bugs
Date: 04/17/2001 22:56:47
>Number:         12686
>Category:       pkg
>Synopsis:       rrdtool 1.0.28 fails to build on NetBSD-1.4.3A/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 17 13:58:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        1.4.3A
>Organization:
	RUNIT AS
>Environment:
System: NetBSD vader.runit.sintef.no 1.4.3A NetBSD 1.4.3A (VADER) #0: Tue Apr 17 15:45:54 MEST 2001 he@vader.runit.sintef.no:/usr/src/sys/arch/i386/compile/VADER i386


>Description:
	the rrdtool package, version 1.0.28 fails to build on
NetBSD-1.4.3A/i386 because the two subdirectories

	perl-pipe
and
	perl-shared

make (indirect?) references to -lXpm, while the construction of the
shared object does not include the appropriate -L/usr/X11R6/lib
directive.

>How-To-Repeat:
	Try to build package on stated platform.

>Fix:
	Sorry, this is too much of a spaghetti to figure out;
I manually modified the perl-generated Makefiles in the above two
mentioned directories and pushed the build to completion that way.
(There are lots of "RRS text relocation" error messages, though; I
suspect some linked code (libcgi.a) didn't get compiled -fPIC.)
>Release-Note:
>Audit-Trail:
>Unformatted: