Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 19:33:15 +0200 (CEST)
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11030: INN port in 3.1-RELEASE broken wrt Perl 5
Message-ID:  <199904081733.TAA24209@hugo10.ka.punkt.de>

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

>Number:         11030
>Category:       ports
>Synopsis:       INN port gets confused about position of Perl binary
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  8 10:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Patrick M. Hausen
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
WEB Internet Services Systemhaus GmbH
>Environment:

	Virgin 3.1-RELEASE, INN port from ports collection as supplied

>Description:

	When installing INN either with or without Perl support,
	the build process finds /usr/bin/perl, gets the correct version,
	but looks for the libs in /usr/local/lib/perl5.00502 and
	inserts "#!/usr/local/bin/perl5.00502" in all the scripts.

	The port installs without perl support anyway, but all
	the auxiliary scripts like innmail don't work.

	With perl support the build fails completely.

>How-To-Repeat:

	install 3.1-RELEASE

	# cd /usr/ports/news/inn

	edit Makefile to set "USE_PERL5?=     DO"

	# make install

>Fix:
	
	I changed the config.data so I could install my new newsserver,
	but I'm not sure "how to do it right" [tm] ;-)

	There seems to be a lot of magic in there - I din't find
	where things like e.g. "!!USEPERL5VER!!" get expanded, so
	I hardcoded everything I needed to change.
	A better fix would be to change that "!!"-stuff so it get's
	expanded correctly.

	My changes for starters:

	_PATH_PERL              /usr/bin/perl!!USEPERL5VER!!
	PERL_LIB        -L/usr/libdata/perl/5.00502 -lperl -lm
	PERL_INC                -I/usr/libdata/perl/5.00502/mach/CORE

	BTW: Why is it "/usr/libdata/perl/5.00502/mach/CORE"?
	     Shouldn't that read "i386-freebsd" or something instead
	     of "mach"?

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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