When trying to install CPAN bundle, I get this error:
'C:\Program' is not recognized as an internal or external command, operable program or batch file.'
 
Please see below for partial output from the end of the install, and my config.
 
Looks like it is trying to run the nmake test.  Looks like nmake test is trying to run a program it can't find.  Please help.  Thanks
 
Writing libnet.cfg
Writing Makefile for Net
 
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.
 
cp Net/POP3.pm blib\lib\Net\POP3.pm
cp Net/libnetFAQ.pod blib\lib\Net\libnetFAQ.pod
cp Net/Config.pm blib\lib\Net\Config.pm
cp Net/Domain.pm blib\lib\Net\Domain.pm
cp Net/SMTP.pm blib\lib\Net\SMTP.pm
cp Net/Time.pm blib\lib\Net\Time.pm
cp Net/NNTP.pm blib\lib\Net\NNTP.pm
cp Net/Cmd.pm blib\lib\Net\Cmd.pm
cp Net/Netrc.pm blib\lib\Net\Netrc.pm
cp Net/FTP/L.pm blib\lib\Net\FTP\L.pm
cp Net/FTP/dataconn.pm blib\lib\Net\FTP\dataconn.pm
cp Net/FTP.pm blib\lib\Net\FTP.pm
cp Net/FTP/E.pm blib\lib\Net\FTP\E.pm
cp Net/FTP/A.pm blib\lib\Net\FTP\A.pm
cp Net/FTP/I.pm blib\lib\Net\FTP\I.pm
cp libnet.cfg blib\lib\Net/libnet.cfg
  C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\nmake.EXE  -- OK
Running make test
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
  C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\nmake.EXE test -- N
OT OK
Running make install
  make test had returned bad status, won't install without force
 
cpan> o conf
CPAN::Config options from C:/Perl/lib/CPAN/Config.pm:
    commit             Commit changes to disk
    defaults           Reload defaults from disk
    init               Interactive setting of all options
 
    build_cache        10
    build_dir          H:\.cpan\build
    cache_metadata     1
    cpan_home          H:\.cpan
    dontload_hash
    ftp                C:\WINDOWS\system32\ftp.EXE
    ftp_proxy
    getcwd             cwd
    gzip               c:\gzip\bin\gzip.exe
    http_proxy         http://proxy.statestr.com
    inactivity_timeout 0
    index_expire       1
    inhibit_startup_message 0
    keep_source_where  H:\.cpan\sources
    lynx
    make               C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BI
N\nmake.EXE
    make_arg
    make_install_arg
    makepl_arg
    ncftp
    ncftpget
    no_proxy
    pager              C:\WINDOWS\system32\more.COM
    prerequisites_policy ask
    proxy_user
    scan_cache         atstart
    shell              cmd
    tar
    term_is_latin      1
    unzip              c:\gzip\bin\gunzip.exe
    urllist
        ftp://ftp.osuosl.org/pub/CPAN/
    wait_list
        wait://ls6.informatik.uni-dortmund.de:1404
    wget
 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Rychlik
Sent: Wednesday, May 31, 2006 10:03 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [email protected]
Subject: RE: copying chunks

That’s exactly what I need.  I found it in my book as well…

 

Thanks!

 

-Dan

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 8:23 AM
To: Daniel Rychlik
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: copying chunks

 


From the Camel book:

read FILEHANDLE, SCALAR, LENGTH, OFFSET
read FILEHANDLE, SCALAR, LENGTH

...attempts to read LENGTH bytes of data into variable SCALAR from the specified FILEHANDLE.

Page 202 of 2nd Edition.

HTH,

Deane


 

"Daniel Rychlik" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

05/31/2006 07:42 AM

       
        To:        <[email protected]>
        cc:        
        Subject:        copying chunks




Good Wednesday Morning,
 
Is their a way in perl to break a file a part into separate chunks, write the chunk to the hard disk, and then copy up the next chunk of data; keep repeating all the chunks until the file is complete?
 
Dan_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to