I submitted this back on the 6th of October, and never got a reply to it,
so I'll try one more time in hopes that someone can help me with this
compilation problem.

I've got a Dual Pentium 233MHz with 64MB of RAM loaded with SuSE Linux 7.1
and gcc-2.95.2.  I'm running the 2.4.7 kernel, and I have no problems
compiling the 3.23.x version of MySQL, but with the new alpha version,
I'm having the following problem.  Here are the config options for it,
followed by the errors:

./configure --prefix=/usr/local/mysql --with-innodb
--with-berkeley-db=/usr/local/BerkeleyDB.3.2

Here is the error that I get when it's compiling in the libmysql
directory:

gcc -O3 -DDBUG_OFF -mcpu=pentiumpro -march=pentiumpro -DCPU=pentiumpro
-rdynamic -o conf_to_src conf_to_src.o -lz -lcrypt -lnsl -lm
./conf_to_src ..  latin1 > \
              ./ctype_extra_sources.c
make[2]: *** [ctype_extra_sources.c] Error 132
make[2]: Leaving directory `/usr/src/mysql-4.0.0-alpha/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-4.0.0-alpha'
make: *** [all-recursive-am] Error 2

If I type make again, here's what comes up:

gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\"
-DDATADIR=\"/usr/local/mysql/var\"
-DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK
-DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3
-DDBUG_OFF -mcpu=pentiumpro -march=pentiumpro -DCPU=pentiumpro -c ctype.c
-fPIC -DPIC -o .libs/ctype.lo
In file included from ctype.c:27:
ctype_autoconf.c:9: `ctype_latin1' undeclared here (not in a function)
ctype_autoconf.c:9: initializer element is not constant
ctype_autoconf.c:9: (near initialization for `compiled_charsets[0].ctype')
ctype_autoconf.c:10: `to_lower_latin1' undeclared here (not in a function)
ctype_autoconf.c:10: initializer element is not constant
ctype_autoconf.c:10: (near initialization for
`compiled_charsets[0].to_lower')
ctype_autoconf.c:11: `to_upper_latin1' undeclared here (not in a function)
ctype_autoconf.c:11: initializer element is not constant
ctype_autoconf.c:11: (near initialization for
`compiled_charsets[0].to_upper')
ctype_autoconf.c:12: `sort_order_latin1' undeclared here (not in a
function)
ctype_autoconf.c:12: initializer element is not constant
ctype_autoconf.c:12: (near initialization for
`compiled_charsets[0].sort_order')
make: *** [ctype.lo] Error 1

Can anyone tell me why this won't compile in my machine?

Ed


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to