./configure issue for gmplib 5.0.2 from hp-ux itanium server
Bill.Glessner at cwu.EDU
Bill.Glessner at cwu.EDU
Fri Aug 12 21:59:43 CEST 2011
Hello,
On HP Itanium rx4640 server running HP-ux version 11.31 IA64 + Sept 2011
standard patch bundles, trying to build gmplib version 5.0.2 as a prerequisite
for building a newer, more complete version of gcc than the current version
4.2.3 imported from hpux.connect.org.uk.
When the ./configure script is run
./configure --prefix=/usr/local/GNU \
--enable-cxx --enable-fft --enable-shared --enable-static --with-readline
checking build system type... itanium2-hp-hpux11.31
checking host system type... itanium2-hp-hpux11.31
...
the following was output
...
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... yes
configure: WARNING: sys/sysinfo.h: present but cannot be compiled
configure: WARNING: sys/sysinfo.h: check for missing prerequisite headers?
configure: WARNING: sys/sysinfo.h: see the Autoconf documentation
configure: WARNING: sys/sysinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/sysinfo.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------- ##
configure: WARNING: ## Report this to gmp-bugs at gmplib.org ##
configure: WARNING: ## ---------------------------------- ##
checking for sys/sysinfo.h... no
...
Perhaps the following from the config.log for the ./configure run may help
to determine the source of the configure: WARNING:
...
configure:23915: checking sys/sysinfo.h usability
configure:23915: gcc -std=gnu99 -c -milp32 -O2 -mtune=itanium2 conftest.c >&5
In file included from conftest.c:72:
/usr/include/sys/sysinfo.h:187: error: array type has incomplete element type
configure:23915: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "GNU MP 5.0.1"
| #define PACKAGE_BUGREPORT "gmp-bugs at gmplib.org"
| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
| #define PACKAGE "gmp"
| #define VERSION "5.0.1"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_itanium2 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #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_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NL_TYPES_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_PSTAT_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/sysinfo.h>
configure:23915: result: no
configure:23915: checking sys/sysinfo.h presence
configure:23915: gcc -std=gnu99 -E conftest.c
configure:23915: $? = 0
configure:23915: result: yes
configure:23915: WARNING: sys/sysinfo.h: present but cannot be compiled
configure:23915: WARNING: sys/sysinfo.h: check for missing prerequisite head
ers?
configure:23915: WARNING: sys/sysinfo.h: see the Autoconf documentation
configure:23915: WARNING: sys/sysinfo.h: section "Present But Cannot Be Comp
iled"
configure:23915: WARNING: sys/sysinfo.h: proceeding with the compiler's result
configure:23915: checking for sys/sysinfo.h
configure:23915: result: no
...
I am trying to determine what the specific missing prerequisite headers
may be.
Thanks for your assistance,
Bill
More information about the gmp-bugs
mailing list