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

Re^4: A Guide to Installing Modules

by tachyon (Chancellor)
on Jul 30, 2004 at 16:42 UTC ( [id://378746]=note: print w/replies, xml ) Need Help??


in reply to Re^3: A Guide to Installing Modules
in thread A Guide to Installing Modules

I don't know why Enum.pm installed in the wrong location, actually I am almost certain it did not. The module you are installing is enum.pm not Enum.pm for a start. Did you do the nmake install? When I do it this is what it says.....

[snip, following the tests we do.....] C:\enum-1.016>nmake install Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Skipping D:\Perl\site\lib\enum.pm (unchanged) Writing D:\Perl\site\lib\auto\enum\.packlist Appending installation info to D:\Perl\lib/perllocal.pod C:\enum-1.016>

So you can see where it goes. You can just cut and paste the enum.pm module to \perl\site\lib\enum.pm and it will work but I am certain you forgot the install step as on my system there is enum.pm as noted and Enum.pm in Win32\OLE\Enum.pm :-)

Don't know why you don't have Win32::API if you have ActiveState Perl (you did say you were using ppm). cl is the M$ C compiler and you do need it to compile source that contains C. I have a tutorial on setting that up as well but you need access to MSVCC. However Win32::API is available as a ppm so all you need to do is:

C:\>ppm install Win32::API Installing package 'Win32-API'... Downloading http://ppm.ActiveState.com/PPMPackages/5.6plus/MSWin32-x86 +-multi-thread/Win32-API-0.41.tar.gz ...

cheers

tachyon

Replies are listed 'Best First'.
Re^5: A Guide to Installing Modules
by wfsp (Abbot) on Jul 30, 2004 at 17:53 UTC
    Phew! I've installed a module from CPAN and used it to dialup a connection!

    I was sure that Re: Installing Perl on a Windows PC was wrong. Now I'm not so sure. As soon as I get under the bonnet it's like a big black hole.

    I did notice this though:

    C:\Win32-RASE-1.01>nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl 1..6 ok 1 not ok 2 ok 3 ok 4 ok 5 not ok 6
    Is it safe to ignore?

    Many thanks for your help
    btw, I thought your black hole looked a bit white!

      Is it safe to ignore?

      The test come from test.pl in the root dir or t/test_name.t In this case they are from test.pl. Have a look at test.pl, read the tests, see what they are trying to test, decide if that matters to you. If it does fix the source.

      cheers

      tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://378746]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found