From owner-freebsd-ports@FreeBSD.ORG Mon Apr 19 10:04:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC3DB16A4CE for ; Mon, 19 Apr 2004 10:04:38 -0700 (PDT) Received: from aphrodite.gwi.net (aphrodite.gwi.net [207.5.128.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCC143D39 for ; Mon, 19 Apr 2004 10:04:38 -0700 (PDT) (envelope-from ah54@harrisonfamily.com) Received: from andy (murdoc.gwi.net [207.5.142.8]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with SMTP id i3JH4Wtl049162; Mon, 19 Apr 2004 13:04:35 -0400 (EDT) (envelope-from ah54@harrisonfamily.com) Date: Mon, 19 Apr 2004 13:04:33 -0400 From: Andy Harrison To: Melvyn Sopacua Message-Id: <20040419130433.1692c8e3@andy> In-Reply-To: <200404171328.15139.ports@webteckies.org> References: <20040415111934.6c95d0a0@andy> <200404171328.15139.ports@webteckies.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-System-Info-OS: FreeBSD 4.9-RELEASE-p3 X-System-Info-httpd: apache-1.3.28 X-System-Info-WM: kde-3.2.1 X-System-Info-RT: rt-3-0-6 X-System-Info-DB: PostgreSQL-7.3.5 X-Homepage: http://www.nachoz.com X-PGP-Key: GnuPG http://www.nachoz.com/andy.pub Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: mod_perl installation and non-standard perl path X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 17:04:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Sat, 17 Apr 2004 13:28:14 +0200, Melvyn Sopacua wrote Subject: "Re: mod_perl installation and non-standard perl path" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In stead of doing all that manual work, why not set variables in make.conf? > The ones you're looking for, can be found by grepping 'PERL' > in /usr/ports/Mk/bsd.port.mk > Ok, these lines are in /etc/make.conf now: # grep PERL /etc/make.conf | grep '^[^#]' PERL_VER=5.8.2 PERL_VERSION=5.8.2 SITE_PERL=/usr/local/rt3/perl/lib/site_perl/${PERL_VER} PERL_ARCH=mach PERL5=/usr/local/rt3/perl/bin/perl PERL=/usr/local/rt3/perl/bin/perl NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo However, it doesn't even try to build now... # make Dependency error: you don't have the right version of perl in /usr/bin. *** Error code 1 Stop in /usr/ports/www/mod_perl. I monkeyed with my Makefile and added the variables there as well. # grep PERL Makefile | grep '^[^#]' MASTER_SITES= ${MASTER_SITE_PERL_CPAN} ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww PERL_VER=5.8.2 PERL_VERSION=5.8.2 SITE_PERL=/usr/local/rt3/perl/lib/site_perl/${PERL_VER} PERL= /usr/local/rt3/perl/bin/perl PERL5= /usr/local/rt3/perl/bin/perl FULLPERL= /usr/local/rt3/perl/bin/perl PERL_CONFIGURE= yes CONFIGURE_ARGS+= USE_APXS=1 EVERYTHING=1 INSTALLSITELIB=${SITE_PERL} \ MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl \ INSTALLSITEARCH=${SITE_PERL}/${PERL_ARCH} \ PERL_EXTRA_CFLAGS='-DDEFAULT_PATH="/usr/local/rt3/perl/bin" -DAPPLLIB_EXP="/usr/local/rt3/perl/lib/perl5/5.8.2/BSDPAN" -DMOD_PERL_PREFIX="/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd" -DDEFAULT_PATH="/usr/local/rt3/perl/bin"' I'd think that things like MOD_PERL_PREFIX would help, but it's not happening. > Also check if ldconfig lists libs in /usr/local/lib/perl5. > You will most probably still get conflicts having the old perl installation > around or at least the /usr/local/lib/perl5 tree. I checked, there isn't anything out of the ordinary there. - -- Andy Harrison Great Works Internet System Operations (full headers for details) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhAahCYaHi6DasBoRAkXJAKClD97CH+kZyysxvB2TJbs2Xxys1gCdG/YU dKrPpSXs4BTYJpxJd4irc5k= =cXIW -----END PGP SIGNATURE-----