I don't know if I broke anything important but...
mv /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6/
darwin-thread-multi-2level.old
then re-running install module_name from the cpan prompt worked.
the /Library/Perl/5.8.6/darwin-thread-multi-2level directory was
created and all the modules I installed were placed there. The old
file with the same name contain text related to pdf stuff....
# $Id: pdflib_pl.pm,v 1.19 2004/04/19 16:07:27 rjs Exp $
package pdflib_pl;
require Exporter;
require DynaLoader;
$VERSION=6.0;
@ISA = qw(Exporter DynaLoader);
package pdflibc;
bootstrap pdflib_pl;
var_pdflib_init();
@EXPORT = qw( );
# ---------- BASE METHODS -------------
package pdflib_pl;
sub TIEHASH {
my ($classname,$obj) = @_;
return bless $obj, $classname;
}
sub CLEAR { }
sub this {
my $ptr = shift;
return tied(%$ptr);
}
# ------- FUNCTION WRAPPERS --------
package pdflib_pl;
*PDF_activate_item = *pdflibc::PDF_activate_item;
*PDF_add_bookmark = *pdflibc::PDF_add_bookmark;
*PDF_add_launchlink = *pdflibc::PDF_add_launchlink;
*PDF_add_locallink = *pdflibc::PDF_add_locallink;
*PDF_add_nameddest = *pdflibc::PDF_add_nameddest;
etc.....
Any ideas what this is?
On Dec 26, 2006, at 1:13 PM, Jonas B. Nielsen wrote:
Hi,
Which one of the modules fail? or is it both?
Does the directory exist?
/Library/Perl/5.8.6/darwin-thread-multi-2level
jonasbn
On 26/12/2006, at 19.50, Kirk Wythers wrote:
I have tried two ways to get the DBI and Cate::Calc modules to
install on a OS X Server system (10.4.8).
I have tried downloading the module and running the:
perl Makefile.PL
make
make test
sudo make install
and
using the cpan prompt
sudo perl -MCPAN -e shell
install module_name
I get the same error each time:
mkdir /Library/Perl/5.8.6/darwin-thread-multi-2level: File exists
at /System/Library/Perl/5.8.6/ExtUtils/Install.pm line 112
Any suggestions would be very much appreicated.