473,320 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1546

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

Similar topics

3
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
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
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
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
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
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,...
0
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
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.