Dear MySQL,
I am try to compile on SUSE 9.1 using gcc 3.3.3.
This fails quickly:
make[2]: Entering directory `/..../mysql-4.1.9/mysys'
if gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -O3 -DDBUG_OFF -O2 mcpu=pentiumpro -felide-constructors -MT my_new.o -MD -MP -MF ".deps/my_new.Tpo" -c -o my_new.o my_new.cc; \
then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
gcc: cannot specify -o with -c or -S and multiple compilations
I have given the compilation options specified in the manual, section 2.1.2.5, with a few more I need, therefore compile as:
export CFLAGS="-O2 -mcpu=pentiumpro" export CXX=gcc export CXXFLAGS="-O2 mcpu=pentiumpro -felide-constructors"
./configure \ --with-innodb \ --prefix=/usr/local/mysql \ --localstatedir=/usr/local/mysql/var \ --with-unix-socket-path=/usr/local/mysql/mysql.sock \ --with-client-ldflags=-all-static \ --with-mysqld-ldflags=-all-static \ --libdir=/usr/lib/mysql \ --includedir=/usr/include/mysql \ --with-charset=utf8 \ --with-extra-charsets=complex \ --with-cvs-storage-engine \ --with-archive-storage-engine \ --enable-local-infile \ --enable-assembler \ --disable-shared \ --enable-thread-safe-client \ --with-named-curses-libs=/usr/lib/libcurses
make
Any help would be extremely useful.
Kind regards,
Ben Clewett.
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]