Hello everyone.
I have hit a snag trying to compile mysql 3.23.38. After running
this configure command:
CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro
-felide-constructors -fno-exceptions -fno-rtti" ./configure
--with-berkeley-db --with-libwrap --with-named-z-lib --without-debug
--prefix=/usr/local/mysql --enable-assembler
--with-mysqld-ldflags=-all-static --with-mysqld-user=mysql
--localstatedir=/var/mysql
...and then doing a make, I get these errors and the build dies:
mysqld.cc: In function `void *handle_connections_sockets (void *)':
/usr/include/tcpd.h:131: too many arguments to function `void sock_host
()'
mysqld.cc:2289: at this point in file
/usr/include/tcpd.h:69: too many arguments to function `int
hosts_access ()'
mysqld.cc:2290: at this point in file
/usr/include/tcpd.h:124: too many arguments to function `char
*eval_client ()'
mysqld.cc:2295: at this point in file
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/root/mysql-3.23.38/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mysql-3.23.38/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-3.23.38'
make: *** [all-recursive-am] Error 2
If I don't include the --with-libwrap config, then the build completes
just fine.
I'm using a Red Hat 7.1 box (with all updates up to today) and kernel 2.4.5.
Also:
The documentation says that the named z config option is
"--with-named-z-lib" but if you do ./configure --help, it says the
option is "--with-named-z-libs=ARG" (with ARG being required, not
optional). So which is it? Or are those two different config options?
Also, according to ./configure --help, you can't pass any options to
--with-mysqld-ldflags, but the docs say that you can (=-all-static).
Which is correct?
Thanks.
j
---------------------------------------------------------------------
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