Subject: pkg/7348: squid building depends on perl
To: None <gnats-bugs@gnats.netbsd.org, rhialto@polder.ubc.kun.nl>
From: None <rhialto@polder.ubc.kun.nl>
List: netbsd-bugs
Date: 04/09/1999 14:27:15
>Number:         7348
>Category:       pkg
>Synopsis:       squid building depends on perl.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr  9 05:35:00 1999
>Last-Modified:
>Originator:     Rhialto
>Organization:
	
>Release:        1.3.3
>Environment:
	
System: NetBSD ijmeer 1.3.3 NetBSD 1.3.3 (ROUTER) #2: Thu Apr 8 16:48:55 CEST 1999 root@ijmeer:/usr/src/sys/arch/i386/compile/ROUTER i386


>Description:
	
	Building the www/squid package is documented not to depend on
	other packages:

	<p>
	This package requires the following package(s) to build:
	<I>(none)</I>

	but in fact it depends on perl. Even stranger, it thinks
	perl is in /usr/local/bin/perl, which is definitely not true
	on this installation (since it is not installed at all).

# make
...
checking for perl... /usr/local/bin/perl
...
cc -O -I. -I../include -I../include   -c forward.c
cc -O -I. -I../include -I../include   -c fqdncache.c
cc -O -I. -I../include -I../include   -c ftp.c
/usr/local/bin/perl ./mk-globals-c.pl < ./globals.h > globals.c
/usr/local/bin/perl: not found
*** Error code 127

>How-To-Repeat:
	
	cd /usr/src/pkgsgrc/www/squid && make
>Fix:
	
	Add dependency on perl in the package. I hope it will find it then
	in the correct location.
>Audit-Trail:
>Unformatted: