|
|||||||||||
|
Building MySql 5.0.45 on Solaris 6
From: Giulio Troccoli <Giulio.Troccoli(at)uk.linedata.com>
Date: Fri Jul 27 2007 - 07:42:43 EDT
I have downloaded the GNU TAR source code. I'm using gcc 3.0.2 and GNU make 3.76.1 I have configure as follows
CC=gcc CFLAGS="-O3" \
I just need the client to connect to a server on another machine. When I do make I get this
if gcc -DUNDEF_THREADS_HACK
int)': mysql.cc:3334: `sleep' undeclared (first use this function) mysql.cc:3334: (Each undeclared identifier is reported only once foreach
function it appears in.)
I had a look at client/mysql.cc and it looks like sleep is declared in unistd.h, so I change the Makefile to add -DHAVE_TERMIOS_H to CFLAGS and CXXFLAGS. I ran make clean; make but it failed again (another error though). So I added -I/usr/include to CXXFLAGS (maybe it couldn't find the header file), but to no avail. Finally I took the -DHAVE_TERMIOS_H but left the -I/usr/include. Again, it failed. So now I'm stuck. I don't know what to do. I just need a new version of MySql client (I'm currently on 3.22.32) because the new server (5.0.27) uses privileges that my client does not support. Please help. Giulio
Linedata Services (UK) Ltd
-- This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:29:30 EDT |
||||||||||
|
|||||||||||