in reply to Re^2: Fresh perl install
in thread Fresh perl install

The current version of Xcode is 4.3.3; however, I doubt that's the issue. Given that you have a make in your PATH, I suspect that Commanf Line Tools is not the issue either. Did you happen to look at the logs after the failed installs to see what the error was? Do you remember whether you installed perlbrew and cpanm in your home directory as per perlbrew.pl's instructions?

Replies are listed 'Best First'.
Re^4: Fresh perl install
by Anonymous Monk on Jul 05, 2012 at 00:00 UTC
    curl -kL http://install.perlbrew.pl | bash I only used this command since it would be enough i figured, it is installed in /Users/bert/perl5/perlbrew it then has directories bin build dist etc perl5 I cant see a cpan file in it, i only used the above command. CPAN: Storable loaded ok (v2.18) Going to read /Users/robertweijerman/.cpan/Metadata Database was generated on Wed, 04 Jul 2012 00:35:04 GMT Running install for module 'App::cpanminus' CPAN: Data::Dumper loaded ok (v2.121_14) 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/robertweijerman/.cpan/prefs' Running make for M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /Users/robertweijerman/.cpan/sources/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz ok x App-cpanminus-1.5015/ x App-cpanminus-1.5015/bin/ x App-cpanminus-1.5015/Changes x App-cpanminus-1.5015/lib/ x App-cpanminus-1.5015/Makefile.PL x App-cpanminus-1.5015/MANIFEST x App-cpanminus-1.5015/META.json x App-cpanminus-1.5015/META.yml x App-cpanminus-1.5015/README x App-cpanminus-1.5015/t/ x App-cpanminus-1.5015/t/happy_cpantesters.t x App-cpanminus-1.5015/lib/App/ x App-cpanminus-1.5015/lib/App/cpanminus.pm x App-cpanminus-1.5015/bin/cpanm CPAN: File::Temp loaded ok (v0.18) Warning (usually harmless): 'YAML' not installed, will not store persistent state CPAN.pm: Going to build M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite Module::Build 0.36 not found. We have 0.280801. Writing Makefile for App::cpanminus Could not read '/Users/robertweijerman/.cpan/build/App-cpanminus-1.5015-GupXg9/META.yml'. Falling back to other methods to determine prerequisites ---- Unsatisfied dependencies detected during ---- ---- MIYAGAWA/App-cpanminus-1.5015.tar.gz ---- then it tries to install 5 dependencies all unsuccesfully since i had just uninstalled macports, in which i sudo port installed perl5, that did succesfully install App::cpanminus but then it still could not recognize the cpanm command, I can reinstall macports and reinstall perl through that maybe? I am pretty sure my mac perl files are all screwed up and i would like to have this clean install, i already tried macports but that did not work too well, and i have no idea how to use perlbrew

      curl -kL http://install.perlbrew.pl | bash I only used this command since it would be enough i figured, it is installed in /Users/bert/perl5/perlbrew it then has directories bin build dist etc perl5 I cant see a cpan file in it, i only used the above command.

      CPAN: Storable loaded ok (v2.18) Going to read /Users/robertweijerman/.cpan/Metadata Database was generated on Wed, 04 Jul 2012 00:35:04 GMT Running install for module 'App::cpanminus' CPAN: Data::Dumper loaded ok (v2.121_14) 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/robertweijerman/.cpan/prefs' Running make for M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /Users/robertweijerman/.cpan/sources/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz ok x App-cpanminus-1.5015/ x App-cpanminus-1.5015/bin/ x App-cpanminus-1.5015/Changes x App-cpanminus-1.5015/lib/ x App-cpanminus-1.5015/Makefile.PL x App-cpanminus-1.5015/MANIFEST x App-cpanminus-1.5015/META.json x App-cpanminus-1.5015/META.yml x App-cpanminus-1.5015/README x App-cpanminus-1.5015/t/ x App-cpanminus-1.5015/t/happy_cpantesters.t x App-cpanminus-1.5015/lib/App/ x App-cpanminus-1.5015/lib/App/cpanminus.pm x App-cpanminus-1.5015/bin/cpanm CPAN: File::Temp loaded ok (v0.18) Warning (usually harmless): 'YAML' not installed, will not store persistent state CPAN.pm: Going to build M/MI/MIYAGAWA/App-cpanminus-1.5015.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite Module::Build 0.36 not found. We have 0.280801. Writing Makefile for App::cpanminus Could not read '/Users/robertweijerman/.cpan/build/App-cpanminus-1.5015-GupXg9/META.yml'. Falling back to other methods to determine prerequisites ---- Unsatisfied dependencies detected during ---- ---- MIYAGAWA/App-cpanminus-1.5015.tar.gz ----

      then it tries to install 5 dependencies all unsuccesfully since i had just uninstalled macports, in which i sudo port installed perl5, that did succesfully install App::cpanminus but then it still could not recognize the cpanm command, I can reinstall macports and reinstall perl through that maybe? I am pretty sure my mac perl files are all screwed up and i would like to have this clean install, i already tried macports but that did not work too well, and i have no idea how to use perlbrew

      sorry for the previous reply
        then it tries to install 5 dependencies all unsuccesfully

        If you can get that 5th dependency to install, then the other modules (that depend upon it) might then install.

        What happens if you try to 'cpan install' that 5th dependency ?
        Are you familiar with the manual installation process - where, instead of running 'cpan install' you download and unpack the source tarball, cd to its top-level folder and run 'perl Makefile.PL', 'make test' and 'make install' ?

        (I'm not a macs user, btw. The above approach merely outlines the way *I* would go about trying to understand and solve the problem)

        Cheers,
        Rob