Help to solve configure error - Mailing list pgsql-general

From Rajaram J
Subject Help to solve configure error
Date
Msg-id BAY121-DAV148A7C128C62D2172AB88BCFEA0@phx.gbl
Whole thread Raw
Responses Re: Help to solve configure error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

Hi

It would be great if anybody could help with suggestions that could solve my problem.

I have a HP-UX server and have downloaded the code for postgresql to compile and use the libraries.

When I try to run the configure file I get the below message and ending with a error. I have attached the log file.

Would appreciate if someone could help.

./configure --prefix=/opt/iexpress/postgresql --disable-rpath --enable-integer-datetimes --with-openssl=/opt/openssl --without-zlib --without-readline

checking build system type... hppa2.0w-hp-hpux11.23 checking host system type... hppa2.0w-hp-hpux11.23 checking which template to use... hpux checking whether to build with 64-bit integer date/time support... yes checking whether NLS is wanted... no checking for default port number... 5432 checking for gcc... no checking for cc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...

checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking how to turn off strict aliasing in cc -Ae...

configure: using CFLAGS=+O2

checking whether the C compiler still works... yes checking how to run the C preprocessor... cc -Ae -E checking allow thread-safe client libraries... no checking whether to build with Tcl... no checking whether to build with Tk... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build Java/JDBC tools... no checking whether to build with Kerberos 4 support... no checking whether to build with Kerberos 5 support... no checking whether to build with PAM support... no checking whether to build with Rendezvous support... no building with OpenSSL support

configure: using CPPFLAGS=-D_XOPEN_SOURCE_EXTENDED -I/opt/openssl/include

configure: using LDFLAGS= -L/opt/openssl/lib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for flex... no

configure: WARNING:

*** Without Flex you will not be able to build PostgreSQL from CVS or

*** change any of the scanner definition files. You can obtain Flex from

*** a GNU mirror site. (If you are using the official distribution of

*** PostgreSQL then you do not need to worry about this because the Flex

*** output is pre-generated.)

checking whether ln -s works... yes

checking for non-GNU ld... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... no checking for ranlib... ranlib checking for lorder... lorder checking for tar... /usr/bin/tar checking for strip... strip checking whether it is possible to strip libraries... no checking for bison... no

configure: WARNING:

*** Without Bison you will not be able to build PostgreSQL from CVS or

*** change any of the parser definition files. You can obtain Bison from

*** a GNU mirror site. (If you are using the official distribution of

*** PostgreSQL then you do not need to worry about this because the Bison

*** output is pre-generated.) To use a different yacc program (possible,

*** but not recommended), set the environment variable YACC before running

*** 'configure'.

checking for perl... /usr/bin/perl

checking for main in -lbsd... no

checking for setproctitle in -lutil... no checking for main in -lm... yes checking for main in -ldl... no checking for main in -lnsl... yes checking for main in -lsocket... no checking for main in -lipc... no checking for main in -lIPC... no checking for main in -llc... no checking for main in -ldld... yes checking for main in -lld... no checking for main in -lcompat... no checking for main in -lBSD... yes checking for main in -lgen... yes checking for main in -lPW... yes checking for main in -lresolv... no checking for library containing getopt_long... no checking for main in -lunix... no checking for library containing crypt... none required checking for library containing fdatasync... none required checking for shmget in -lcygipc... no checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/pstat.h usability... yes checking sys/pstat.h presence... yes checking for sys/pstat.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking kernel/OS.h usability... no checking kernel/OS.h presence... no checking for kernel/OS.h... no checking kernel/image.h usability... no checking kernel/image.h presence... no checking for kernel/image.h... no checking SupportDefs.h usability... no checking SupportDefs.h presence... no checking for SupportDefs.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for netinet/tcp.h... no checking openssl/ssl.h usability... no checking openssl/ssl.h presence... yes

configure: WARNING: openssl/ssl.h: present but cannot be compiled

configure: WARNING: openssl/ssl.h: check for missing prerequisite headers?

configure: WARNING: openssl/ssl.h: proceeding with the preprocessor's result checking for openssl/ssl.h... yes checking openssl/err.h usability... no checking openssl/err.h presence... yes

configure: WARNING: openssl/err.h: present but cannot be compiled

configure: WARNING: openssl/err.h: check for missing prerequisite headers?

configure: WARNING: openssl/err.h: proceeding with the preprocessor's result checking for openssl/err.h... yes checking for an ANSI C-conforming const... no checking for inline... no checking for preprocessor stringizing operator... no checking for signed types... no checking for working volatile... yes checking for __func__... no checking for __FUNCTION__... no checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking for tzname... yes checking for union semun... no checking for struct sockaddr_un... yes checking for struct sockaddr_storage... no checking for struct sockaddr_storage.ss_family... no checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... no checking for struct addrinfo... no checking for struct cmsgcred... no checking for struct fcred... no checking for struct sockcred... no checking for struct option... no checking for int timezone... yes checking types of arguments for accept()... configure: error: could not determine argument types

Regards

Rajaram

Our greatest glory consists not in never falling, but in rising every time we fall.

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: pg_shdepend big
Next
From: "Gavin M. Roy"
Date:
Subject: Re: What do people like to monitor (or in other words, what might be nice in pgsnmpd)?