Re: compiling mysql

2002-08-12 Thread Helmut Ebelt
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

- Original Message -
Can you post what ./configure line you used?

Nathan.






compiling mysql

2002-08-11 Thread Helmut Ebelt



I have some problems compiling mysql 3.23.51 
with debian. The problems occured under debian woody and now they still occur 
under debian potato.
 
The ./configure works fine, but when i run make the 
following error occurs:
 
--- cut ---
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local\" 
-DDATADIR=\"/usr/local/var\" -DSHAREDIR=\"/home/mysql/share/mysql\" 
-DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O2 
-c libmysql.c  -fPIC -DPIC -o .libs/libmysql.lolibmysql.c: In function 
`mysql_real_connect':libmysql.c:1325: warning: passing arg 5 of 
`gethostbyname_r' from incompatible pointer typelibmysql.c:1325: too few 
arguments to function `gethostbyname_r'libmysql.c:1325: warning: assignment 
makes pointer from integer without a castmake[2]: *** [libmysql.lo] Error 
1make[2]: Leaving directory 
`/home/install/mysql-3.23.51/libmysql_r'make[1]: *** [all-recursive] Error 
1make[1]: Leaving directory `/home/install/mysql-3.23.51'make: *** 
[all-recursive-am] Error 2debian:/home/install/mysql-3.23.51# 
--- cut ---
 
output of 'uname -a':
Linux debian 2.2.20-idepci #1 Sat Apr 20 12:45:19 
EST 2002 i686 unknown
 
Can anybody help me? Thanx in advance,
 
h.e.