Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Trouble getting perlbrew working on Solaris machine

by mje (Curate)
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 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 -print ./perlbrew/perls/perl-5.16.1/lib/5.16.1/sun4-solaris/ ./perlbrew/build/perl-5.16.1/lib/ ./perlbrew/ # I filtered out some other Config.pms

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-10-28 05:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.