Bauer, Rich writes:
> I am building mysql 3.22.26a with gnu cc 2.95.3 and gnu make under solaris 8
> and get the following error. How do I fix this ?
>
> # make
> make all-recursive
> make[1]: Entering directory `/opt/ftp/mysql-3.22.26a'
> Making all in Docs
> make[2]: Entering directory `/opt/ftp/mysql-3.22.26a/Docs'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/opt/ftp/mysql-3.22.26a/Docs'
> Making all in readline
> make[2]: Entering directory `/opt/ftp/mysql-3.22.26a/readline'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/opt/ftp/mysql-3.22.26a/readline'
> Making all in client
> make[2]: Entering directory `/opt/ftp/mysql-3.22.26a/client'
> c++ -DUNDEF_THREADS_HACK -I./../include -I../include
> -I./.. -I.. -I.. -O -fno-implicit-templates -DDBUG_OFF
> -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -c mysql.cc
> In file included from mysql.cc:54:
> /usr/include/term.h:1060: syntax error before `,'
> /usr/include/term.h:1081: syntax error before `;'
> /usr/include/term.h:1082: syntax error before `;'
> /usr/include/term.h:1101: syntax error before `['
> /usr/include/term.h:1108: syntax error before `*'
> /usr/include/term.h:1111: syntax error before `;'
> /usr/include/term.h:1115: syntax error before `;'
> /usr/include/term.h:1116: syntax error before `;'
> /usr/include/term.h:1207: `chtype' was not declared in this scope
> /usr/include/term.h:1207: parse error before `('
> make[2]: *** [mysql.o] Error 1
> make[2]: Leaving directory `/opt/ftp/mysql-3.22.26a/client'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/ftp/mysql-3.22.26a'
> *** Error code 2
> make: Fatal error: Command failed for target `all-recursive-am'
> # pwd
> /opt/ftp/mysql-3.22.26a
> #
Hi!
Solution for the above problem is thoroughly described in our fine
manual.
If your Solaris is on SPARC, you are better of by using our binary.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php