Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Installing Padre through cpan for strawberry per 5.20.1

by praveenchappa (Acolyte)
on Nov 11, 2014 at 06:27 UTC ( [id://1106777]=perlquestion: print w/replies, xml ) Need Help??

praveenchappa has asked for the wisdom of the Perl Monks concerning the following question:

i am trying to install Padre foe strawberry perl 5.20.1,is this possible,doing this i was asked to install dependencies Alien::wxWidget and also i tried that but i got some error as below...please help me out

C:\Users\PC186032>cpan Padre CPAN: CPAN::SQLite loaded ok (v0.204) Database was generated on Tue, 11 Nov 2014 05:32:35 GMT Running install for module 'Padre' CPAN: LWP::UserAgent loaded ok (v6.06) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: http://cpan.strawberryperl.com/authors/id/P/PL/PLAVEN/Padre-1.00.tar.g +z CPAN: YAML::XS loaded ok (v0.52) CPAN: Digest::SHA loaded ok (v5.92) Fetching with LWP: http://cpan.strawberryperl.com/authors/id/P/PL/PLAVEN/CHECKSUMS CPAN: Compress::Zlib loaded ok (v2.064) Checksum for C:\STRAWB~1\cpan\sources\authors\id\P\PL\PLAVEN\Padre-1.0 +0.tar.gz o k CPAN: Archive::Tar loaded ok (v2.02) CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4414) CPAN: CPAN::Meta loaded ok (v2.142060) CPAN: Module::CoreList loaded ok (v5.20140914) ---- Unsatisfied dependencies detected during ---- ---- PLAVEN/Padre-1.00.tar.gz ---- Alien::wxWidgets [build_requires] Running install for module 'Alien::wxWidgets' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/M/MD/MDOOTSON/Alien-wxWidget +s-0.65.tar .gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/M/MD/MDOOTSON/CHECKSUMS Checksum for C:\STRAWB~1\cpan\sources\authors\id\M\MD\MDOOTSON\Alien-w +xWidgets-0 .65.tar.gz ok CPAN: Module::Build loaded ok (v0.421) Configuring M/MD/MDOOTSON/Alien-wxWidgets-0.65.tar.gz with Build.PL Possible precedence issue with control flow operator at lib/Alien/wxWi +dgets/Util ity.pm line 77. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.65' MDOOTSON/Alien-wxWidgets-0.65.tar.gz C:\Strawberry\perl\bin\perl.exe Build.PL -- OK Running Build for M/MD/MDOOTSON/Alien-wxWidgets-0.65.tar.gz Possible precedence issue with control flow operator at lib/Alien/wxWi +dgets/Util ity.pm line 77. Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets- +3.0.0.tar. bz2 Extracting wxWidgets... Patching wxWidgets... Applying patch: C:\STRAWB~1\cpan\build\Alien-wxWidgets-0.65-BrXn0E\pat +ches\wxMSW -3.0.0-makefiles.patch perl -pe "" -- "C:\STRAWB~1\cpan\build\Alien-wxWidgets-0.65-BrXn0E\pat +ches\wxMSW -3.0.0-makefiles.patch" | "..\inc\bin\patch.exe" -N -p0 -u -b -z .bak Can't spawn "cmd.exe": No such file or directory at inc/My/Build/Base. +pm line 34 5. Error: 65280 at inc/My/Build/Base.pm line 345. MDOOTSON/Alien-wxWidgets-0.65.tar.gz C:\Strawberry\perl\bin\perl.exe ./Build -- NOT OK Stopping: 'install' failed for 'Alien::wxWidgets'. C:\Users\PC186032> C:\Users\PC186032>cpanm --look Alien::wxWidgets --> Working on Alien::wxWidgets Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Alien-wxWidgets- +0.65.tar.g z ... OK Entering C:/Users/PC186032/.cpanm/work/1415685830.6448/Alien-wxWidgets +-0.65 with C:\Windows\system32\cmd.exe Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\PC186032\.cpanm\work\1415685830.6448\Alien-wxWidgets-0.65>$pe +rl Makefil e.pl '$perl' is not recognized as an internal or external command, operable program or batch file. C:\Users\PC186032\.cpanm\work\1415685830.6448\Alien-wxWidgets-0.65>per +l Makefile .pl # running Build.PL Possible precedence issue with control flow operator at lib/Alien/wxWi +dgets/Util ity.pm line 77. Do you want to fetch and build wxWidgets from sources? [yes ]yes Which wxWidgets version? (2.8.10, 2.8.11, 2.8.12, 2.9.0, 2.9.1, 2.9.2, + 2.9.3, 2. 9.4, 3.0.0) [3.0.0 ]3.0.0 Which archive type? [tar.bz2 ]tar.bz2 Do you want to enable Unicode support [yes ]yes Do you want to include OpenGL support [yes ]yes Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.65' C:\Users\PC186032\.cpanm\work\1415685830.6448\Alien-wxWidgets-0.65>dma +ke C:\Strawberry\perl\bin\perl.exe Build --makefile_env_macros 1 Possible precedence issue with control flow operator at lib/Alien/wxWi +dgets/Util ity.pm line 77. Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets- +3.0.0.tar. bz2 Extracting wxWidgets... Patching wxWidgets... Applying patch: C:\Users\PC186032\.cpanm\work\1415685830.6448\Alien-wx +Widgets-0. 65\patches\wxMSW-3.0.0-makefiles.patch perl -pe "" -- "C:\Users\PC186032\.cpanm\work\1415685830.6448\Alien-wx +Widgets-0. 65\patches\wxMSW-3.0.0-makefiles.patch" | "..\inc\bin\patch.exe" -N -p +0 -u -b -z .bak Can't spawn "cmd.exe": No such file or directory at inc/My/Build/Base. +pm line 34 5. Error: 65280 at inc/My/Build/Base.pm line 345. dmake: Error code 130, while making 'all'

Replies are listed 'Best First'.
Re: Installing Padre through cpan for strawberry per 5.20.1
by davido (Cardinal) on Nov 11, 2014 at 07:04 UTC

    Looking at the CPAN Testers Matrix, I don't get the impression that Padre is really intended to be installed from source via CPAN. 34 fails, and 22 passes is awful. The matrix doesn't even show any Perl-5.20 passes.

    The website for Padre: http://padre.perlide.org/ offers several download options for Windows which probably work great, but they will all take you back to Perl 5.14. This is probably mostly because there are dependencies that can't be pulled in directly from CPAN.

    You might find it possible to install from the Padre website's download, and then after the installation is working, upgrade Strawberry Perl to 5.20. At least that way you start out with a working version that has all the necessary equipment packaged with it.


    Dave

      Looking at the CPAN Testers Matrix, I don't get the impression that Padre is really intended to be installed from source via CPAN. 34 fails, and 22 passes is awful. The matrix doesn't even show any Perl-5.20 passes.

      It is, its just got a few stupid tests that fail reliably ... if two test files out of 50 fail, go ahead and force install it

Re: Installing Padre through cpan for strawberry per 5.20.1
by Loops (Curate) on Nov 11, 2014 at 08:14 UTC

    Had lots of errors like this with the 64bit version of Strawberry. Uninstalled it and reinstalled the 32bit version, and Padre (and a lot of other things) just started to work from CPAN. Your mileage might vary of course, but worth a go.

Re: Installing Alien-wxWidgets through cpan for strawberry per 5.20.1
by Anonymous Monk on Nov 11, 2014 at 09:42 UTC
    What does  echo %SHELL% print out?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1106777]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found