I am trying to install Chart::Plotly ( https://metacpan.org/pod/Chart::Plotly) using Strawberry Perl 5.28 and get the below error
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Chart-Plotly' version '0.039'
PABLROD/Chart-Plotly-0.039.tar.gz
C:\Strawberry\perl\bin\perl.exe Build.PL -- OK
Running Build for P/PA/PABLROD/Chart-Plotly-0.039.tar.gz
---- Unsatisfied dependencies detected during ----
---- PABLROD/Chart-Plotly-0.039.tar.gz ----
Devel::IPerl [requires,optional]
PDL [build_requires]
Params::Validate [requires]
Ref::Util [requires]
UUID::Tiny [requires]
Running install for module 'PDL'
Checksum for C:\STRAWB~1\cpan\sources\authors\id\E\ET\ETJ\PDL-2.021.tar.gz ok
Couldn't move C:\STRAWB~1\cpan\build\tmp-20036\PDL-2.021\Graphics to C:\STRAWB~1\cpan\build\PDL-2.021-0\Graphics: No such file or directory; #82295? CPAN::VERSION=2.20; File::Copy::VERSION=2.33; C:\STRAWB~1\cpan\build\tmp-20036\PDL-2.021\Graphics exists; C:\STRAWB~1\cpan\build\PDL-2.021-0\Graphics does not exist; cwd=C:/STRAWB~1/cpan/build/tmp-20036;
Any Idea how to fix it?
Related
This question already has an answer here:
dmake not found when installing Perl module using CPAN
(1 answer)
Closed 2 years ago.
When trying to install Win32::API from CPAN using Active Perl, the installation isn't successful. The problems stem from the following error:
'dmake' is not recognized as an internal or external command,
How can I resolve this problem?
Full output of cpan Win32::API:
Loading internal logger. Log::Log4perl recommended for better logging
Reading 'C:\Perl64\cpan\Metadata'
Database was generated on Sat, 21 Mar 2020 04:17:03 GMT
CPAN: LWP::UserAgent loaded ok (v6.31)
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
CPAN: YAML::XS loaded ok (v0.69)
Reading 'C:\Perl64\cpan\sources\authors\01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.092)
............................................................................DONE
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Reading 'C:\Perl64\cpan\sources\modules\02packages.details.txt.gz'
Database was generated on Sun, 22 Mar 2020 05:41:03 GMT
.............
New CPAN.pm version (v2.27) available.
[Currently running version is v2.20]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Reading 'C:\Perl64\cpan\sources\modules\03modlist.data.gz'
DONE
Writing C:\Perl64\cpan\Metadata
Running install for module 'Win32::API'
CPAN: Digest::SHA loaded ok (v6.01)
Checksum for C:\Perl64\cpan\sources\authors\id\B\BU\BULKDD\Win32\Win32-API-0.84.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.30)
Win32-API-0.84/
....
Win32-API-0.84/Type.pm
Win32-API-0.84/TYPEMAP
Win32-API-0.84/typemap56
Win32-API-0.84/W32ATest.pm
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20181129_28)
Configuring B/BU/BULKDD/Win32/Win32-API-0.84.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Encode::compat 0 not found.
Warning: prerequisite Math::Int64 0 not found.
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for Win32::API
Writing MYMETA.yml and MYMETA.json
BULKDD/Win32/Win32-API-0.84.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for B/BU/BULKDD/Win32/Win32-API-0.84.tar.gz
---- Unsatisfied dependencies detected during ----
---- BULKDD/Win32/Win32-API-0.84.tar.gz ----
Encode::compat [build_requires]
Math::Int64 [build_requires]
Running install for module 'Encode::compat'
Checksum for C:\Perl64\cpan\sources\authors\id\A\AU\AUTRIJUS\Encode-compat-0.07.tar.gz ok
....
Encode-compat-0.07/META.yml
Encode-compat-0.07/Changes
Encode-compat-0.07/t/
Encode-compat-0.07/t/1-basic.t
Encode-compat-0.07/t/0-signature.t
Encode-compat-0.07/MANIFEST
Encode-compat-0.07/SIGNATURE
Encode-compat-0.07/Makefile.PL
Encode-compat-0.07/README
Configuring A/AU/AUTRIJUS/Encode-compat-0.07.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Encode::compat
Writing MYMETA.yml and MYMETA.json
AUTRIJUS/Encode-compat-0.07.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for A/AU/AUTRIJUS/Encode-compat-0.07.tar.gz
'dmake' is not recognized as an internal or external command,
operable program or batch file.
AUTRIJUS/Encode-compat-0.07.tar.gz
dmake -- NOT OK
Running install for module 'Math::Int64'
Checksum for C:\Perl64\cpan\sources\authors\id\S\SA\SALVA\Math-Int64-0.54.tar.gz ok
Math-Int64-0.54/
Math-Int64-0.54/COPYING
Math-Int64-0.54/Changes
.....
Configuring S/SA/SALVA/Math-Int64-0.54.tar.gz with Makefile.PL
Using IV backend
fileparse(): need a valid pathname at C:/Perl64/site/lib/ExtUtils/CBuilder/Base.pm line 50.
Checking for stdlib.h... Warning: No success on command[C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site]
SALVA/Math-Int64-0.54.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
BULKDD/Win32/Win32-API-0.84.tar.gz
Has already been unwrapped into directory C:\Perl64\cpan\build\Win32-API-0.84-2
BULKDD/Win32/Win32-API-0.84.tar.gz
Has already been prepared
Running make for B/BU/BULKDD/Win32/Win32-API-0.84.tar.gz
Warning: Prerequisite 'Encode::compat => 0' for 'BULKDD/Win32/Win32-API-0.84.tar.gz' failed when processing 'AUTRIJUS/Encode-compat-0.07.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Math::Int64 => 0' for 'BULKDD/Win32/Win32-API-0.84.tar.gz' failed when processing 'SALVA/Math-Int64-0.54.tar.gz' with 'writemakefile => NO 'C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 6400'. Continuing, but chances to succeed are limited.
'dmake' is not recognized as an internal or external command,
operable program or batch file.
BULKDD/Win32/Win32-API-0.84.tar.gz
dmake -- NOT OK
I have ActivePerl and was able to install (some) modules. I am using MinGW, and all I had to do is to copy it's make and rename the copy dmake.exe. That did it for me.
Alternatively, there is a way to tell CPAN which make to use: in cpan, use the command
cpan> o conf make <your make path and executable>
I got this answer from this post. I did encounter a different problem with other modules.
This worked fine for me with Strawberry Perl, Windows 10:
> perl --version
This is perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x64-multi-thread
> cpan Win32::API
Loading internal logger. Log::Log4perl recommended for better logging
CPAN: CPAN::SQLite loaded ok (v0.217)
CPAN: LWP::UserAgent loaded ok (v6.42)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
CPAN: YAML::XS loaded ok (v0.80)
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 ... Done!
CPAN: Module::CoreList loaded ok (v5.20191120)
Win32::API is up to date (0.84).
Then created script file p.pl:
use strict;
use warnings;
use Win32::API;
my $GetCommandLine = Win32::API->new('kernel32', 'LPTSTR GetCommandLine()');
my $val = $GetCommandLine->Call();
print "The command line of this program is: $val\n";
And run the test:
> perl p.pl
The command line of this program is: perl p.pl
Hel lo, I'm actually trying to install a perl package called HMMCleaner
I ran for that the command:
cpan Bio::MUST::Apps::HmmCleaner
but during the process I got several messages telling : Warning: prerequisite something 0 not found.
Here is a head of the output :
(/beegfs/data/me/myconda) me#pbil-deb:/beegfs/data/me/TOOLS/Bio-MUST-Apps-HmmCleaner-0.180750/bin$ cpan Test::Harness::Straps
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/beegfs/home/me/.cpan/Metadata'
Database was generated on Fri, 14 Feb 2020 09:41:03 GMT
Running install for module 'Test::Harness::Straps'
Fetching with LWP:
http://www.cpan.org/authors/id/M/MS/MSCHWERN/Test-Harness-Straps-0.30.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/M/MS/MSCHWERN/CHECKSUMS
Checksum for /beegfs/home/me/.cpan/sources/authors/id/M/MS/MSCHWERN/Test-Harness-Straps-0.30.tar.gz ok
Configuring M/MS/MSCHWERN/Test-Harness-Straps-0.30.tar.gz with Build.PL
Test::Harness::Straps is provided for backwards compatibility only.
No further development is planned. No bugs will be fixed.
For customizable TAP parsing please use L<TAP::Parser> instead.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Test-Harness-Straps' version '0.30'
MSCHWERN/Test-Harness-Straps-0.30.tar.gz
/beegfs/data/me/myconda/bin/perl Build.PL --installdirs site -- OK
Running Build for M/MS/MSCHWERN/Test-Harness-Straps-0.30.tar.gz
Building Test-Harness-Straps
MSCHWERN/Test-Harness-Straps-0.30.tar.gz
./Build -- OK
Running Build test
t/00compile.t ...... 1/5 # Testing Test::Harness::Straps 0.30 under Perl 5.026002 and Test::More 1.302073
t/00compile.t ...... ok
t/callback.t ....... ok
t/point-parse.t .... ok
t/point.t .......... ok
t/strap-analyze.t .. ok
t/strap.t .......... ok
All tests successful.
Files=6, Tests=425, 9 wallclock secs ( 0.12 usr 0.04 sys + 0.98 cusr 0.67 csys = 1.81 CPU)
Result: PASS
MSCHWERN/Test-Harness-Straps-0.30.tar.gz
./Build test -- OK
Running Build install
Building Test-Harness-Straps
Installing /beegfs/home/me/perl5/lib/perl5/Test/Harness/Assert.pm
Installing /beegfs/home/me/perl5/lib/perl5/Test/Harness/Straps.pm
Installing /beegfs/home/me/perl5/lib/perl5/Test/Harness/Results.pm
Installing /beegfs/home/me/perl5/lib/perl5/Test/Harness/Point.pm
Installing /beegfs/home/me/perl5/lib/perl5/Test/Harness/Iterator.pm
Installing /beegfs/home/me/perl5/man/man3/Test::Harness::Point.3
Installing /beegfs/home/me/perl5/man/man3/Test::Harness::Assert.3
Installing /beegfs/home/me/perl5/man/man3/Test::Harness::Results.3
Installing /beegfs/home/me/perl5/man/man3/Test::Harness::Iterator.3
Installing /beegfs/home/me/perl5/man/man3/Test::Harness::Straps.3
MSCHWERN/Test-Harness-Straps-0.30.tar.gz
./Build install -- OK
(/beegfs/data/me/myconda) me#pbil-deb:/beegfs/data/me/TOOLS/Bio-MUST-Apps-HmmCleaner-0.180750/bin$ cpan Bio::MUST::Apps::HmmCleaner
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/beegfs/home/me/.cpan/Metadata'
Database was generated on Fri, 14 Feb 2020 09:41:03 GMT
Running install for module 'Bio::MUST::Apps::HmmCleaner'
Checksum for /beegfs/home/me/.cpan/sources/authors/id/A/AR/ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750.tar.gz ok
Configuring A/AR/ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Bio::FastParsers::Hmmer 0 not found.
Warning: prerequisite Bio::MUST::Core 0.180230 not found.
Warning: prerequisite Bio::MUST::Core::Ali 0 not found.
Warning: prerequisite Bio::MUST::Core::Constants 0 not found.
Warning: prerequisite Bio::MUST::Core::GeneticCode::Factory 0 not found.
Warning: prerequisite Bio::MUST::Core::IdList 0 not found.
Warning: prerequisite Bio::MUST::Core::Seq 0 not found.
Warning: prerequisite Bio::MUST::Core::SeqMask 0 not found.
Warning: prerequisite Bio::MUST::Core::Utils 0 not found.
Warning: prerequisite Bio::MUST::Drivers 0.180270 not found.
Warning: prerequisite Bio::MUST::Drivers::Hmmer::Model::Temporary 0 not found.
Warning: prerequisite IPC::System::Simple 0 not found.
Warning: prerequisite Smart::Comments 0 not found.
Warning: prerequisite aliased 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Bio::MUST::Apps::HmmCleaner
Writing MYMETA.yml and MYMETA.json
ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750.tar.gz
/beegfs/data/me/myconda/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for A/AR/ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750.tar.gz
---- Unsatisfied dependencies detected during ----
---- ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750.tar.gz ----
Bio::FastParsers::Hmmer [requires]
Bio::MUST::Core [requires]
Bio::MUST::Core::Ali [requires]
Bio::MUST::Core::Constants [requires]
Bio::MUST::Core::GeneticCode::Factory [requires]
Bio::MUST::Core::IdList [requires]
Bio::MUST::Core::Seq [requires]
Bio::MUST::Core::SeqMask [requires]
Bio::MUST::Core::Utils [requires]
Bio::MUST::Drivers [requires]
Bio::MUST::Drivers::Hmmer::Model::Temporary [requires]
IPC::System::Simple [requires]
Smart::Comments [requires]
aliased [requires]
Running install for module 'Bio::FastParsers::Hmmer'
Checksum for /beegfs/home/me/.cpan/sources/authors/id/D/DB/DBAURAIN/Bio-FastParsers-0.180470.tar.gz ok
Configuring D/DB/DBAURAIN/Bio-FastParsers-0.180470.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Const::Fast 0 not found.
Warning: prerequisite Exporter::Easy 0 not found.
Warning: prerequisite Smart::Comments 0 not found.
Warning: prerequisite XML::Bare 0.53 not found.
Warning: prerequisite aliased 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Bio::FastParsers
Writing MYMETA.yml and MYMETA.json
DBAURAIN/Bio-FastParsers-0.180470.tar.gz
/beegfs/data/me/myconda/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for D/DB/DBAURAIN/Bio-FastParsers-0.180470.tar.gz
---- Unsatisfied dependencies detected during ----
---- DBAURAIN/Bio-FastParsers-0.180470.tar.gz ----
Const::Fast [requires]
Exporter::Easy [requires]
Smart::Comments [requires]
XML::Bare [requires]
aliased [requires]
Running install for module 'Const::Fast'
So I wondered if there were a possibility to direclty allow cpan to install all the dependency needed?
I ask because I get the following error message when trying to execute a script using Bio::MUST::Apps::HMMCleaner.
Can't locate Smart/Comments.pm in #INC (you may need to install the Smart::Comments module) (#INC contains:
/beegfs/home/me/perl5/lib/perl5/x86_64-linux-thread-multi
/beegfs/home/me/perl5/lib/perl5
/beegfs/data/me/myconda/lib/site_perl/5.26.2/x86_64-linux-thread-multi
/beegfs/data/me/myconda/lib/site_perl/5.26.2
/beegfs/data/me/myconda/lib/5.26.2/x86_64-linux-thread-multi
/beegfs/data/me/myconda/lib/5.26.2
.
) at HmmCleaner.pl line 16. BEGIN failed--compilation aborted at HmmCleaner.pl line 16.
(Line breaks added for readability.)
Some debugging information:
$ set | grep ^PERL
PERL5LIB=/beegfs/home/me/perl5/lib/perl5
PERL_LOCAL_LIB_ROOT=/beegfs/home/me/perl5
PERL_MB_OPT='--install_base "/beegfs/home/me/perl5"'
PERL_MM_OPT=INSTALL_BASE=/beegfs/home/me/perl5
$ echo 'o conf' | cpan | grep -P '^\s*(make|mbuild)'
Loading internal null logger. Install Log::Log4perl for logging messages
make [/usr/bin/X11/make]
make_arg []
make_install_arg []
make_install_make_command [/usr/bin/X11/make]
makepl_arg [INSTALLDIRS=site]
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [./Build]
mbuildpl_arg [--installdirs site]
$ which cpan
/beegfs/data/me/myconda/bin/cpan
$ head -n 1 "$( which cpan )"
#!/beegfs/data/me/myconda/bin/perl
$ which perl
/beegfs/data/me/myconda/bin/perl
$ cpan Smart::Comments
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/beegfs/home/me/.cpan/Metadata'
Database was generated on Fri, 14 Feb 2020 09:41:03 GMT
Running install for module 'Smart::Comments'
Checksum for /beegfs/home/me/.cpan/sources/authors/id/N/NE/NEILB/Smart-Comments-1.06.tar.gz ok
Configuring N/NE/NEILB/Smart-Comments-1.06.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Smart::Comments
Writing MYMETA.yml and MYMETA.json
NEILB/Smart-Comments-1.06.tar.gz
/beegfs/data/me/myconda/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for N/NE/NEILB/Smart-Comments-1.06.tar.gz
cp lib/Smart/Comments.pm blib/lib/Smart/Comments.pm
Manifying 1 pod document
NEILB/Smart-Comments-1.06.tar.gz
/usr/bin/X11/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/beegfs/data/me/myconda/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load.t ................. 1/1 # Testing Smart::Comments 1.06
t/00.load.t ................. ok
t/assert.t .................. ok
t/brackets.t ................ ok
t/c_like_for_loop.t ......... ok
t/check.t ................... ok
t/confirm.t ................. ok
t/ensure.t .................. ok
t/ENV_0.t ................... ok
t/ENV_1.t ................... ok
t/ENV_str.t ................. ok
t/insist.t .................. ok
t/labelled_perlish_loop.t ... ok
t/message.t ................. ok
t/perlish_for.t ............. ok
t/perlish_for_percentage.t .. ok
t/pod-coverage.t ............ skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod.t ..................... skipped: Test::Pod 1.14 required for testing POD
t/require.t ................. ok
t/selective.t ............... ok
t/simple_perlish_for.t ...... ok
t/var.t ..................... ok
t/verify.t .................. ok
t/while.t ................... ok
t/while_num.t ............... ok
All tests successful.
Files=24, Tests=119, 19 wallclock secs ( 0.13 usr 0.08 sys + 2.93 cusr 1.45 csys = 4.59 CPU)
Result: PASS
NEILB/Smart-Comments-1.06.tar.gz
/usr/bin/X11/make test -- OK
Running make install
Manifying 1 pod document
Installing /beegfs/home/me/perl5/lib/perl5/Smart/Comments.pm
Installing /beegfs/home/me/perl5/man/man3/Smart::Comments.3
Appending installation info to /beegfs/home/me/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
NEILB/Smart-Comments-1.06.tar.gz
/usr/bin/X11/make install -- OK
$ perl -e'use Smart::Comments; print "ok\n"'
ok
Thank you for your help.
That's exactly what it does.
For example, Warning: prerequisite Bio::FastParsers::Hmmer 0 not found. means an unsatisfied dependency for version 0 or higher of the Bio::FastParsers::Hmmer module was encountered. The Bio::MUST::Apps::HmmCleaner module is provided by the Bio-FastParsers distribution, and you can clearly see Bio-FastParsers being installed.
Technically, this is configurable.
$ echo 'o conf init prerequisites_policy' | cpan
...
The CPAN module can detect when a module which you are trying to build
depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Choosing
'follow' also sets PERL_AUTOINSTALL and PERL_EXTUTILS_AUTOINSTALL for
"--defaultdeps" if not already set.
Please set your policy to one of the three values.
<prerequisites_policy>
Policy on building prerequisites (follow, ask or ignore)? [follow] follow
...
But the default value is follow, and your output shows if it's following dependencies.
I couldn't find any solution for two weeks.!!!!
I try to install CPAN Modules using the cpan.exe.
When I try to install a module with "install XML::DOM" fails stating dmake.exe is NOT OK,
here is my error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\ehsan\Documents>cpan
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
There seems to be running another CPAN process (pid 5932). Contacting...
Other job not responding. Shall I overwrite the lockfile 'C:\Perl\cpan\.lock'
Y/n) [y] y
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
cpan> install XML::DOM
Reading 'C:\Perl\cpan\Metadata'
Database was generated on Thu, 24 Oct 2013 11:09:28 GMT
Running install for module 'XML::DOM'
Running make for T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\T\TJ\TJMATHER\XML-DOM-1.44.tar.g
k
Scanning cache C:\Perl/cpan/build for sizes
............................................................................D
XML-DOM-1.44/
XML-DOM-1.44/lib/
XML-DOM-1.44/lib/XML/
XML-DOM-1.44/lib/XML/DOM/
XML-DOM-1.44/lib/XML/DOM/DocumentType.pod
XML-DOM-1.44/lib/XML/DOM/DocumentFragment.pod
XML-DOM-1.44/lib/XML/DOM/AttlistDecl.pod
XML-DOM-1.44/lib/XML/DOM/Notation.pod
XML-DOM-1.44/lib/XML/DOM/Attr.pod
XML-DOM-1.44/lib/XML/DOM/ProcessingInstruction.pod
XML-DOM-1.44/lib/XML/DOM/Entity.pod
XML-DOM-1.44/lib/XML/DOM/Document.pod
XML-DOM-1.44/lib/XML/DOM/Parser.pod
XML-DOM-1.44/lib/XML/DOM/NodeList.pm
XML-DOM-1.44/lib/XML/DOM/Node.pod
XML-DOM-1.44/lib/XML/DOM/ElementDecl.pod
XML-DOM-1.44/lib/XML/DOM/EntityReference.pod
XML-DOM-1.44/lib/XML/DOM/NodeList.pod
XML-DOM-1.44/lib/XML/DOM/CharacterData.pod
XML-DOM-1.44/lib/XML/DOM/DOMException.pm
XML-DOM-1.44/lib/XML/DOM/PerlSAX.pm
XML-DOM-1.44/lib/XML/DOM/NamedNodeMap.pm
XML-DOM-1.44/lib/XML/DOM/NamedNodeMap.pod
XML-DOM-1.44/lib/XML/DOM/Comment.pod
XML-DOM-1.44/lib/XML/DOM/Element.pod
XML-DOM-1.44/lib/XML/DOM/XMLDecl.pod
XML-DOM-1.44/lib/XML/DOM/CDATASection.pod
XML-DOM-1.44/lib/XML/DOM/DOMImplementation.pod
XML-DOM-1.44/lib/XML/DOM/Text.pod
XML-DOM-1.44/lib/XML/DOM/AttDef.pod
XML-DOM-1.44/lib/XML/DOM.pm
XML-DOM-1.44/lib/XML/Handler/
XML-DOM-1.44/lib/XML/Handler/BuildDOM.pm
XML-DOM-1.44/t/
XML-DOM-1.44/t/dom_jp_minus.t
XML-DOM-1.44/t/dom_noexpand.t
XML-DOM-1.44/t/dom_template.t
XML-DOM-1.44/t/dom_jp_cdata.t
XML-DOM-1.44/t/dom_jp_modify.t
XML-DOM-1.44/t/dom_text.t
XML-DOM-1.44/t/dom_cdata.t
XML-DOM-1.44/t/dom_jp_attr.t
XML-DOM-1.44/t/dom_extent.t
XML-DOM-1.44/t/dom_minus.t
XML-DOM-1.44/t/dom_attr.t
XML-DOM-1.44/t/dom_encode.t
XML-DOM-1.44/t/dom_jp_example.t
XML-DOM-1.44/t/dom_extent.ent
XML-DOM-1.44/t/dom_jp_print.t
XML-DOM-1.44/t/dom_documenttype.t
XML-DOM-1.44/t/dom_extent.dtd
XML-DOM-1.44/t/dom_jp_astress.t
XML-DOM-1.44/t/build_dom.t
XML-DOM-1.44/t/dom_print.t
XML-DOM-1.44/t/dom_astress.t
XML-DOM-1.44/t/dom_modify.t
XML-DOM-1.44/t/dom_example.t
XML-DOM-1.44/FAQ.xml
XML-DOM-1.44/Changes
XML-DOM-1.44/MANIFEST
XML-DOM-1.44/META.yml
XML-DOM-1.44/CmpDOM.pm
XML-DOM-1.44/samples/
XML-DOM-1.44/samples/minutes.xml
XML-DOM-1.44/samples/REC-xml-19980210.xml
XML-DOM-1.44/BUGS
XML-DOM-1.44/CheckAncestors.pm
XML-DOM-1.44/XML-Parser-2.31.patch
XML-DOM-1.44/Makefile.PL
XML-DOM-1.44/README
CPAN.pm: Building T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Warning: prerequisite XML::Parser::PerlSAX 0.07 not found.
Warning: prerequisite XML::RegExp 0 not found.
Writing Makefile for XML-DOM
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- TJMATHER/XML-DOM-1.44.tar.gz ----
XML::Parser::PerlSAX [requires]
XML::RegExp [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'XML::Parser::PerlSAX'
Running make for K/KM/KMACLEOD/libxml-perl-0.08.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\K\KM\KMACLEOD\libxml-perl-0.08.t
gz ok
libxml-perl-0.08/
libxml-perl-0.08/lib/
libxml-perl-0.08/lib/XML/
libxml-perl-0.08/lib/XML/Handler/
libxml-perl-0.08/lib/XML/Handler/Subs.pm
libxml-perl-0.08/lib/XML/Handler/CanonXMLWriter.pm
libxml-perl-0.08/lib/XML/Handler/Sample.pm
libxml-perl-0.08/lib/XML/Handler/XMLWriter.pm
libxml-perl-0.08/lib/XML/PatAct/
libxml-perl-0.08/lib/XML/PatAct/ActionTempl.pm
libxml-perl-0.08/lib/XML/PatAct/PatternTempl.pm
libxml-perl-0.08/lib/XML/PatAct/Amsterdam.pm
libxml-perl-0.08/lib/XML/PatAct/MatchName.pm
libxml-perl-0.08/lib/XML/PatAct/ToObjects.pm
libxml-perl-0.08/lib/XML/SAX2Perl.pm
libxml-perl-0.08/lib/XML/Perl2SAX.pm
libxml-perl-0.08/lib/XML/ESISParser.pm
libxml-perl-0.08/lib/XML/Parser/
libxml-perl-0.08/lib/XML/Parser/PerlSAX.pm
libxml-perl-0.08/lib/Data/
libxml-perl-0.08/lib/Data/Grove/
libxml-perl-0.08/lib/Data/Grove/Parent.pm
libxml-perl-0.08/lib/Data/Grove/Visitor.pm
libxml-perl-0.08/lib/Data/Grove.pm
libxml-perl-0.08/doc/
libxml-perl-0.08/doc/CreatingPatActModules.pod
libxml-perl-0.08/doc/interface-style.pod
libxml-perl-0.08/doc/modules.xml
libxml-perl-0.08/doc/sax-2.0-adv.html
libxml-perl-0.08/doc/UsingPatActModules.pod
libxml-perl-0.08/doc/PerlSAX.pod
libxml-perl-0.08/doc/mirror.sh
libxml-perl-0.08/doc/sax-2.0.html
libxml-perl-0.08/doc/UsingPerlSAX.pod
libxml-perl-0.08/doc/index.html
libxml-perl-0.08/Changes
libxml-perl-0.08/MANIFEST
libxml-perl-0.08/examples/
libxml-perl-0.08/examples/schema.xml
libxml-perl-0.08/examples/MyHandler.pm
libxml-perl-0.08/examples/myhandler.xml
libxml-perl-0.08/examples/myhandler.pl
libxml-perl-0.08/examples/schema.pl
libxml-perl-0.08/examples/perlsax-test.pl
libxml-perl-0.08/examples/esis-test.pl
libxml-perl-0.08/t/
libxml-perl-0.08/t/schema.t
libxml-perl-0.08/t/stream.t
libxml-perl-0.08/t/xp_sax.t
libxml-perl-0.08/t/subs.t
libxml-perl-0.08/t/canon_xml_writer.t
libxml-perl-0.08/t/amsterdam.t
libxml-perl-0.08/ChangeLog
libxml-perl-0.08/libxml-perl.spec
libxml-perl-0.08/libxml-perl-0.08.spec
libxml-perl-0.08/Makefile.PL
libxml-perl-0.08/README
CPAN.pm: Building K/KM/KMACLEOD/libxml-perl-0.08.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Writing Makefile for libxml-perl
Writing MYMETA.yml and MYMETA.json
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
KMACLEOD/libxml-perl-0.08.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running install for module 'XML::RegExp'
Running make for T/TJ/TJMATHER/XML-RegExp-0.04.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\T\TJ\TJMATHER\XML-RegExp-0.04.ta
z ok
XML-RegExp-0.04/
XML-RegExp-0.04/META.yml
XML-RegExp-0.04/test.pl
XML-RegExp-0.04/README
XML-RegExp-0.04/Changes
XML-RegExp-0.04/MANIFEST
XML-RegExp-0.04/lib/
XML-RegExp-0.04/lib/XML/
XML-RegExp-0.04/lib/XML/RegExp.pm
XML-RegExp-0.04/Makefile.PL
CPAN.pm: Building T/TJ/TJMATHER/XML-RegExp-0.04.tar.gz
Set up gcc environment - gcc.exe (release with patches / build 20130526 by st
berryperl.com) 4.7.3
Checking if your kit is complete...
Looks good
Writing Makefile for XML::RegExp
Writing MYMETA.yml and MYMETA.json
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib\XML': No s
file or directory
dmake.exe: Error code -1, while making 'blib\lib\XML\.exists'
TJMATHER/XML-RegExp-0.04.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Has already been unwrapped into directory C:\Perl\cpan\build\XML-DOM-1.44-P
El
CPAN.pm: Building T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
Warning: Prerequisite 'XML::Parser::PerlSAX => 0.07' for 'TJMATHER/XML-DOM-1.
tar.gz' failed when processing 'KMACLEOD/libxml-perl-0.08.tar.gz' with 'make
NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'XML::RegExp => 0' for 'TJMATHER/XML-DOM-1.44.tar.gz' f
ed when processing 'TJMATHER/XML-RegExp-0.04.tar.gz' with 'make => NO'. Conti
ng, but chances to succeed are limited.
CreateProcess failed (2).
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
TJMATHER/XML-DOM-1.44.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
KMACLEOD/libxml-perl-0.08.tar.gz : make NO
TJMATHER/XML-DOM-1.44.tar.gz : make NO
TJMATHER/XML-RegExp-0.04.tar.gz : make NO
i asked this question in Perlmonks and i got this answer :
"Looks like you are (or have been) using MKS, which can confuse things such as which shell dmake invokes and so on. I suggest you remove it (the path to MKS) from your system PATH variable (example). Once you've done this start a new command prompt and retry the installation"
what should i do?
I see a problem here:
dmake.exe: Error executing 'C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.
-c C:\Perl\bin\perl.exe -MExtUtils::Command -e mkpath -- blib\lib': No such
e or directory
dmake.exe: Error code -1, while making 'blib\lib\.exists'
TJMATHER/XML-DOM-1.44.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Your dmake call comes from a Strawberry Perl installation, and it invokes what looks like ActivePerl. Down that PATH lies madness. If you want to use CPAN with Strawberry Perl, then remove the ActivePerl directories from your PATH.
Specifically, try this:
set PATH C:\STRAWB~1\perl\bin;C:\STRAWB~1\c\bin
cpan XML::DOM
Your key is probably here:
Warning: Prerequisite 'XML::Parser::PerlSAX => 0.07' for 'TJMATHER/XML-DOM-1.
tar.gz' failed when processing 'KMACLEOD/libxml-perl-0.08.tar.gz' with 'make
NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'XML::RegExp => 0' for 'TJMATHER/XML-DOM-1.44.tar.gz' f
ed when processing 'TJMATHER/XML-RegExp-0.04.tar.gz' with 'make => NO'. Conti
ng, but chances to succeed are limited.
You need to have XML::Parser::PerlSAX and XML::RegExp installed first.
Any idea why CPAN is locked in circular dependencies although I only issue get?
This only happens when I started from a fresh Perl install (or delete CPAN/source directory):
cpan[1]> get Devel::Declare
CPAN: CPAN::SQLite loaded ok (v0.202)
CPAN: LWP::UserAgent loaded ok (v6.04)
CPAN: Time::HiRes loaded ok (v1.9725)
Fetching with LWP:
http://cpan.yimg.com/authors/01mailrc.txt.gz
CPAN: YAML::XS loaded ok (v0.38)
Fetching with LWP:
http://cpan.yimg.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.yimg.com/modules/03modlist.data.gz
Database was generated on Sun, 12 Aug 2012 19:51:28 GMT
Running get for module 'Devel::Declare'
CPAN: CPAN::Kwalify loaded ok (v5.50)
Fetching with LWP:
http://cpan.yimg.com/authors/id/Z/ZE/ZEFRAM/Devel-Declare-0.006011.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
Fetching with LWP:
http://cpan.yimg.com/authors/id/Z/ZE/ZEFRAM/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.049)
Checksum for C:\CPANTesters\cpan\sources\authors\id\Z\ZE\ZEFRAM\Devel-Declare-0.
006011.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.88)
Devel-Declare-0.006011/
Devel-Declare-0.006011/META.yml
...
Devel-Declare-0.006011/t/statement.t
Devel-Declare-0.006011/t/early1_x.pm
Devel-Declare-0.006011/t/combi.t
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4402)
CPAN: CPAN::Meta loaded ok (v2.120630)
CPAN: Module::CoreList loaded ok (v2.66)
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
Fetching with LWP:
http://cpan.yimg.com/authors/id/Z/ZE/ZEFRAM/B-Hooks-OP-Check-0.19.tar.gz
Checksum for C:\CPANTesters\cpan\sources\authors\id\Z\ZE\ZEFRAM\B-Hooks-OP-Check
-0.19.tar.gz ok
B-Hooks-OP-Check-0.19/
B-Hooks-OP-Check-0.19/META.yml
...
B-Hooks-OP-Check-0.19/t/
B-Hooks-OP-Check-0.19/t/use.t
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
---- Unsatisfied dependencies detected during ----
---- ZEFRAM/Devel-Declare-0.006011.tar.gz ----
B::Hooks::OP::Check [build_requires]
Running get for module 'B::Hooks::OP::Check'
Caught SIGINT, trying to continue
The command is terminated by Ctrl-C
Perl is ActiveState Perl v5.16.0 on Windows 7 64bits
CPAN.pm is 1.9800
My guess is that this is a bug in the Makefile.PL. I suggest you try installing B::Hooks::OP::Check first.
You also might try using cpanm which doesn't try to be so clever and so is less fussy
I run on Mac OS X 10.5 and I want to write a program in Perl. However, I need to install the module RDF::Trine and DBD::CSV and I got an error when I install both.
If I write :
install RDF::Trine
The error is :
Files=51, Tests=5, 2 wallclock secs ( 0.21 usr 0.18 sys + 1.30 cusr 0.51 csys = 2.20 CPU)
Result: FAIL
Failed 49/51 test programs. 5/5 subtests failed.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
And the error for the installation of DBD::CSV is :
Files=21, Tests=18, 1 wallclock secs ( 0.10 usr 0.08 sys + 0.85 cusr 0.26 csys = 1.29 CPU)
Result: FAIL
Failed 16/21 test programs. 2/18 subtests failed.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Do you have a solution for me?
Can you post the output of:
cpan RDF::Trine
or even
cpan Bundle::CPAN
A LOT of perl developers develop on MacOS. I'd be surprised if it didn't work out of the box.
Updated, easier to read cpan output here than in a comment. It looks like your cpan is set to ignore dependencies:
---- Unsatisfied dependencies detected during ----
---- GWILLIAMS/RDF-Trine-0.125.tar.gz ----
Text::Table [requires]
DBD::SQLite [requires]
XML::LibXML::SAX [requires]
Unicode::Escape [requires]
Unicode::String [requires]
Text::CSV [requires]
Error [requires]
Test::Exception [requires]
Test::JSON [requires]
XML::Namespace [requires]
Data::UUID [requires]
Math::Combinatorics [requires]
Set::Scalar [requires]
XML::CommonNS [requires]
XML::LibXML [requires]
JSON [requires]
Log::Log4perl [requires]
Ignoring dependencies on modules ARRAY(0x4d22268), ARRAY(0x5463770), ARRAY(0x4d1bbe4), ARRAY(0x4d22724), ARRAY(0x4d21fc8), ARRAY(0x4d226c4), ARRAY(0x4d21fa4), ARRAY(0x5463830), ARRAY(0x5463878), ARRAY(0x4d24cf0), ARRAY(0x4d22784), ARRAY(0x4d21f74), ARRAY(0x4d21f5c), ARRAY(0x4d21e3c), ARRAY(0x4d21ee4), ARRAY(0x4d21d4c), ARRAY(0x4d21e84), ARRAY(0x4d21c80), ARRAY(0x4d21efc), ARRAY(0x4d2219c), ARRAY(0x4d21fb0), ARRAY(0x4d2213c), ARRAY(0x4d21ddc), ARRAY(0x4d2264c), ARRAY(0x4d21ed8), ARRAY(0x5463818), ARRAY(0x4d21d94), ARRAY(0x4d22640), ARRAY(0x4d21de8), ARRAY(0x4d1bb00), ARRAY(0x4d21c98), ARRAY(0x4d2225c), ARRAY(0x4d21f68), ARRAY(0x4d22334)
prerequisites_policy is the configuration variable that controls this behavior.
Confirm the setting by running o conf prerequisites_policy and if it's set to anything other than ask, run:
o conf prerequisites_policy ask
o conf commit
(Those are lowercase letter "oh")
Then repeat your cpan commands.
You can install perl module forcefully
perl –MCPAN –e’force install “RDF::Trine”’
Where RDF::Trine is the module name