bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure: WARNING: ## Report this to address@hidden ##


From: Alison Smith
Subject: configure: WARNING: ## Report this to address@hidden ##
Date: Wed, 18 Feb 2004 13:23:05 +0800

Hi, I was running ./configure for mysql 4.0.18 on my solaris 9 box, and I saw the following lines scroll by:

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 address@hidden ##
configure: WARNING:     ## ------------------------------------ ##

So I thought I would do as I'm told :)

Find shows me that I have two term.h:
# find / -name term.h
/usr/xpg4/include/term.h
/usr/include/term.h

I'm fairly new to solaris, I normally deal with linux, so It's possble that I could have stuffed something up?

Unfortunately I have no idea what information you would require, so please let me know if you want more info. At the bottom of this email I've pasted what I thought to be the relevant section of the config.log

Thanks!

Alison


--
Alison Smith BSc(Curtin)
IT Specialist

School of Electrical and Computer Engineering
207.107a
Curtin University
Bentley

Phone : +61 8 9266 7962
Email : address@hidden




configure:21416: checking term.h usability
configure:21429: gcc -c   -D_FILE_OFFSET_BITS=64  conftest.c >&5
In file included from configure:21504:
/usr/include/term.h:1034: error: parse error before "bool"
/usr/include/term.h:1060: error: parse error before "SGTTY"
/usr/include/term.h:1081: error: parse error before "sgr_mode"
/usr/include/term.h:1082: error: parse error before "sgr_faked"
/usr/include/term.h:1092: error: parse error before "funckeystarter"
/usr/include/term.h:1094: error: parse error before "_fl_rawmode"
/usr/include/term.h:1101: error: parse error before "_input_queue"
/usr/include/term.h:1108: error: parse error before '*' token
/usr/include/term.h:1111: error: parse error before "bit_vector"
/usr/include/term.h:1115: error: parse error before "check_turn_off"
/usr/include/term.h:1116: error: parse error before "non_faked_mode"
/usr/include/term.h:1117: error: parse error before "_cur_pair"
/usr/include/term.h:1118: error: parse error before '*' token
/usr/include/term.h:1120: error: parse error before '}' token
/usr/include/term.h:1207: error: parse error before "int"
/usr/include/term.h:1207: error: `vidputs' declared as function returning a function
/usr/include/term.h:1207: error: parse error before ')' token
configure:21432: $? = 1
configure: failed program was:
| #line 21418 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.18"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "sun-solaris2.9"
| #define MACHINE_TYPE "sparc"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define SPRINTF_RETURNS_INT 1
| #define _LARGEFILE_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FLOATINGPOINT_H 1
| #define HAVE_IEEEFP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYNCH_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <term.h>
configure:21448: result: no
configure:21452: checking term.h presence
configure:21463: gcc -E  conftest.c
configure:21469: $? = 0
configure:21488: result: yes
configure:21508: WARNING: term.h: present but cannot be compiled
configure:21510: WARNING: term.h: check for missing prerequisite headers? configure:21512: WARNING: term.h: proceeding with the preprocessor's result
configure:21524: checking for term.h
configure:21531: result: yes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]