P5-PathTools-3.09 and p5-File-Temp-0.16_2 installation problems
Adri Koppes
adrik at salesmanager.nl
Mon Jul 11 14:30:37 GMT 2005
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
More information about the freebsd-perl
mailing list