develooper Front page | perl.macperl.modules | Postings from November 2002

Re: [MacPerl-Modules] module install error message

Thread Previous
From:
Thomas Wegner
Date:
November 13, 2002 04:21
Subject:
Re: [MacPerl-Modules] module install error message
Message ID:
p04320401b9f7e2f752ff@[149.225.16.34]
At 18:02 Uhr -0800 12.11.2002, Teresa Ortega wrote:
>I've been trying to install the latest version on libwww so that I can use
>ParallelUserAgent.  I have never installed a module before.  I tried using
>the installme droplet and I have also checked to see if there is anything
>wrong with the module that would prevent me from installing it.    Would
>anyone be able to help me figure out what I'm doing wrong?  My hard drive is
>named "Basket", and this is the error message I get:
>
># Can't do :Makefile.PL in Basket:Applications (Mac OS 9):MacPerl
>Folder:Droplets:libwww-perl-5.65::
># No Basket:Applications (Mac OS 9):MacPerl
>Folder:Droplets:libwww-perl-5.65: package data, <STDIN> line 7.
>File 'Basket:Applications (Mac OS 9):MacPerl Folder:lib:Mac:BuildTools.pm';
>Line 28
>
>Thanks
>Teresa


Hi Teresa,

first of all, all the libwww modules (LWP et al.) are part of the 
MacPerl 5.6.1r1 distribution. However, the version is only at 5.63.

To install a new module, using the installme.plx droplet is generally 
the correct way. But you are right, there is a compatibility problem 
while installing the libwww library on Mac OS.

For now, the following should work. Just say 'No', when the installer 
script asks for the creation of GET, HEAD and POST aliases. This did 
the trick for me.

     Do you want to install the GET alias? [y] n
     Do you want to install the HEAD alias? [y] n
     Do you want to install the POST alias? [y] n


PLEASE NOTE:
This will install all the libwww modules in your ":site_perl:" 
folder, while the orginal files remain unchanged in the ":lib:" 
folder. So you end up with two versions of the same module installed, 
and this may be dangerous. But for now, there is no elegant solution 
to this problem, I am aware of. So you might want to remove the 
original files from the ":lib:" folder by hand (!). Please be 
careful. (I suggest you carefully watch which new files are installed 
in the ":site_perl:" folder, and then remove the corresponding files 
in the ":lib:" folder. At your own risk, of course. ;-) Sorry for the 
inconvenience.

If you don't want to remove the old module files, this should work 
too. Just make sure, that the ":site_perl:" folder is searched first 
in the library preference settings. Otherwise, MacPerl might use the 
old version from the ":lib:" folder. So, this little script should 
give you 5.65 as a result, not 5.63.

#! perl -w

use LWP;

print "version= ", $LWP::VERSION, "\n";

__END__



HTH,

Thomas

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About