Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 13:04:33 -0400
From:      Andy Harrison <ah54@harrisonfamily.com>
To:        Melvyn Sopacua <ports@webteckies.org>
Cc:        ports@freebsd.org
Subject:   Re: mod_perl installation and non-standard perl path
Message-ID:  <20040419130433.1692c8e3@andy>
In-Reply-To: <200404171328.15139.ports@webteckies.org>
References:  <20040415111934.6c95d0a0@andy> <200404171328.15139.ports@webteckies.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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