Re: Installation Problem mysql-3.23.49

2002-02-20 Thread Sinisa Milivojevic

[EMAIL PROTECTED] writes:
 Description:
 When I run a ./configure --prefix=/usr/local/mysql --with-libwrap the configure 
completes but the make fails.
 
 Making all in sql
 make[2]: Entering directory `/usr/local/src/mysql-3.23.49/sql'
 Making all in share
 make[3]: Entering directory `/usr/local/src/mysql-3.23.49/sql/share'
 make[3]: Nothing to be done for `all'.
 make[3]: Leaving directory `/usr/local/src/mysql-3.23.49/sql/share'
 make[3]: Entering directory `/usr/local/src/mysql-3.23.49/sql'
 c++ -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\  
   -DDATADIR=\/usr/local/mysql/var\   
-DSHAREDIR=\/usr/local/mysql/share/mysql\-DHAVE_CONFIG_H
 -I./../include  -I./../regex-I. -I../include 
-I.. -I.-O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti
 -c mysqld.cc
 mysqld.cc: In function `void *handle_connections_sockets (void *)':
 /usr/include/tcpd.h:131: too many arguments to function `void sock_host
 ()'
 mysqld.cc:2395: at this point in file
 /usr/include/tcpd.h:69: too many arguments to function `int
 hosts_access ()'
 mysqld.cc:2396: at this point in file
 /usr/include/tcpd.h:124: too many arguments to function `char
 *eval_client ()'
 mysqld.cc:2401: at this point in file
 make[3]: *** [mysqld.o] Error 1
 make[3]: Leaving directory `/usr/local/src/mysql-3.23.49/sql'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/usr/local/src/mysql-3.23.49/sql'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/mysql-3.23.49'
 make: *** [all-recursive-am] Error 2
 

This definitely requires that we take a look at it.

-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   ___/   www.mysql.com


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Installation Problem mysql-3.23.49

2002-02-19 Thread cdilks

Description:
When I run a ./configure --prefix=/usr/local/mysql --with-libwrap the configure 
completes but the make fails.

Making all in sql
make[2]: Entering directory `/usr/local/src/mysql-3.23.49/sql'
Making all in share
make[3]: Entering directory `/usr/local/src/mysql-3.23.49/sql/share'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/mysql-3.23.49/sql/share'
make[3]: Entering directory `/usr/local/src/mysql-3.23.49/sql'
c++ -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\
 -DDATADIR=\/usr/local/mysql/var\   
-DSHAREDIR=\/usr/local/mysql/share/mysql\-DHAVE_CONFIG_H
-I./../include  -I./../regex-I. -I../include -I.. 
-I.-O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti
-c mysqld.cc
mysqld.cc: In function `void *handle_connections_sockets (void *)':
/usr/include/tcpd.h:131: too many arguments to function `void sock_host
()'
mysqld.cc:2395: at this point in file
/usr/include/tcpd.h:69: too many arguments to function `int
hosts_access ()'
mysqld.cc:2396: at this point in file
/usr/include/tcpd.h:124: too many arguments to function `char
*eval_client ()'
mysqld.cc:2401: at this point in file
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/usr/local/src/mysql-3.23.49/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mysql-3.23.49/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-3.23.49'
make: *** [all-recursive-am] Error 2

If I run the configure without --with-libwrap mysql compiles and installs fine.  Any 
help offered would be appreciated.


How-To-Repeat: See above

Fix:


Submitter-Id:  submitter ID
Originator:Clinton Dilks
Organization:  HortResearch New Zealand
 
MySQL support: [none]
Synopsis:  Mysql-3.23.49 wont compile from source on redhat 7.1 when you specify 
the --with-libwrap option 
Severity:  
Priority:  
Category:  mysql
Class: 
Release:   mysql-3.23.49 (Source distribution)

Environment: Compaq Deskpro EN, 256MB Ram, Redhat 7.1

System: Linux silver.marc.hort.cri.nz 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 
unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-85)
Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
lrwxrwxrwx1 root root   13 Nov 15 12:18 /lib/libc.so.6 - libc-2.2.4.so
-rwxr-xr-x1 root root  5724399 Oct  4 05:55 /lib/libc-2.2.4.so
-rw-r--r--1 root root 27314604 Oct  4 05:52 /usr/lib/libc.a
-rw-r--r--1 root root  178 Oct  4 05:52 /usr/lib/libc.so
Configure command: ./configure  --prefix=/usr/local/mysql --enable-assembler


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php