Re: DBD-mysql-3.0002 compile problem
-xarch=v9 is an option that is valid only for the Sun compiler. It tells the compiler to produce 64-bit SPARC code. I'm guessing that Perl on your system was built with the Sun compiler. You may be able to verify this by running "perl -V" to get the compiler information.
The Makefile for DBD::mysql probably picked up the flag from the Config module of Perl.
According to "
http://search.cpan.org/~nwclark/perl-5.8.8/README.solaris#Building_an_LP64_perl", GCC 3 produces 64-bit code on SPARC architecture with options "-mcpu=v9 -m64". I don't have a SPARC sun box, so I can't confirm this.
In order for DBD::mysql to work, you need to have compatible binaries for MySQL, Perl, and DBD::mysql. So you may have to build all three from source.
Regards,
Bill K.
Subject
Written By
Posted
November 29, 2005 12:54PM
Re: DBD-mysql-3.0002 compile problem
April 24, 2006 08:09PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.