Re: install cpan dbd::mysql inside oracle perl

From: Jared Still <jkstill_at_gmail.com>
Date: Wed, 28 Jan 2009 09:54:05 -0800
Message-ID: <bf46380901280954l6da068e9g84ed46442f927d7a_at_mail.gmail.com>



On Wed, Jan 28, 2009 at 9:39 AM, Ujang Jaenudin <ujang.jaenudin_at_gmail.com>wrote:

>
>
> oracle 10.2.0.4 solaris 10 x86_64
>
> I'm trying install dbd::mysql inside oracle perl, but always got this
> when run cpan...
>
> make: Fatal error: Don't know how to make target
>
> `/build/001/perl/bin/Solaris/Opt/lib/5.8.3/i86pc-solaris-thread-multi/CORE/config.h'
>

My first thought is that the MySQL environment is not set correctly.

Honestly though, building DBD::Anything is usually dead simple on Linux, which is the flavor of unix that I use, that I have not had a problem in ages.

Building DBD::Oracle on Solaris, AIX and HP/UX is sometimes problematic.

One statement you made confuses me:

I'm trying install dbd::mysql inside oracle perl, but always got this
> when run cpan...
>

Are you trying to use the Perl that is distributed with Oracle?

If so, I would strongly advise that you download, build and install a separate copy of Perl for your migration project, and build and install whatever Perl modules you need into the new Perl.

You should probably point your browser http://lists.perl.org, and locate the appropriate mailing list to help you with this if you have further problems.

I would recommend the dbi-users list

Jared

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 28 2009 - 11:54:05 CST

Original text of this message