Re: problem installing mysql

2003-07-29 Thread tevans
Make sure your firewall isn't blocking port 3306 (the default tcp port)
on localhost (127.0.0.1).  Firewalls DO matter.


 I have tried to install mysql 4.0.14 and previous version on my machine.

 After installation when I try to run mysql, i get error:

 Cannot connect to localhost port...

 my machine is not connected to internet. I also have firewall installed
 on my
 machine, but this should not matter.

 Any suggestions why I may be getting this error.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Error compiling MySQL 4.0.14 on Slackware GNU/Linux

2003-07-29 Thread tevans
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/[EMAIL PROTECTED]