OK....

Daniel, thanks for your tips. They made the errors dissapear...but a new one
appeared in return :

again, the configure is going fine. Here's what I typed on the command line:

# CFLAGS=-O3 # CXX=gcc #
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" # export
CFLAGS CXX CXXFLAGS#
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldfla
gs=-all-staticthen, I start the make, and for about 30 seconds it starts to
make, and then it drops back to CL with these errors:
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/usr/local/mysql
/var\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDO
NT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -
I.. -I.. -O3 -DDBUG_OFF -O3 -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c
libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o
.libs/libmysql.lo

In file included from ../include/my_global.h:225,

from libmysql.c:17:

/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/include/math.h:25:26:
iso/math_iso.h: No such file or directory

*** Error code 1

make: Fatal error: Command failed for target `libmysql.lo'

Current working directory /usr/local/src/mysql-4.0.14/libmysql

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /usr/local/src/mysql-4.0.14

*** Error code 1

make: Fatal error: Command failed for target `all'



Again, it appears a file cannot be found. Probably I'm still missing
something, maybe paths or libraries ?
Not to long ago, I compiled MySQL on another Sun box, running on Solaris 8.
I  checked the iso directory, and noticed that the math_iso.h file wasn't
there either, so apparantly, it didn't need it back then. Isn't that odd ?

Anyway, Any help again is appreciated.

Thanks !!

Andy


> Andy Kannberg wrote:
>
> >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
> >
> >
> >
> For starters, that's an O - a capital 'o', not the number 0, in -O3.
> The 'ar' program is a part of 'binutils'. Maybe you need to install some
> development libraries or something. Or at least binutils.
>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to