Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 16:30:32 +0200
From:      "Adri Koppes" <adrik@salesmanager.nl>
To:        <perl@FreeBSD.org>
Cc:        clsung@FreeBSD.org
Subject:   P5-PathTools-3.09 and p5-File-Temp-0.16_2 installation problems
Message-ID:  <CE801F9B7EC9514483E599C74702777D4412@ntserver4.salesmanager.nl>

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

Due to the recent changes to and rename at CPAN of these modules, I had
to install those on a standard FreeBSD 5.4 i386 system with perl 5.8.6
installed via the ports collection.
The perl 5.8.6 port already contains the modules File::Temp and
File::Spec, so the previous ports of p5-File-Temp and p5-File-Spec would
never install these, since this was tested in the ports Makefile using
.IGNORE.

The new p5-File-Temp-0.16_2 port always installs, even when the older
p5-File-Temp-0.16 module as part of the base perl 5.8.6 installation is
still present and doesn't remove these either.
The same happens with the File::Spec module when the new
p5-PathTools-3.09 is installed.

The biggest problem with both new ports is however that it will install
the modules in the WRONG LOCATION!
Instead of installing the modules under
/usr/local/lib/perl5/site_perl/5.8.6, the files get copied directly
under /usr/local/lib!!!
So the final installation creates files and directories like
/usr/local/lib/Cwd.pm, /usr/local/lib/auto, /usr/local/lib/File,
/usr/local/lib/File/Temp, /usr/local/lib/File/Spec,
/usr/local/lib/File/Temp/Temp.pm etc.

This clearly seems like an error and when uninstalling the ports using
pkg_delete, pkg_delete complains about non-existing files and
directories, since it can no find
/usr/local/lib/perl5/site_perl/5.8.6/File/Temp/Temp.pm etc.

Is there an error in the ports of these 2 modules (and possibly other
modules)?

Best regards,

Adri Koppes



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