Navigation

PERL install external packages

i installed straberry PERL in my winxp system,

When i want to install the external perl packge, i try the below steps,

Go To > Run > cmd >

In the command line enter this syntax

perl -MCPAN -e shell

then u cursor will change to somthing like below then type your packge, here ma trying toi install the io prompt package

cpan> install IO::Prompt

-------------------------------------------------------------------------------------------------------------------------------
my real time experiance is below

C:\strawberry>perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.9462)
Enter 'h' for help.

cpan> install IO::Prompt
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Creating database file ...

Gathering information from index files ...
Populating database tables ...
Done!
Running install for module 'IO::Prompt'
Running make for D/DC/DCONWAY/IO-Prompt-0.997001.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/D/DC/DCONWAY/IO-Prompt-0.99700...

Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/D/DC/DCONWAY/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\D\DC\DCONWAY\IO-Prompt-0.9970
01.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
DONE

CPAN.pm: Going to build D/DC/DCONWAY/IO-Prompt-0.997001.tar.gz

Checking prerequisites...
requires:
! Want is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'IO-Prompt' version '0.997001'
---- Unsatisfied dependencies detected during ----
---- DCONWAY/IO-Prompt-0.997001.tar.gz ----
Want [requires]
Running Build test
Delayed until after prerequisites
Running Build install
Delayed until after prerequisites
Running install for module 'Want'
Running make for R/RO/ROBIN/Want-0.18.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RO/ROBIN/Want-0.18.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RO/ROBIN/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\R\RO\ROBIN\Want-0.18.tar.gz o
k

CPAN.pm: Going to build R/RO/ROBIN/Want-0.18.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Want
cp Want.pm blib\lib\Want.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap
C:\strawberry\perl\lib\ExtUtils\typemap Want.xs > Want.xsc && C:\strawberry\pe
rl\bin\perl.exe -MExtUtils::Command -e "mv" -- Want.xsc Want.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -
O2 -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" "-IC:\strawberry\perl\lib
\CORE" Want.c
Running Mkbootstrap for Want ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Want.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Want\", 'DLBASE' => 'Want', 'DL_FUNCS' => { }, 'F
UNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Want.def --output-exp dll.exp
g++ -o blib\arch\auto\Want\Want.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\
strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Want.o -Wl,--image-base,0x7905
0000 C:\strawberry\perl\lib\CORE\libperl510.a -lmoldname -lkernel32 -luser32 -l
gdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -
luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
dlltool --def Want.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Want\Want.dll -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"
C:\strawberry\c\lib" Want.o -Wl,--image-base,0x79050000 C:\strawberry\perl\lib\
CORE\libperl510.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -
ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion -lodbc32 -lodbccp32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\
auto\Want\Want.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Want.bs blib\arch
\auto\Want\Want.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch\
auto\Want\Want.bs
ROBIN/Want-0.18.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/all.t ....... ok
t/assign.t .... ok
t/boolean.t ... ok
t/damian.t .... ok
t/err.t ....... ok
t/methcall.t .. ok
t/object.t .... ok
t/threads.t ... ok
All tests successful.
Files=8, Tests=146, 2 wallclock secs ( 0.09 usr + 0.05 sys = 0.14 CPU)
Result: PASS
ROBIN/Want-0.18.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- OK
Running make install
Prepending C:\strawberry\cpan\build\Want-0.18-PtGb3a/blib/arch C:\strawberry\cpa
n\build\Want-0.18-PtGb3a/blib/lib to PERL5LIB for 'install'
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\strawberry\perl\site\lib\auto\Want\Want.dll
Installing C:\strawberry\perl\site\lib\auto\Want\Want.bs
Installing C:\strawberry\perl\site\lib\Want.pm
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
ROBIN/Want-0.18.tar.gz
C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK
Running Build for D/DC/DCONWAY/IO-Prompt-0.997001.tar.gz
Has already been unwrapped into directory C:\strawberry\cpan\build\IO-Prompt-0
.997001-9temUL

CPAN.pm: Going to build D/DC/DCONWAY/IO-Prompt-0.997001.tar.gz

Building IO-Prompt
DCONWAY/IO-Prompt-0.997001.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\00.load.t .......... 1/1 # Testing IO::Prompt 0.997001
t\00.load.t .......... ok
t\01.dependencies.t ..
t\01.dependencies.t .. 1/2 # Failed test 'Output to /dev/tty'
# at t\01.dependencies.t line 4.

# Failed test 'Input from /dev/tty'
# at t\01.dependencies.t line 5.
# Looks like you failed 2 tests of 2.
t\01.dependencies.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t\pod-coverage.t ..... skipped: Test::Pod::Coverage 1.04 required for testing PO
D coverage
t\pod.t .............. skipped: Test::Pod 1.14 required for testing POD

Test Summary Report
-------------------
t\01.dependencies.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=4, Tests=3, 1 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU)
Result: FAIL
Failed 1/4 test programs. 2/3 subtests failed.
DCONWAY/IO-Prompt-0.997001.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DCONWAY/IO-Prompt-0.997001.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
DCONWAY/IO-Prompt-0.997001.tar.gz : make_test NO

0
Your rating: None