On Wed, 4 Aug 2004, Witzke, Rob wrote:

> Witzke, Rob wrote:
> > Unfortunately, this does indeed seem to be the case and I can't
> > rebuild perl without jeopardizing our primary system
>
> You can build a second copy of Perl and point to that for your DBI > scripts by changing the shebang line...


That would be great. Where can I find the instructions for that?

With the instructions for installing Perl itself.

Just follow the regular intructions for building Perl on your platform. The only wrinkle to be aware of that might not be spelled out in the standard instructions is that you need to specify an alternate install directory, such as /usr/local or /opt.

If you already have a copy of Perl at /usr/bin/perl, then your installed version will wipe it out. This can be appealing at first, but if you do this then system scripts that depend on the vendor's Perl being a particular version in /usr/bin/perl may break, and if the vendor sends out a new version of Perl with some future update then your copy will break.

By putting your copy elsewhere, you avoid such complications.

The easiest way here is to specify "./configure --prefix=/usr/local" when setting up your copy, but read over the documentation that comes with your new version of Perl, and look over the options available from a "./configure --help" to see if there's anything else you want.

Beyond that, just follow the shipped directions and, as always, let the list know if you hit any complications.


-- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/

np: 'Fallout!'
     by Henry Mancini
     from 'The Best Of Mancini'

--
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