For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2006 > CPAN Install Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CPAN Install Problem
Wilky

2006-05-31, 7:00 pm

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

Paul Lalli

2006-05-31, 7:00 pm

Wilky wrote:
> 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.'


<snip>

> 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 -- NOT OK


<snip>

> cpan> o conf

<snip>
> make C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\BIN\nmake.EXE



Try enclosing this value in quotes:
from your CPAN shell:
o conf make "C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN\nmake.EXE"

(all on one line, regardless of how the above came out...)

Paul Lalli

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com