Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem installing & compiling Mysql on Solaris 8

Status
Not open for further replies.

malcomito

Programmer
May 31, 2001
1
AR
Hi!. I have a problem installing Mysql 3.23.37 on Solaris 8 on Intel platform. After the configure, then i run Make (gmake 3.79), and this is the dump of the error after the compilation:
----------------
-I.. -O3 -DDBUG_OFF -DHAVE_CU
RSES_H -fno-implicit-templates -DHAVE_CURSES_H -I/usr/local/mysql-3.23.37/inclu
de -DHAVE_RWLOCK_T -c mysql.cc
In file included from /usr/include/iso/wchar_iso.h:26,
from /usr/include/wchar.h:11,
from ../include/widec.h:26,
from /opt/sfw/include/curses.h:23,
from mysql.cc:53:
/usr/include/iso/time_iso.h:69: redefinition of `struct tm'
/opt/sfw/include/time.h:63: previous definition here
In file included from /opt/sfw/include/curses.h:774,
from mysql.cc:53:
/opt/sfw/include/unctrl.h:57: syntax error before `char'
mysql.cc: In function `int reconnect()':
mysql.cc:1300: ANSI C++ forbids implicit conversion from `void *' in argument pa
ssing
mysql.cc:1300: ANSI C++ forbids implicit conversion from `void *' in argument pa
ssing
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/mysql-3.23.37/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-3.23.37'
make: *** [all-recursive-am] Error 2
-----------------------
Then, Mysql stops the compilation. I can´t find the way to solve this. Somebody can help me? :( Thanks in advance.

Malcomito
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top