Peter Wood | 26 Aug 2008 20:45
Favicon

DBD::mysql make fails on RHEL 4 IA64 w/MySQL 5.1.24

Greetings,

I'm trying to compile DBD::mysql on a server with the following specs:

* 64-bit Intel architecture
* Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
* MySQL community server 5.1.24 for rhel4 ia64, installed via RPM from
MySQL.com
* Perl 5.8.5
* DBD::mysql 4.008

I run perl Makefile.PL with default settings, then make. Make then dies.
Here is a transcript of my "make" session:

# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c
-I/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
-I/usr/include/mysql  -g -no-ftz -no-prefetch   -DUNIV_LINUX -g
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m64   -DVERSION=\"4.008\"
-DXS_VERSION=\"4.008\" -fPIC
"-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"   dbdimp.c
gcc: unrecognized option `-no-ftz'
gcc: unrecognized option `-no-prefetch'
dbdimp.c: In function `alloc_param':
(Continue reading)

Peter Wood | 27 Aug 2008 15:40
Favicon

RE: DBD::mysql make fails on RHEL 4 IA64 w/MySQL 5.1.24

Hi all,

I've discovered the problem, and it's totally unrelated to DBD::mysql.
Turns out I was confused about what architecture I was running on and
which MySQL packages to download. We have an Intel Xeon which is x86_64.
However, when I went to download the MySQL devel package, I didn't see
x86_64, just AMD64. I thought IA64 looked like the closest thing, so
that's what I installed. Whoops! I now realize that AMD64 works on both
AMD64 and Intel x86_64, though I have to say that the package labeling
could be a bit clearer.

Sorry for the confusion!

Peter

-----Original Message-----
From: Peter Wood 
Sent: Tuesday, August 26, 2008 2:45 PM
To: 'perl <at> lists.mysql.com'
Subject: DBD::mysql make fails on RHEL 4 IA64 w/MySQL 5.1.24

Greetings,

I'm trying to compile DBD::mysql on a server with the following specs:

* 64-bit Intel architecture
* Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
* MySQL community server 5.1.24 for rhel4 ia64, installed via RPM from
MySQL.com
* Perl 5.8.5
(Continue reading)

Patrick Galbraith | 27 Aug 2008 18:37

Re: DBD::mysql make fails on RHEL 4 IA64 w/MySQL 5.1.24

Peter,

This is one reason why I wish I could have a separate client source 
distribution to package with DBD::mysql.

--Patrick

Peter Wood wrote:
> Hi all,
>
> I've discovered the problem, and it's totally unrelated to DBD::mysql.
> Turns out I was confused about what architecture I was running on and
> which MySQL packages to download. We have an Intel Xeon which is x86_64.
> However, when I went to download the MySQL devel package, I didn't see
> x86_64, just AMD64. I thought IA64 looked like the closest thing, so
> that's what I installed. Whoops! I now realize that AMD64 works on both
> AMD64 and Intel x86_64, though I have to say that the package labeling
> could be a bit clearer.
>
> Sorry for the confusion!
>
> Peter
>
>
> -----Original Message-----
> From: Peter Wood 
> Sent: Tuesday, August 26, 2008 2:45 PM
> To: 'perl <at> lists.mysql.com'
> Subject: DBD::mysql make fails on RHEL 4 IA64 w/MySQL 5.1.24
>
(Continue reading)


Gmane