PDA

Visualizza la versione completa : [perl] Installare Parse::Win32Registry su Lion


peppespe
19-08-2011, 13:20
Premetto di lavorare su una macchina Mac OS 10.7 con Perl v5.12.3.

Avrei la necessitÓ di utilizzare di utilizzare un particolare applicativo scritto in Perl denominato RegRipper, il quale necessita del modulo Parse::Win32Registry.

Questi giÓ lo usavo su Snow Leopard (10.6), ma ho avuto dei problemi di esecuzione sotto Lion (10.7).



$ perl rip.pl -l
Can't locate Parse/Win32Registry.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at rip.pl line 18.
BEGIN failed--compilation aborted at rip.pl line 18.


Ho pensato quindi che era il caso di re-installarlo, ma ho avuto dei problemi d'installazione



cpan[1]> install Parse::Win32Registry
CPAN: Storable loaded ok (v2.22)
Going to read '/Users/giuseppespecchio/.cpan/Metadata'
Database was generated on Wed, 17 Aug 2011 07:42:19 GMT
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Going to read '/Users/giuseppespecchio/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.024)
.................................................. ..........................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read '/Users/giuseppespecchio/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Fri, 19 Aug 2011 10:29:22 GMT
...............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.9456]
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://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/Users/giuseppespecchio/.cpan/sources/modules/03modlist.data.gz'
.................................................. ..........................DONE
Going to write /Users/giuseppespecchio/.cpan/Metadata
Running install for module 'Parse::Win32Registry'
Running make for J/JM/JMACFARLA/Parse-Win32Registry-0.60.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /Users/giuseppespecchio/.cpan/sources/authors/id/J/JM/JMACFARLA/Parse-Win32Registry-0.60.tar.gz ok
Scanning cache /Users/giuseppespecchio/.cpan/build for sizes
.................................................. ..........................DONE
CPAN: Archive::Tar loaded ok (v1.54)
Parse-Win32Registry-0.60/

<<OMISSISS>>

CPAN: Parse::CPAN::Meta loaded ok (v1.40)

CPAN.pm: Going to build J/JM/JMACFARLA/Parse-Win32Registry-0.60.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Parse::Win32Registry
CPAN: Module::CoreList loaded ok (v2.43)
Can't exec "/usr/bin/make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
JMACFARLA/Parse-Win32Registry-0.60.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
JMACFARLA/Parse-Win32Registry-0.60.tar.gz : make NO


Sulla base di tale risultato ho verificato l'effettiva esistenza del file Distribution.pm, mentre il sistema diceva che non era in grado di trovarlo!

Loading