I am trying to install postgres 7.3.4 on my B180L HPUX workstation.
I am having some problems getting the configure script to complete
properly.
It actually finished once or twice(not how I would like the configs) but
then the make failed.

The config errors are in the attached text document, and the make
failure is listed here:

make[4]: Leaving directory
`/hpux/database/postgresql-7.3.4/src/backend/utils/mmgr'
make -C sort SUBSYS.o
make[4]: Entering directory
`/hpux/database/postgresql-7.3.4/src/backend/utils/sort'
cc -Ae +O2 -I../../../../src/include   -c -o logtape.o logtape.c
cc -Ae +O2 -I../../../../src/include   -c -o tuplesort.o tuplesort.c
cc: "tuplesort.c", line 1806: error 1000: Unexpected symbol:
"myFunctionCall2".
cc: panic 2017: Cannot recover from earlier errors, terminating.
make[4]: *** [tuplesort.o] Error 1
make[4]: Leaving directory
`/hpux/database/postgresql-7.3.4/src/backend/utils/sort'
make[3]: *** [sort-recursive] Error 2
make[3]: Leaving directory
`/hpux/database/postgresql-7.3.4/src/backend/utils'
make[2]: *** [utils-recursive] Error 2
make[2]: Leaving directory `/hpux/database/postgresql-7.3.4/src/backend'
make[1]: *** [all] Error 2

I am at a point in which confusion is taking over!
Your help would be much appreciated...

Regards,
Dusty
I hope this info is useful...


# ./configure
checking build system type... hppa1.1-hp-hpux11.11
checking host system type... hppa1.1-hp-hpux11.11
checking which template to use... hpux
checking whether to build with 64-bit integer date/time support... no
checking whether to build with recode support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
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... yes
checking whether cc accepts -g... yes
configure: using CFLAGS=-O2
checking whether the C compiler still works... yes
checking how to run the C preprocessor... cc -E
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
configure: using CPPFLAGS=
configure: using LDFLAGS=
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for flex... no

configure: WARNING: 
<---------------------------------------------------------------installed
*** 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 ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/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:  
<--------------------------------------------------------------installed
*** 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 __inet_ntoa in -lbind... no
checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... no

configure: error: readline library not found  
<-------------------------------------installed
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

---------------------------------------------------------------------------------------------------------

bison                                   1.875          bison          
flex                                    2.5.4.2000-03-01 Flex (a superset of lex) 
vrl                                     1.3            vrl            

Bison, FLex, and Readline are all installed;
But as the configure output shows, it cannot find them...
Is there something I need to do to my environment to fix this.

---------------------------------------------------------------------------------------------------------

If I run "./configure --without-readline" I get the error:

checking types of arguments for accept()...
configure: error: could not determine argument types

This is an HPUX workstation with the latest patches, running 11.11

# ll /usr/bin/cc
total 0 lrwxr-x---   1 root     sys           18 Sep 12 10:50 /usr/bin/cc@ -> 
/usr/local/bin/gcc*

# ll /usr/bin/make
total 0 lrwxr-x---   1 root     sys           19 Sep 12 10:50 /usr/bin/make@ -> 
/usr/local/bin/make*

# java -version
java version "1.3.1.01-release" 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-11:04-PA_RISC1.1 
PA1.1, mixed mode)
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to