Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 22:25:50 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Peter Elsner <peter@sri-software.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Perl and OpenWebMail question...
Message-ID:  <20031107222550.GA58934@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <6.0.0.22.2.20031107155408.01b58678@mail.sri-software.com>
References:  <6.0.0.22.2.20031107155408.01b58678@mail.sri-software.com>

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

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 07, 2003 at 04:03:12PM -0600, Peter Elsner wrote:
> Hi list...
>=20
> I've been using OpenWebMail with Perl 5.8.0 for some time now.  Recently=
=20
> updated ports
> using port upgrade, and now my Perl version is 5.8.1.
>=20
> chuck:root # perl -v
>=20
> This is perl, v5.8.1 built for i386-freebsd
>=20
> --snip--
>=20
> chuck:root #
>=20
> After that, OpenWebMail stopped working... I noticed also that my=20
> portupgrade updated
> OpenWebMail as well, (it was 2.10 and is now 2.20).  Okay, I thought no=
=20
> problem, I'll
> just do a "make deinstall" and "make reinstall".   But it fails with the=
=20
> following error message
> each and every time...

You need to run

    # use.perl port

again.  What's happening is that your /etc/make.conf file still
contains the PERL_VERSION as 5.8.0, which causes any perl modules to
be installed into a directory outside the usual @INC path.  Plus if
fixes up some other locations where the perl version is referenced.

Running perl -e 'print join( "\n", @INC ), "\n";' should return a list
of directories with the version string 5.8.1 in them:

    % perl -e 'print join( "\n", @INC ), "\n";'
    /usr/local/lib/perl5/site_perl/5.8.1/mach
    /usr/local/lib/perl5/site_perl/5.8.1
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/5.8.1/BSDPAN
    /usr/local/lib/perl5/5.8.1/mach
    /usr/local/lib/perl5/5.8.1
    .

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/rBvudtESqEQa7a0RAjBYAJ9RDNOXJI0aIFwfDKwUe8bmQgKWrwCfbj0L
OzeTBChKhwS31KWqzFSYq5c=
=iMES
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--



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