List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 9 1999 3:15am
Subject:Re: Problems compiling on Solaris 7 for x86
View as plain text  
At 10:33 AM +0800 6/9/1999, Sam K Tan wrote:
>Hi!
>
>I hope someone can help me with this problem. I am trying to compile
>MySQL 3.22.23b on Solaris 7 for x86. I typed the following commands:-
>
>./configure
>make
>
>The make file is executed but it terminates with the following error:-
>
>creating libmysqlclient.la
>(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la
>libmysqlclient.la)
>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:1209: `chtype' was not declared in this scope
>/usr/include/term.h:1209: parse error before `('
>*** Error code 1
>make: Fatal error: Command failed for target `mysql.o'
>Current working directory
>/export/home/users/sam/download/mysql-3.22.23b/client
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive'
>Current working directory /export/home/users/sam/download/mysql-3.22.23b
>
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive-am'
>
>It seems to indicate that there is a problem with the file
>/usr/include/term.h, but I can't see what could possibly be wrong, and I
>don't really want to start hacking the system includes.


Sorry, but the Solaris 7 system includes are incorrect, and that's what you
need to do.  Check the Solaris notes in Chapter 4 of the reference
manual for instructions on solving this problem.

--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/
Thread
Problems compiling on Solaris 7 for x86Sam K Tan9 Jun
  • Re: Problems compiling on Solaris 7 for x86Paul DuBois9 Jun
  • Problems compiling on Solaris 7 for x86Michael Widenius9 Jun
Re: Problems compiling on Solaris 7 for x86Christopher R. Jones9 Jun