$ perl -V:sh
sh='cmd /x /c';
$ cmd /?
...
/D Disable execution of AutoRun commands from registry (see below
+)
...
If /D was NOT specified on the command line, then when CMD.EXE starts,
+ it
looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and i
+f
either or both are present, they are executed first.
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
and/or
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
| [reply] [d/l] [select] |
Still not working. Is there some root directory I could go to change where it wants to set up this 'blib' directory? | [reply] |
| [reply] |
(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
| [reply] |
Well, it's the same, exact error as is in the log
----------------------------------------------
Welcome to Strawberry Perl Portable Edition!
* URL - http://www.strawberryperl.com/
* 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 TMDB.pm 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 [ https://metacpan.org/release/MITHUN/TMDB-0.03/ ].
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:
http://cpan.strawberryperl.com/authors/id/A/AD/ADAMK/Object-Tiny-1.08.
+tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/A/AD/ADAMK/CHECKSUMS
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/Tiny.pm' to 'blib\lib\Object\Tiny.pm':
+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?
| [reply] [d/l] |