I got the source tarbal from mysql.com of the latest version about 3.23.
When I compile it, I get some errors of assembler etc.
I start ./configure with these settings
CC=gcc CFLAGS="-O6" \
CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql --localstatedir=/var/mysql \
--with-low-memory
After I edit the config.h file and remove all entries of HAVE_TERM_H and HAVE_CURSE . ( I also tried it without this modification. )
then when I start compiling this errors happen:
Assembler: password.c
"/var/tmp/ccCtqApg.s", line 166 : Illegal mnemonic
"/var/tmp/ccCtqApg.s", line 166 : Syntax error
"/var/tmp/ccCtqApg.s", line 222 : Illegal mnemonic
"/var/tmp/ccCtqApg.s", line 222 : Syntax error
"/var/tmp/ccCtqApg.s", line 378 : Illegal mnemonic
"/var/tmp/ccCtqApg.s", line 378 : Syntax error
"/var/tmp/ccCtqApg.s", line 457 : Illegal mnemonic
"/var/tmp/ccCtqApg.s", line 457 : Syntax error
*** Error code 1
make: Fatal error: Command failed for target `password.lo'
Current working directory /usr/local/mysql-3.23.43/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/mysql-3.23.43
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
I used GCC 2.9.5
Has anyone in this round succesfull compilied version of mysql 3.23.xx on Soalris 8 ? So please help me!
Thank you a lot for your help!
regards,
Patrick