Re: Can't locate DBI.pm
- From: jdw@xxxxxx (James D. White)
- Date: Thu, 28 Apr 2005 08:48:07 -0500
It looks like you have a fresh install of Solaris 9, not a fresh install of perl.
"v5.6.1 built for sun4-solaris-64int" is the version that comes with Solaris 9,
which was built by Sun using a Sun C compiler and installed, I assume, as
/usr/bin/perl.
You have two options.
1) Spend money. Buy and install the Sun C compiler that was used to build the perl that came with Solaris 9. Then build DBI with that C compiler. You do not have the C compiler as evidences by "/usr/ucb/cc: language optional software package not installed".
2) Save money. Download and install gcc. Download the source version of
perl. Check out README.solaris. Install the downloaded source version
of perl into /usr/local, but leave the Sun compiled version in /usr. Some of
the Solaris utilities depend upon that version, but the path is hard-wired
into the programs, so as long as /usr/local/bin is in your path before /usr/bin,
you can run the version you install, and the Solaris utilities use their version.
Install DBI and any other perl modules you may need.
Michael A Chase wrote:
On 04/27/2005 01:22 PM, Chekuri, Lalitha said:
It is fresh install: magma:oracle $uname -a SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60
My perl -v magma:oracle $perl -v
This is perl, v5.6.1 built for sun4-solaris-64int (with 48 registered patches, see perl -V for more detail)
For CC: magma:oracle $what cc can't open cc (26) magma:oracle $which cc /usr/ucb/cc magma:oracle $cc /usr/ucb/cc: language optional software package not installed
It is exactly as Ron and Michael Nhan said, you need to either install the same compiler that was used to build your perl or you need to build perl with the comipler you have
Modules __MUST__ be built with the same compiler that was used to build perl.
.
- References:
- RE: Can't locate DBI.pm
- From: Lalitha Chekuri
- Re: Can't locate DBI.pm
- From: Michael A Chase
- RE: Can't locate DBI.pm
- Prev by Date: Re: DBD::Oracle and XMLType
- Next by Date: RE: Can't locate DBI.pm
- Previous by thread: Re: Can't locate DBI.pm
- Next by thread: RE: Can't locate DBI.pm
- Index(es):
Relevant Pages
|
|