Hi, I am trying to compile MySQL cluster source code on linux RedHat 9. The software required are all installed with the right versions. And I use the file BUILD/compile-pentium-max as suggested in Introduction documents. But the compilation fails, and I got some output about errors as below. Could anybody give me some suggestion on how I can fix it? Thanks a lot.
Xianan ----------------------------------------------------------- if --preserve-dup-deps --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDONT_USE_RAID -I. -I. -I.. -I../include -I/usr/kerberos/include -O3 -DDBUG_OFF -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer -g -MT libmysql.lo -MD -MP -MF ".deps/libmysql.Tpo" \ -c -o libmysql.lo `test -f 'libmysql.c' || echo './'`libmysql.c; \ then mv -f ".deps/libmysql.Tpo" ".deps/libmysql.Plo"; \ else rm -f ".deps/libmysql.Tpo"; exit 1; \ fi /bin/sh: line 1: --preserve-dup-deps: command not found gmake[2]: *** [libmysql.lo] Error 1 gmake[2]: Leaving directory `/home/globus/install/MySQL/cluster/mysql-4.1/libmysql_r' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/globus/install/MySQL/cluster/mysql-4.1' gmake: *** [all] Error 2