Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Error compiling MySQL 4.0.14 on Slackware GNU/Linux
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 14th November 05:29
External User
 
Posts: 1
Default Error compiling MySQL 4.0.14 on Slackware GNU/Linux



I'm using Slackware GNU/Linux 9.0 on an Intel PII 266 machine that's SMP
capable, but only with one CPU installed, and 64MB of RAM. It's
basically a small test system that I play around with in some free time
before installing things on my larger systems.

I am trying to do a fresh install of MySQL 4.0.14 (I removed the
previous 3.23.56 installation, including directory structure and
leftover components). I'm compiling with these options passed to
'configure':

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions \
-fno-rtti" ./configure --prefix=/usr --enable-assembler \
--with-extra-charsets=complex --enable-thread-safe-client \
--enable-local-infile --disable-shared --with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static --bindir=/usr/bin --with-raid \
--sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc \
--localstatedir=/var/lib/mysql --libdir=/usr/lib --infodir=/usr/info \
--includedir=/usr/include --mandir=/usr/man --with-innodb \
--with-berkeley-db --with-libwrap --with-tcp-port=3306 --with-gnu-ld \
--with-mysqld-user=mysql --with-unix-socket-path=/var/run/mysql/mysql.sock

It configures fine, however, near the end of the make process, I get the
following errors:

gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\""
-DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/build_unix -I../innobase/include
-I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -O3
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates
-fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -c
-o mysqld.o `test -f mysqld.cc || echo './'`mysqld.cc
/usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:131: too many arguments to function `void sock_host()'
mysqld.cc:2915: at this point in file
/usr/include/tcpd.h:69: too many arguments to function `int hosts_access()'
mysqld.cc:2916: at this point in file
/usr/include/tcpd.h:124: too many arguments to function `char*
eval_client()'
mysqld.cc:2924: at this point in file
make[4]: *** [mysqld.o] Error 1
make[4]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.14'
make: *** [all] Error 2


Is there something I'm overlooking or could do to prevent and/or fix this?

Thanks for your help.

Tony Evans

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666