Bug #4924 cannot compile term.h and ptem.h??
Submitted: 6 Aug 2004 11:38 Modified: 12 Aug 2004 3:18
Reporter: Babi Ajaib Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.2 OS:Solaris (Solaris)
Assigned to: Matthew Lord CPU Architecture:Any

[6 Aug 2004 11:38] Babi Ajaib
Description:
Hi, I have the same problem with 4.0.20 and 4.1.2.
It is when I'm configuring it, it says cannot compile
term.h and ptem.h

And so, when I tried to 'make' or 'make install',
They fail.

Following is what it shows when configuring process:

checking for sys/wait.h... (cached) yes
checking term.h usability... no
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for term.h... yes
checking for unistd.h... (cached) yes

.. (and also)

configure: WARNING: sys/ptem.h: present but cannot be compiled
configure: WARNING: sys/ptem.h: check for missing prerequisite headers?
configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

Can someone please help me? I'd really appreciate it.

Thank you...

How to repeat:

./configure --prefix=/home/se340/s340gg/server/mysql --with-unix-socket-path=/tmp/mysql_s340gg.sock --with-tcp-port=7002 --without-debug --disable-largefile
[7 Aug 2004 3:55] Matthew Lord
I get both of these warnings on solaris 8 as well but they do not prevent a sucessful build.
You are not getting Makefiles generated?  What is the error and exit information that configure
produces?
[10 Aug 2004 8:41] Babi Ajaib
Ops, sorry, a little bit correction.
Those bugs doesn't affect the build process for mysql 4.0.20.
However, using the same configuration, 'make' process for 4.1.3-beta fails.
The error message says about:

history.c: 655 function: history_save()
                                 VIS_WHITE undeclared
[12 Aug 2004 3:18] Matthew Lord
I was unable to reproduce this using 4.1.3 either.  I'm not sure what the differences are between 
our boxes.
[8 Feb 2005 14:52] [ name withheld ]
I also got this warning each time I compiled on Solaris 8+9.
'til now, never got trouble with it in using mysql.

myabe misconfiguration in autoconf?