I'm running FreeBSD here as well, and just upgraded to 5.6.1, and still have
the original installed perls there. But one of the questions was 'did I want
to retain backward compatibility with the others (5.0, 5.6 etc)' I said yes.
I presume it would have installed differently if I had said no.
Anyway- everything works fine? unless provoked, the latest Perl is used. I
guess it looks backwards if need be.

When installing - configuring - there is usually --prifix switches to allow
you to put stuff where you want it. Most times anyway.

Robert



----- Original Message -----
From: "Nick Tonkin" <[EMAIL PROTECTED]>
To: "Andrew Hurst" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 4:15 PM
Subject: Re: mod_perl's ease of installation and the list (was: Re: Problems
installing libapreq)


>
> On Fri, 17 Aug 2001, Andrew Hurst wrote:
>
> > On Thu, Aug 16, 2001 at 09:25:19PM -0700, Ask Bjoern Hansen wrote:
> > > On Thu, 16 Aug 2001, Nick Tonkin wrote:
> > >
> > > > ( In the absence of any better ideas at this time, I'm gonna nuke
> > > >   /usr/local/lib/perl5 completely and see what happens if I start
over
> > > >   again. )
> > >
> > > On FreeBSD, better do a new installation of perl somewhere else
> > > (/home/perl, /usr/local/perl/, ... whatever) and do all the mod_perl
> > > stuff with that (just use "/home/perl/bin/perl Makefile.PL" and
> > > "/home/perl/bin/perl -MCPAN -e shell" and so on later).
> >
> > In my experience, its better to stick with the FreeBSD installed perl.
> > I used to upgrade to perl 5.6.1 whenever cpan wanted to, but it created
> > too many problems, for one, it seems that FreeBSD installed libperl.so,
etc
> > to /usr/lib.  When I reinstalled perl, it would put them in
/user/local/lib.
> > I would also have a libperl.a in both of those directories.
> >
> > Furthurmore, after installing mod_perl (I think it was mod_perl that put
> > this there) I would have one in
> > /usr/local/lib/perl5/5.6.1/i386-freebsd/CORE/libperl.a
>
>
> Well, exactly. My point was that you have to be a sysadmin to make sense
> of all this. I just set up a new system, following all the READMEs and
> INSTALLs and the mod_perl Guide step-by-step for apache-mod_perl-mod_ssl,
> and wound up with the situation you described:
>
> from /usr/lib (presumably from the FreeBSD 5.005 installation):
> -r--r--r--  1 root  wheel  -     851006 Aug 11 23:21 libperl.a
>
> from /usr/local/lib/perl5/5.6.1/i386-freebsd/CORE:
> -r--r--r--  1 root  wheel  - 1184132 Aug 16 21:52 libperl.a
>
> (note that I completely deleted /usr/local/lib/perl5 manually before
> reinstalling Perl 6.6.1 by hand)
>
> Perhaps it is FreeBSD that is to blame, but whoever the culprit, I think
> it should be easier for simple Perl-mod_perl _users_ to get a system
> installed.
>
> >
> > Having these 3 versions really screwed things over, so when I tried to
> > install mod_perl, mod_php, and mod_ssl (latest versions) it would fail
> > with a Dynaloader.o undefined reference error.  After re-making world,
> > all works fine, and I'm not upgrading perl on this until freebsd wants
> > to again :)
> >
> > So in my opinion its much better to not even mess with upgrading perl
> > on FreeBSD, too many problems.  Though there might be a good way to do
> > it that I'm not aware of.
> >
> > -Andrew Hurst
>
>

Reply via email to