in reply to Re^2: strange "Perl on Leopard" install behavior
in thread strange "Perl on Leopard" install behavior

I do installs into /usr/local under Solaris as it is a common target location for a lot of stuff, especially packages from http://www.sunfreeware.com. However, to avoid having the o/s mess with it I actually have a separate partition that I mount as /local and make /usr/local a symbolic link to it. Thus, all of my installed packages are held away from /usr. I can then break that link when tinkering with upgrades and remake it again once the danger has, hopefully, passed.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^4: strange "Perl on Leopard" install behavior
by punkish (Priest) on Jan 12, 2008 at 18:29 UTC
    Now, *this* is a great suggestion. Thanks. I will implement this. Given that I already have stuff in my /usr/local/, I should be just able to duplicate that under my home directory ~/usr/local/, then remove /usr/local/, and then create the symbolic link, as suggested. Does that sound ok? (I am not intricately familiar with the Unix underpinnings, so I want to proceed on this carefully so as to not upset an already existing apple cart).

    Still would like to know why that darn os upgrade do something so dumb as to rename my lib, and then create a circular link from a new lib to itself.

    --

    when small people start casting long shadows, it is time to go to bed
      That sounds safe enough but, just to be really paranoid, instead of removing /usr/local rename it instead. That way it's still there in case of mishap. Only remove it once you are sure your new symbolic link to ~/usr/local is doing what you expect.

      Sorry for the slow reply, I've been in the kitchen for what seems like hours.

      Cheers,

      JohnGG