Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in installing IO::Prompts module

Status
Not open for further replies.

mjaco

Technical User
Apr 29, 2007
3
US
Hi

I am trying to install IO:prompt module using CPAN shell on Windows xp machine. I am getting the following error message. Could you help me to fix this problem

Thanks in advance.

Here is the detail

cpan[1]> install IO::prompt
CPAN: Storable loaded ok (v2.15)
Going to read C:\Perl\cpan\Metadata
Database was generated on Sun, 29 Apr 2007 11:10:38 GMT
CPAN: YAML loaded ok (v0.62)
Going to read C:\Perl/cpan/build/
............................................................................DONE

Found 2 old builds, restored the state of 2
Running install for module 'IO::prompt'
Running make for D/DC/DCONWAY/IO-Prompt-v0.99.4.tar.gz
Has already been unwrapped into directory C:\Perl\cpan\build\IO-Prompt-v0.99.4
-S806Aj
Has already been made
Running make test

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/00.load.........
t/00.load.........NOK 1/1# Failed test 'use IO::prompt;'
# at t/00.load.t line 4.
# Tried to use 'IO::prompt'.
# Error: Can't locate Want.pm in @INC (@INC contains: C:\Perl\cpan\build\IO
-Prompt-v0.99.4-S806Aj\blib\lib C:\Perl\cpan\build\IO-Prompt-v0.99.4-S806Aj\blib
\arch C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\
cpan\build\IO-Prompt-v0.99.4-S806Aj\blib\lib/IO/Prompt.pm line 193.
# BEGIN failed--compilation aborted at t/00.load.t line 4.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Use of uninitialized value in concatenation (.) or string at t/00.load.t line 7.

# Testing IO::prompt
# Looks like you failed 1 test of 1.
t/00.load.........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::pod::Coverage 1.04 required for testing POD coverage
t/pod.............skipped
all skipped: Test::pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/00.load.t 1 256 1 1 1
2 tests skipped.
Failed 1/3 test scripts. 1/1 subtests failed.
Files=3, Tests=1, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 1/3 test programs. 1/1 subtests failed.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Stop.
DCONWAY/IO-Prompt-v0.99.4.tar.gz
C:\Perl\bin\nmake.EXE test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DCONWAY/IO-Prompt-v0.99.4.tar.gz : make_test NO


cpan[2]>
 
Code:
#     Error:  Can't locate Want.pm in @INC (@INC contains: C:\Perl\cpan\build\IO
-Prompt-v0.99.4-S806Aj\blib\lib C:\Perl\cpan\build\IO-Prompt-v0.99.4-S806Aj\blib
\arch C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\

This looks like your primary error; you're missing a dependency.

-------------
Cuvou.com | The NEW Kirsle.net
 
Thanks for your reply. I see what you are saying but I try to install "Want" module cpan does not fine one. Is there Want module. If yes Could you tell me how can I install through CPAN.

Thanks again

cpan[1]> install want
CPAN: Storable loaded ok (v2.15)
Going to read C:\Perl\cpan\Metadata
Database was generated on Sun, 29 Apr 2007 11:10:38 GMT
CPAN: YAML loaded ok (v0.62)
Going to read C:\Perl/cpan/build/
............................................................................DONE

Found 2 old builds, restored the state of none
Warning: Cannot install want, don't know what it is.
Try the command

i /want/

to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.86)


cpan[2]>
 
It looks like I already have Want installed.


cpan[6]> install Want
Want is up to date (0.12).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top