473,486 Members | 2,131 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1239

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5291
by: skubik | last post by:
Anyone else have this problem compiling PHP 4.3.3 from source under Linux (I'm using Slackware 9.0)? Under PHP 4.3.2 I had no compilation problems at all, but now all of the sudden, compiling...
1
2709
by: Charley | last post by:
OK, this is going to sound dumb to most but here goes. Please keep in mind, I am coming from a windows background. I want to do some development using PhP and animated gifs. I see that the...
0
1741
by: charlie | last post by:
Hello, I am trying to compile php-5.0.0b3 on a fedora 1.0 system. I am beginning with the following: charliek 12$./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql...
0
1816
by: David Costa | last post by:
Hello! if you are interested in Linux easy install of Apache,PHP,MySQL, SQLite it might be worth to have a look at Collegelinux: "CollegeLinux 2.5 (http://linux.college.ch ) codenamed "Obi Wan",...
0
1869
by: yzzzzz | last post by:
Hi, I am compiling PHP 5.0.2 myself with MySQL support. I did a ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config (see end of post for complete configure) Note: I also have...
5
1105
by: Patrick Coleman | last post by:
Hi, This may seem to be a basic question, but I keep getting the following error: main.cc:93: undefined reference to `AT_UrlParser::AT_UrlParser(char const*, std::basic_string<char,...
1
7624
by: wibawanto | last post by:
Can I install Posgresql on slackware linux? This package doesn't include with slackware. I have visited on postgresql website, but it only for Red Hat linux. Where can I get postgresql for Slack?
0
1553
by: tevans | last post by:
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...
0
1250
by: 47computers | last post by:
I'm getting the following error when I try to compile PHP 5.1.2 on my Slackware 10.0 machine: main/.libs/output.o(.text+0xaf1): In function `php_ob_init_named':...
60
4000
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
On May 3, 8:09 am, apati...@gmail.com wrote: A programmer that uses Vista? :O Vista is a hog of an operating system. Downgrade to Windows XP or get yourself a Linux distro.
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.