Bug #599 configure --with-libwrap on RedHat Linux 7.3 failes...
Submitted: 5 Jun 2003 14:18 Modified: 21 Jul 2003 6:46
Reporter: Guðmundur D. Haraldsson Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.X, 5.0 OS:Linux (RedHat Linux 7.3)
Assigned to: Alexander Keremidarski

[5 Jun 2003 14:18] Guðmundur D. Haraldsson
I configured MySQL with ./configure --with-librwap and the compilation failed:

source='sql_map.cc' object='sql_map.o' libtool=no \
depfile='.deps/sql_map.Po' tmpdepfile='.deps/sql_map.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../regex -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_map.o `test -f sql_map.cc || echo './'`sql_map.cc
source='mysqld.cc' object='mysqld.o' libtool=no \
depfile='.deps/mysqld.Po' tmpdepfile='.deps/mysqld.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../regex -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o mysqld.o `test -f mysqld.cc || echo './'`mysqld.ccmysqld.cc: In function `void *handle_connections_sockets (void *)':
/usr/include/tcpd.h:135: too many arguments to function `void sock_host 
mysqld.cc:3036: at this point in file
/usr/include/tcpd.h:73: too many arguments to function `int 
hosts_access ()'
mysqld.cc:3037: at this point in file
/usr/include/tcpd.h:128: too many arguments to function `char 
*eval_client ()'
mysqld.cc:3045: at this point in file
make[2]: *** [mysqld.o] Error 1
make[2]: Leaving directory `/home/tolvun/mysql-5.0/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tolvun/mysql-5.0/sql'
make: *** [all] Error 2

Something similiar happend when I tried to use this same option with MySQL 4.X on RedHat linux 8.0.


Btw., thanks for this fine databasesystem. :)

How to repeat:
./configure --with-libwrap
[5 Jun 2003 14:22] Guðmundur D. Haraldsson
Urgh, typo there, --with-libwrap it is -- my typing is strange today...
[6 Jun 2003 9:01] Alexander Keremidarski
I got exactly the same errors on RedHat 8.0, but on RedHat 9 it compiles without any problem and passes all tests. I have no 7.3 around to test it.

./configure --with-libwrap
make test
[20 Jun 2003 8:11] Lenz Grimmer
Unfortunately I do not have access to either version. Salle, would it be possible
for you to investigate the difference between Red Hat 8.0 and 9 here? I can't
reproduce this on SuSE Linux.
[3 Jul 2003 7:36] Guðmundur D. Haraldsson
This one might explain a bit...

[21 Jul 2003 6:46] Sergei Golubchik
so, I close it as a non-MySQL issue. According to the url above it's broken tcp_wrapper's headers on RH8, and it was corrected in RH9
[14 May 2004 12:48] grant beattie
this bug also appears on Slackware 9.1 and Solaris 9 using mysql 3.23.58.