Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

problems with CPAN

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


aw at ice-sa

May 7, 2013, 12:32 AM

Post #1 of 2 (225 views)
Permalink
problems with CPAN

Hi.
I understand that this is not properly speaking a mod_perl issue, more like a perl/cpan
issue under Windows.
But before I go subscribe to a couple more lists, maybe someone on this list has a clue
and can help ?

I recently update perl on my venerable Windows XP laptop, from ActivePerl 5.8 to 5.16,
then reverted to 5.14, then finally switched to Strawberry Perl 5.16 :

perl -v :
This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread
...

The reason for these multiple switches was the difficulty in getting pre-compiled binary
modules for some of the versions above (including mod_perl).

Anyway, in the course of the above tribulations, I did encounter at some point the same
issue as below, and I wonder where the problem really is.
I am providing the full trace, but you can see the main issue in the last 10 lines : at
some point, there is a message like :

C:sperlperlbinperl.exe: not found

and after that nothing works anymore.
In this case, C:\sperl\perl\bin\perl.exe points to the installation directory of
StrawbwerryPerl v5.16.3. But I've seen the same issue before with ActivePerl installed, so
I presume that the real problem is somewhere in the CPAN modules themselves or in dmake or
in the make files. Looks like something is interpreting this path like a "string" instead
of a 'string', and unescaping the backslashes.
But I'm just a user of perl,and I don't really know how these things are supposed to work.
Does someone here know ?



C:\WINDOWS>cpan MIME::Lite
CPAN: CPAN::SQLite loaded ok (v0.202)
CPAN: LWP::UserAgent loaded ok (v6.04)
CPAN: Time::HiRes loaded ok (v1.9725)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
CPAN: YAML::XS loaded ok (v0.39)
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Creating database file ...
Done!Running install for module 'MIME::Lite'
Running make for R/RJ/RJBS/MIME-Lite-3.029.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/MIME-Lite-3.029.tar.gz
CPAN: Digest::SHA loaded ok (v5.84)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.06)
Checksum for C:\sperl\cpan\sources\authors\id\R\RJ\RJBS\MIME-Lite-3.029.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.90)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.83)

CPAN.pm: Building R/RJ/RJBS/MIME-Lite-3.029.tar.gz

MIME::Lite is designed to take advantage of a variety of external modules
if they are not present then MIME::Lite will attempt to do its best
but its strongly recommend that you install them.

These modules are:
MIME::Types
Mail::Address
I can add these modules to the prereq list which will cause the files to be
automatically installed if they aren't already present
Add prereqs? [Yes]
Checking if your kit is complete...
Looks good
Warning: prerequisite Email::Date::Format 1.000 not found.
Warning: prerequisite MIME::Types 1.28 not found.
Warning: prerequisite Mail::Address 1.62 not found.
Writing Makefile for MIME::Lite
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- RJBS/MIME-Lite-3.029.tar.gz ----
Email::Date::Format [requires]
Mail::Address [requires]
MIME::Types [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Email::Date::Format'
Running make for R/RJ/RJBS/Email-Date-Format-1.002.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/Email-Date-Format-1.002.tar.gz
Checksum for C:\sperl\cpan\sources\authors\id\R\RJ\RJBS\Email-Date-Format-1.002.tar.gz ok

CPAN.pm: Building R/RJ/RJBS/Email-Date-Format-1.002.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Email::Date::Format
Writing MYMETA.yml and MYMETA.json
C:sperlperlbinperl.exe: not found
dmake.exe: Error code 255, while making 'blib\lib\Email\Date\.exists'
RJBS/Email-Date-Format-1.002.tar.gz
C:\sperl\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Stopping: 'install' failed for 'Email::Date::Format'.

C:\WINDOWS>


Steve.Hay at verosoftware

May 7, 2013, 1:11 AM

Post #2 of 2 (206 views)
Permalink
RE: problems with CPAN [In reply to]

André Warnier wrote on 2013-05-07:
> Hi.
> I understand that this is not properly speaking a mod_perl issue, more
> like a perl/cpan issue under Windows.
> But before I go subscribe to a couple more lists, maybe someone on
> this list has a clue and can help ?
>
> I recently update perl on my venerable Windows XP laptop, from
> ActivePerl 5.8 to 5.16, then reverted to 5.14, then finally switched
> to Strawberry Perl 5.16 :
>
> perl -v :
> This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-
> x86-multi-thread ...
>
> The reason for these multiple switches was the difficulty in getting
> pre-compiled binary modules for some of the versions above (including
> mod_perl).
>
> Anyway, in the course of the above tribulations, I did encounter at
> some point the same issue as below, and I wonder where the problem
> really is.
> I am providing the full trace, but you can see the main issue in the
> last 10 lines : at some point, there is a message like :
>
> C:sperlperlbinperl.exe: not found
>
> and after that nothing works anymore.

Does it help if you find and delete your .cpan folder? (On XP it's probably somewhere like "C:\Documents and Settings\<USERNAME>\.cpan".) I've certainly seen problems switching between ActivePerl and StrawberryPerl without deleting the .cpan folder: if it exists already then they can just take over it and start using that, rather than using their own local one, and trip up on some of the settings being wrong for the different build flavour.

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.