[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling mysql



On Tuesday, August 13, 2002, at 02:01 AM, Helmut Ebelt wrote:

of course, sorry about that:

CFLAGS="-O2" CXX="gcc" CXXFLAGS="-fno-exceptions"
./configure --enable-assembler --with-innodb --with-unix-socket-path=/tmp/my
sql.sock --enable-thread-safe-client --datadir=/home/mysql/share

thanx in advance,
 Helmut Ebelt

I had to use a slightly different configure line, because for some reason it cant find the curses library.

CFLAGS="-O2" CXX="gcc" CXXFLAGS="-fno-exceptions" ./configure --enable-assembler --with-innodb --with-unix-socket-path=/tmp/mysql.sock --enable-thread-safe-client --datadir=/home/mysql/share --with-named-curses-libs=/usr/lib/libncursesw.a

However, it compiles for me fine ...

kirin:/usr/local/src/mysql-3.23.51# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

I guess one thing is to make sure you don't use GCC 3.0 or 3.1, as MySQL say not to use it just yet. Its more strict with ansi C.

Sorry I couldn't offer a magic bullet...

--
Nathan Ollerenshaw - Systems Engineer - Shared Hosting
ValueCommerce Japan - http://www.valuecommerce.ne.jp

I'm your blubber boy you should rub me
The sun beat me down too viciously
I fell into the ground to what I used to be
I've melted away I'm nothing again



Reply to: