Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Installing modules on Win32

by cik_ail (Initiate)
on Feb 25, 2005 at 03:06 UTC ( [id://434349]=note: print w/replies, xml ) Need Help??


in reply to Installing modules on Win32

Having same problem here, but i've managed to pass the

perl Makefile.Pl


Oh yeah, i'm trying to install Crypt::Rijndael module
But then, when i came across the nmake I've got these
C:\Documents and Settings\Wassup>cd Desktop\Crypt-Rijndael-0.05 C:\Documents and Settings\Wassup\Desktop\Crypt-Rijndael-0.05>perl Make +file.PL Checking if your kit is complete... Looks good Writing Makefile for Crypt::Rijndael C:\Documents and Settings\Wassup\Desktop\Crypt-Rijndael-0.05>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Rijndael.pm blib\lib\Crypt\Rijndael.pm cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_I +MPLICIT_SY S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION +=\"0.04\" -DXS_VERSION=\"0.04\" "-IC:\Perl\lib\CORE" _rijndael.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop.

Then when i just ignore it, i got these when using nmake test
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_I +MPLICIT_SY S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION +=\"0.04\" -DXS_VERSION=\"0.04\" "-IC:\Perl\lib\CORE" _rijndael.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop.

So, you can conclude that i can't install it then..

But, i can install certain other module.. do help

Replies are listed 'Best First'.
Re^2: Installing modules on Win32
by holli (Abbot) on Feb 25, 2005 at 03:22 UTC
    use ppm to install the module, hence fetch a precompiled version. Crypt-Rijndael is available from several repositories.
    Type help rep in the ppm-shell to find out how to add a repository to your ppm.
    ppm> search Crypt-Rijndael Searching in Active Repositories 1. Crypt-Rijndael [0.04] 2. Crypt-Rijndael [0.04] Crypt::CBC compliant Rijndael encryption mo +dule 3. Crypt-Rijndael [0.04] Crypt::CBC compliant Rijndael encryption mo +dule 4. Crypt-Rijndael [0.04] ppm> desc 1 ==================== Package 1: Name: Crypt-Rijndael Version: 0.04 Author: Title: Crypt-Rijndael Abstract: Location: soulcage58 Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ==================== ppm> desc 2 ==================== Package 2: Name: Crypt-Rijndael Version: 0.04 Author: Rafael R. Sevilla <sevillar@team.ph.inter.net> Title: Crypt-Rijndael Abstract: compliant Rijndael encryption module Location: theoryS Available Platforms: 1. MSWin32-x86-multi-thread ==================== ppm> desc 3 ==================== Package 3: Name: Crypt-Rijndael Version: 0.04 Author: Rafael R. Sevilla <sevillar@team.ph.inter.net> Title: Crypt-Rijndael Abstract: compliant Rijndael encryption module Location: theory58S Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ==================== ppm> desc 4 ==================== Package 4: Name: Crypt-Rijndael Version: 0.04 Author: Title: Crypt-Rijndael Abstract: Location: soulcage Available Platforms: 1. MSWin32-x86-multi-thread ==================== ppm>


    holli, /regexed monk/
      Thanx.. But other than ppm, can there be other way to download.. Because, I could not connect to the repository.. My place (the university i'm using) couldnt pass through..
        Three possibilities:
        • I assume you are behind a proxy. Try to set the HTTP_proxy, HTTP_proxy_user and HTTP_proxy_pass environment variables. Then use ppm again:
          $ set http_proxy=http://xxx.xxx.xxx.x:yyyy $ set http_proxy_user=username $ set http_proxy_pass=password

          where x is the ip-address of the proxy, and y the port.

        • Surf to the repository and download the PPD-file. Open it with a text-editor. Identify the line that says <CODEBASE HREF="x86/Convert-ASN1-0.14-PPM.tar.gz" />. Download that tar.gz-file. Put both files in a directory, the tarball must be saved relative to the ppd as stated in the ppd (here ./x86). Add that directory as a repository to ppm.
          ppm> rep add local /path/to/ppd
          Then install the module with ppm.

        • Download only the tarball, extract it and copy the files to appropriate places in the perl library tree.


        Here are the locations of the repositories. I forgot them last night. The list is different, because I am at work now.
        ppm> rep Repositories: [ 1] kv [ 2] ActiveState Package Repository [ 3] ActiveState PPM2 Repository [ 4] apache [ 5] theory [ 6] CRAZY [ 7] BRIBE [ 8] perlxml [ 9] crazy58 [10] datetime [11] soulcage58 [12] sablot [13] bribes [14] jenda [15] theory58S [16] esoft [17] theory58 [18] savage [19] openi [20] roth ppm> rep desc 11 Describing Active Repository 11: Name: soulcage58 Location: http://www.soulcage.net/ppds.58/ Type: Webpage ppm> rep desc 15 Describing Active Repository 15: Name: theory58S Location: http://theoryx5.uwinnipeg.ca/ppms Type: Webpage ppm>


        holli, /regexed monk/

Log In?
Username:
Password:

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

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

    No recent polls found