Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / December 2006



Tip: Looking for answers? Try searching our database.

need help with module install

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kirk Wythers - 26 Dec 2006 18:50 GMT
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.
Jonas B. Nielsen - 26 Dec 2006 19:13 GMT
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

> I have tried two ways to get the DBI and Cate::Calc modules to  
> install on a OS X Server system (10.4.8).
[quoted text clipped - 18 lines]
>
> Any suggestions would be very much appreicated.
Kirk Wythers - 26 Dec 2006 19:17 GMT
> Hi,
>
> Which one of the modules fail? or is it both?

Hi Jonas. I get same error for any module I try and build.

> Does the directory exist?
>  /Library/Perl/5.8.6/darwin-thread-multi-2level

Yes... but it is a file, not a directory (which puzzles me to no end)

> jonasbn
>
[quoted text clipped - 20 lines]
>>
>> Any suggestions would be very much appreicated.
Jonas B . Nielsen - 26 Dec 2006 19:33 GMT
Uh,

What kind of file?

could you do a:

file  /Library/Perl/5.8.6/darwin-thread-multi-2level

Using the file command

jonasbn

>> Hi,
>>
[quoted text clipped - 31 lines]
>>>
>>> Any suggestions would be very much appreicated.
Kirk Wythers - 26 Dec 2006 19:39 GMT
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?

> Hi,
>
[quoted text clipped - 27 lines]
>>
>> Any suggestions would be very much appreicated.
Jonas B. Nielsen - 26 Dec 2006 20:01 GMT
Hi,

Looks like an installation screw-up by PDFlib.

Where did you get you PDFlib installation from? - it should be  
reported to the distributors so it can be fixed.

I have used a PDFlib from: http://www.pdflib.com/ before, had to use  
older versions though

jonasbn

> I don't know if I broke anything important but...
>
[quoted text clipped - 78 lines]
>>>
>>> Any suggestions would be very much appreicated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.