On Fri, 2 Dec 2005, Adriano Ferreira wrote:

> I see your point, Chris. What I was thinking about was the trouble to 
> realocate the interpreter if you have a perl binary instead of 
> compiling it from the source. If you use a perl compiled to be in 
> "/usr/local/bin" in a different path like '/home/me/bin', it works 
> sometimes and other times it will fail because of path assumptions, 
> which I don't know exactly what they are. This mostly happens with 
> Perl modules dependent on shared libraries.

...of course, the lesson there is "don't move the perl binary" :-)

If for some reason you need a copy in /home/me/bin instead of or in 
addition to the one in /usr/bin or /usr/local/bin, then build your own 
copy from source with PREFIX defined as "/home/me". Look over the notes 
in the README as well as the Makefile.PL arguments available in the copy 
of the Perl source you download for more specific instructions. 

But anyway, yeah. In general, you can't depend on things working 
consistently if you just start randomly moving around compiled programs 
and libraries. Sometimes it won't matter, but other times, the results 
just won't be predictable. 


-- 
Chris Devers

T/w˜ò-‚ñgm§V
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to