Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Trouble getting perlbrew working on Solaris machine

by mje (Deacon)
on Sep 19, 2012 at 07:36 UTC ( #994422=note: print w/ replies, xml ) Need Help??


in reply to Re: Trouble getting perlbrew working on Solaris machine
in thread Trouble getting perlbrew working on Solaris machine

All that shell output was pasted from the same terminal session. I put the source command in the ~/bash_profile logged out then back in but just for luck I also sourced it manually. The find command was issued from ~/perl5 (as the output shows, the login dir of that user then perl5 where perlbrew installed itself). perl -V does not work:

$ perl -V Can't locate Config.pm in @INC (@INC contains: ../lib/site_perl/5.16.1 +/sun4-solaris ../lib/site_perl/5.16.1 ../lib/5.16.1/sun4-solaris ../l +ib/5.16.1 .). BEGIN failed--compilation aborted. $ cd ~/perl5 $ find . -name Config.pm -print ./perlbrew/perls/perl-5.16.1/lib/5.16.1/sun4-solaris/Config.pm ./perlbrew/build/perl-5.16.1/lib/Config.pm ./perlbrew/Config.pm # I filtered out some other Config.pms


Comment on Re^2: Trouble getting perlbrew working on Solaris machine
Download Code
Re^3: Trouble getting perlbrew working on Solaris machine
by gugod (Initiate) on Oct 03, 2012 at 18:34 UTC

    Hmm, you're probably run into issues with userelocatableinc . It was enabled by default for perl version >= 5.15.5 and worked fine on Mac/Linux, but apparently it has issues on other platforms.

    For now you may try to re-install perl-5.16.1 again by doing

    PERLBREW_CONFIGURE_FLAGS="-de" perlbrew install perl-5.16.1

    (After a `perlbrew uninstall perl-5.16.1` -- that essentially rm -rf the directory.)

    However I believe if you put full path shebang in your programs it should be good to run. It's just the perlbrew switching function that does not work well.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2014-09-30 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (375 votes), past polls