MySQL Forums
Forum List  »  Source, Builds, Binaries

Compling MySQL 5.0.41 using Sun Studio 11 on AMD64
Posted by: Yariv Graf
Date: May 21, 2007 01:44PM

Hi,
I'm trying to compile MySQL server using Sun Studio 11 compiler using the link below:

http://developers.sun.com/solaris/articles/mysql_perf_tune.html

my box:
full Solaris 10 installation 10/6 on AMD Athlon 64
Sun Studio 11

compilation:

export PATH="/opt/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/ucb"
CC=cc CFLAGS="-xO3 -mt -fsimple=1 -ftrap=%none -nofstore
-xbuiltin=%all -xlibmil -xlibmopt -xtarget=opteron
-xarch=amd64 -xregs=no%frameptr"
CXX=CC CXXFLAGS="-xO3 -mt -fsimple=1 -ftrap=%none -nofstore
-xbuiltin=%all -xlibmil -xlibmopt -xtarget=opteron
-xarch=amd64 -xregs=no%frameptr"

LDFLAGS="-xtarget=opteron -xarch=amd64"

./configure --prefix=/usr/local/mysql
--localstatedir=/usr/local/mysql/data
--libexecdir=/usr/local/mysql/bin --with-extra-charsets=complex
--with-server-suffix=-standard --enable-thread-safe-client
--enable-local-infile --with-named-curses=-lcurses
--with-big-tables --disable-shared --with-readline
--with-archive-storage-engine --with-innodb


The "configure" session goes well but when I try to "dmake" or "make",
I'm getting this error:

*** Error code 255
dmake: Fatal error: Command failed for target `libreadline.a'
Current working directory /tmp/mysql-5.0.41/cmd-line-utils/readline


Any ideas?

Thanks in advance

Yariv

Options: ReplyQuote


Subject
Views
Written By
Posted
Compling MySQL 5.0.41 using Sun Studio 11 on AMD64
2702
May 21, 2007 01:44PM


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.