Hello all. I'm trying to compile MySQL-4.0.0 on Slackware 8. Here's what I've done...
export CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --enable-thread-safe-client --with-openssl --enable-assembler make Then after a little compiling, I get: gcc -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DDATADIR=\"/usr/local/var\" -DSHAREDIR=\"/usr/local/share/mysql\" -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -I/usr/include/openssl -O3 -DDBUG_OFF -O3 -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[2]: *** [ctype.lo] Error 1 make[2]: Leaving directory `/usr/src/mysql-4.0.0-alpha/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.0.0-alpha' make: *** [all-recursive-am] Error 2 root@vortex:/usr/src/mysql-4.0.0-alpha# I have tried with the Autoconf that came with Slackware 8 (version 2.5), and then remembered that this sometimes gives problems compiling stuff that hasn't been updated, so i tried Autoconf-2.13. No difference, so I suppose I can rule out autoconf. Also, if you could cc: me at [EMAIL PROTECTED] that would be great as I'm only subscribed to the daily digest. Thanks in advance! Dan -- Daniel Kasak IT Developer * NUS Consulting Group* Level 18, 168 Walker Street North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com --------------------------------------------------------------------- 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