Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Need advice on CPAN install please...

by jdtoronto (Prior)
on Mar 15, 2007 at 21:10 UTC ( #605067=perlquestion: print w/ replies, xml ) Need Help??
jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:

Esteemed monks,

I have been trying to install Data::Ical using CPAN because it is not in the current ActiveState PPM repository. Using PPM I have made sure I have all the dependencies installed, then I run the CPAN install and this is what I get.

CPAN.pm: Going to build J/JE/JESSE/Data-ICal-0.13.tar.gz *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.47) - Test::Warn ...loaded. (0.08) - Test::NoWarnings ...loaded. (0.083) - Test::LongString ...loaded. (0.09) - Class::Accessor ...loaded. (0.22) - Text::vFile::asData ...loaded. (0.05) - MIME::QuotedPrint ...loaded. (3.07) - Class::ReturnValue ...loaded. (0.53) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Data::ICal Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp lib/Data/ICal/Entry/FreeBusy.pm blib\lib\Data\ICal\Entry\FreeBusy.p +m cp lib/Data/ICal/Entry/TimeZone.pm blib\lib\Data\ICal\Entry\TimeZone.p +m cp lib/Data/ICal/Entry/Alarm/Display.pm blib\lib\Data\ICal\Entry\Alarm +\Display.pm cp lib/Data/ICal/Entry/TimeZone/Standard.pm blib\lib\Data\ICal\Entry\T +imeZone\Standard.pm cp lib/Data/ICal/Entry.pm blib\lib\Data\ICal\Entry.pm cp lib/Data/ICal/Entry/Alarm/Procedure.pm blib\lib\Data\ICal\Entry\Ala +rm\Procedure.pm cp lib/Data/ICal/Entry/TimeZone/Daylight.pm blib\lib\Data\ICal\Entry\T +imeZone\Daylight.pm cp lib/Data/ICal/Entry/Alarm/Email.pm blib\lib\Data\ICal\Entry\Alarm\E +mail.pm cp lib/Data/ICal/Entry/Alarm/Audio.pm blib\lib\Data\ICal\Entry\Alarm\A +udio.pm cp lib/Data/ICal/Entry/Journal.pm blib\lib\Data\ICal\Entry\Journal.pm cp lib/Data/ICal/Property.pm blib\lib\Data\ICal\Property.pm cp lib/Data/ICal/Entry/Event.pm blib\lib\Data\ICal\Entry\Event.pm cp lib/Data/ICal.pm blib\lib\Data\ICal.pm cp lib/Data/ICal/Entry/Todo.pm blib\lib\Data\ICal\Entry\Todo.pm Undefined subroutine &main::UpdateHTML_blib called at -e line 1. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0xff' Stop. nmake -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible cpan>
Sadly, I have no clue what is going on here, can anybody offer any advice about how to get this to work? If that is possible of course!

jdtoronto

Comment on Need advice on CPAN install please...
Download Code
Re: Need advice on CPAN install please...
by blahblahblah (Priest) on Mar 15, 2007 at 21:17 UTC
      Thanks blahblahblah but that is a ppm3 repository and I am using PPM4. I already have the Kobes PPM4 repository in my systems, it does not appear to be available there.

      jdtoronto

Re: Need advice on CPAN install please...
by marto (Chancellor) on Mar 15, 2007 at 21:31 UTC
      Thanks marto,

      Wow, do you have the entire CPAN as PPMs? PPM4 said "Don't know how to unpack ... " the zip file. So I tried it with PPM3 and got:

      C:\Documents and Settings\johnday.MERCURY>ppm3 install http://trouchel +le.com/ppm/Data-ICal.ppd error: can't parse <?xml version="1.0" encoding="UTF-8"? <SOFTPKG NAME="Data-ICal" VERSION="0,13,0,0" <TITLE>Data-ICal</TITLE <ABSTRACT>Generates iCalendar (RFC 2445) calendar files</ABSTRACT <AUTHOR>Jesse Vincent &lt;jesse@bestpractical.com&gt;</AUTHOR <IMPLEMENTATION <DEPENDENCY NAME="Class-ReturnValue" VERSION="0,0,0,0" / <DEPENDENCY NAME="Class-Accessor" VERSION="0,0,0,0" / <DEPENDENCY NAME="MIME-Base64" VERSION="0,0,0,0" / <DEPENDENCY NAME="Text-vFile-asData" VERSION="0,0,0,0" / <OS NAME="MSWin32" / <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" / <CODEBASE HREF="MSWin32-x86-multi-thread-5.8/Data-ICal-0.13.zip" / <PROVIDE NAME="Data::ICal" VERSION="0.13" / <PROVIDE NAME="Data::ICal::Entry" / <PROVIDE NAME="Data::ICal::Entry::Alarm::Audio" / <PROVIDE NAME="Data::ICal::Entry::Alarm::Display" / <PROVIDE NAME="Data::ICal::Entry::Alarm::Email" / <PROVIDE NAME="Data::ICal::Entry::Alarm::Procedure" / <PROVIDE NAME="Data::ICal::Entry::Event" / <PROVIDE NAME="Data::ICal::Entry::FreeBusy" / <PROVIDE NAME="Data::ICal::Entry::Journal" / <PROVIDE NAME="Data::ICal::Entry::TimeZone" / <PROVIDE NAME="Data::ICal::Entry::TimeZone::Daylight" / <PROVIDE NAME="Data::ICal::Entry::TimeZone::Standard" / <PROVIDE NAME="Data::ICal::Entry::Todo" / <PROVIDE NAME="Data::ICal::Property" VERSION="0.06" / </IMPLEMENTATION </SOFTPKG : unclosed token at line 1, column 0, byte 0 at C:/Perl/site/lib/XML/Par +ser.pm line 187
      But I downloaded the zip file, and I am sure I can do a manual install tomorrow if necessary.

      jdtoronto

      UPDATED: Now I see why, you support PPM4 at build 820! I am on 819.

        Hi jdtoronto,

        None of this stuff is mine, this is Serguei Trocuhelle's PPM repository. I doubt that anyone has the entire CPAN in a ppm repository since there is a percentage of the modules which are not intended for use on a Win32 platform. Did you look at PPM::Repositories?

        "PPM::Repositories - a list of all known ppm package repositories"

        Also you may want to look at http://win32.perl.org/, you may be interested in CamelPack which is the ActiveState Build plus a C compiler and make. I use Strawberry Perl at home (work is a Solaris shop mostly).

        Hope this helps.

        Martin
        You should update to build 820, because 819 cannot handle zip packages. If you don't want to for some reasons, you can just unzip this package, and move contents of blib\lib to perl\site\lib, and html to perl\html. But I really recommend to upgrade to build 820, it has a lot of fixed PPM4 issues. Serguei Trouchelle.
Re: Need advice on CPAN install please...
by Anonymous Monk on Mar 16, 2007 at 08:12 UTC
Re: Need advice on CPAN install please...
by Anonymous Monk on Mar 16, 2007 at 08:21 UTC
    #11906 Look at the error message! Look at the error message!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://605067]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2014-09-17 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (74 votes), past polls