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