Hi all,

I'm trying to compile MySQL 4.0.14 on a SUN Enterprise 220R, running on Solaris 9 
12/02 with the latest patch clusters installed. I use gcc 3.2.3 to compile, along with 
gnu make 3.80
I've followed instructions in the MySQL Docs from www.mysql.com, so I've run this 
command :

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions  \-fno-rtti" 
./configure --prefix=/usr/local/mysql --enable-assembler 
\--with-mysqld-ldflags=-all-staticThe configure command goes well, but when I type 
make, it starts making, but suddenly it drops back to the command line with the 
following message: 
ar cru libreadline.a readline.o funmap.o keymaps.o vi_mode.o parens.o rltty.o 
complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o 
callback.o terminal.o xmalloc.o history.o histsearch.o histexpand.o histfile.o nls.o 
search.o shell.o tilde.o 

/bin/bash: ar: command not found

make[2]: *** [libreadline.a] Error 127

make[2]: Leaving directory `/mail/Software/MySQL/4.0.14/mysql-4.0.14/readline'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/mail/Software/MySQL/4.0.14/mysql-4.0.14'

make: *** [all] Error 2



During the make, I also see messages like this:

gcc: unrecognized option '-03'

while the documentation says the option '-03' is necesary.

Can anybody help me on this ?



Cheers,



Andy

Reply via email to