Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Can't install any modules

by Anonymous Monk
on Oct 06, 2014 at 23:28 UTC ( #1103036=note: print w/replies, xml ) Need Help??

in reply to Can't install any modules

Uninstall dwimperl by any means you know (add remove programs, remove anything dwimperl from any registry entries, remove the directory dwimperl)

Go to and install something recent. If you think you might move the directory where perl is installed get the "portable" version

Install strawberryperl and then use cpan as usual, to install cpanm....

Replies are listed 'Best First'.
Re^2: Can't install any modules (autoruns SH_PATH "cmd /d /x /c")
by Anonymous Monk on Oct 07, 2014 at 02:56 UTC
Re^2: Can't install any modules
by Anonymous Monk on Oct 07, 2014 at 00:01 UTC
    Still not working. Is there some root directory I could go to change where it wants to set up this 'blib' directory?

      Still not working.

      That is not exactly possible :) You need to provide more details.

        (sorry, can't reply to the comment below) AUTORUN!!!! You're a bloody lifesaver! That was it! I had setup autorun to change my cmd prompt window to go straight to c:\perlscripts. Thank you so much!! Huge sigh of relief
        Well, it's the same, exact error as is in the log
        ---------------------------------------------- Welcome to Strawberry Perl Portable Edition! * URL - * see README.TXT for more info ---------------------------------------------- Perl executable: C:\Strawberry\perl\bin\perl.exe Perl version : 5.18.4 / MSWin32-x64-multi-thread c:\perlscripts>perl testprim Can't locate in @INC (you may need to install the TMDB module) + (@INC con tains: C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/St +rawberry/p erl/lib .) at C:\perlscripts\testGetMovieName2 line 3. BEGIN failed--compilation aborted at C:\perlscripts\testGetMovieName2 +line 3. Compilation failed in require at testprim line 5. c:\perlscripts>cd c:\downloads c:\downloads>gzip -d TMDB-0.11.tar.gz 'gzip' is not recognized as an internal or external command, operable program or batch file. c:\downloads>tar xvf TMDB-0.11.tar 'tar' is not recognized as an internal or external command, operable program or batch file. c:\downloads>cpan TMDB CPAN: CPAN::SQLite loaded ok (v0.204) Database was generated on Mon, 06 Oct 2014 23:56:58 GMT Running install for module 'TMDB' CPAN: Digest::SHA loaded ok (v5.92) CPAN: Compress::Zlib loaded ok (v2.066) Checksum for C:\Strawberry\cpan\sources\authors\id\M\MI\MITHUN\TMDB-0. +11.tar.gz ok CPAN: Archive::Tar loaded ok (v2.02) CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.52) CPAN: Parse::CPAN::Meta loaded ok (v1.4414) CPAN: CPAN::Meta loaded ok (v2.142690) CPAN: Module::CoreList loaded ok (v5.20140920) CPAN: Module::Build loaded ok (v0.421) Configuring M/MI/MITHUN/TMDB-0.11.tar.gz with Build.PL Checking prerequisites... requires: ! JSON::Any is not installed ! Object::Tiny is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n !! NOTE !! TMDB-v0.04 and higher uses TheMoviDB API version '/3'. This br +ings some significant differences both to the API and the interface + this modu le provides, along with updated dependencies for this distributio +n. If you like to continue to use v2.1 API, you can continue to use TMDB-0.03x [ ]. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'TMDB' version '0.11' MITHUN/TMDB-0.11.tar.gz C:\Strawberry\perl\bin\perl.exe Build.PL -- OK Running Build for M/MI/MITHUN/TMDB-0.11.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MITHUN/TMDB-0.11.tar.gz ---- Object::Tiny [requires] JSON::Any [requires] Running install for module 'Object::Tiny' CPAN: LWP::UserAgent loaded ok (v6.06) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: +tar.gz Fetching with LWP: Checksum for C:\Strawberry\cpan\sources\authors\id\A\AD\ADAMK\Object-T +iny-1.08.t ar.gz ok Configuring A/AD/ADAMK/Object-Tiny-1.08.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Object::Tiny Writing MYMETA.yml and MYMETA.json ADAMK/Object-Tiny-1.08.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for A/AD/ADAMK/Object-Tiny-1.08.tar.gz !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Cannot copy 'lib/Object/' to 'blib\lib\Object\': +No such fi le or directory !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1. dmake.exe: Error code 130, while making 'pm_to_blib' ADAMK/Object-Tiny-1.08.tar.gz C:\Strawberry\c\bin\dmake.exe -- NOT OK Stopping: 'install' failed for 'Object::Tiny'.
        On my first go, I didn't have a folder named "perlscripts", I was running the portable shell under the directory in which portable Strawberry was installed and instead of the above error, it was showing errors in trying to extract modules/files that were supposed to be in the blib directory. And, until I created a folder name "perlscripts", there was no blib directory. And I also apparently can't manually install modules either. wtf?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1103036]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-12-06 11:45 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (30 votes). Check out past polls.