>>>>> "Tim" == Tim Sailer <tps@stripped> writes:
Tim> Hi Folks,
Tim> I'm trying to get mysql to compile on a Sun E3500
Tim> SunOS 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-Enterprise,
Tim> with the SUNWspro C compiler. No gcc is available on this machine (yet).
Tim> I get the following when trying to compile. I looked through the docs,
Tim> but haven't seen anything about this problem..
Tim> # make
Tim> make all-recursive
Tim> Making all in Docs
Tim> Making all in readline
Tim> Making all in client
Tim> CC -DUNDEF_THREADS_HACK -I./../include -I../include
> -I./.. -I.. -I.. -O -DDBUG_OFF
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 c
Tim> "/usr/include/term.h", line 1060: Error: Type name expected instead of "SGTTY"
The problem is that /usr/include/term.h is not C++ safe.
On the other hand, I have compiled MySQL with SunPRO 4.2, so it's
possible to get this to work.
One know problem is that configure doesn't detect curses.h because of
another bug in the widec.h files.
Add HAVE_CURSES_H in config.h and recompile.