Mickey Mestel wrote:
it has been a number of years since i have made and installed the
dbi, and i'm at it again.

        platform:  solaris 9 on sparc, dbi 1.34, dbd informix 2003.03.0401,
gcc 2.95.3, perl 5.8.4.

        problem is that with the stock perl, (which is 5.6.1), while with
some tweaking, i can get things to compile and test reasonably ok.  but it
is explicit in the README that perl, dbi and dbd should all be compiled with
the same compiler.  i've also read that there can be issues with replacing
the standard perl that comes with solaris.

        things compile and run great when i start from scratch, but that
means replacing the existing perl that shipped with solaris.

        my one thought was to simply install it under a different path, and
set my path to point to that when i want to use the dbi.

any other thoughts? i'm sure this has been encountered before..

Hi Mickey,

I use Solaris 8 on Sparc, DBI 1.43, DBD::Informix 2003.04, GCC 3.4.1, Perl 5.8.4 (I installed 5.8.5 today, but I've not really used it yet; the good news is DBI and DBD::Informix both installed without a hitch).

I still have the system provided Perl 5.6.x in /usr/bin; I simply don't ever use it (nor the Perl 5.4.4 installed in /usr/local/bin). My copy of Perl is in /usr/perl/v5.8.x (separate directories for each x in { 0, 3, 4, 5 }). And I simply ensure my Perl comes before the system Perl in PATH. I have a Perl script which I use for setting PATH so it automatically picks up the latest Perl - I can supply that on demand.

So, that is your last listed option; I just use my copy when I want to use Perl - I only ever use the system copies when I explicitly need to do something which must work with the archaic and without the hundreds of modules I have installed.

--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/

Reply via email to