Skip site navigation (1) Skip section navigation (2)

HP Unix 11.00 Compiler error.

From: Chris Bowlby <excalibur(at)hub(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: HP Unix 11.00 Compiler error.
Date: 2001-05-24 16:12:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-hackers
I have a friend of mine who sent me this... (I'm acting as a relay

I am trying to compile PostgreSQL 7.1.1 under HP-UX 11.00
(HP-UX dwhp2 B.11.00 U 9000/800 1195951537 unlimited-user license)
with the C++ library and OpenSSL but having little success.
I've tried both the HP-UX aCC++ and GCC 2.95 compilers.
Each different attempt brings out its own set of errors and

Here's where I stand:

Cannot compile PostgreSQL, C++ library (--with-CXX), and
OpenSSL (--with-openssl=/opt/openssl) with HP's aCC
(latest version). Configure hangs when testing for SSL library.
The configure command line looks like this.

        --with-libraries="/opt/zlib/lib" \
        --with-openssl=/opt/openssl \
The /opt/openssl/include/openssl line is needed because the
HP-UX porting archive's layout of OpenSSL puts the .h files
in /opt/openssl/include/openssl/, so specifying
--with-openssl=/opt/openssl by itself isn't sufficient to
get all the paths. The configure script errors out looking
for _eprintf(), which apparently is a now deprecated GCC
attempt at a compatibility layer. This tells me I really
can't use the binary build made by the HP-UX porting archive

Compile PostgreSQL and C++ library (--with-CXX) with HP's
aCC (latest version). Works fine (but still doesn't get me
to OpenSSL).

Tried also the HP developer program support desk's version
of GCC which installs in /usr/local. Configure runs fine
but HP's ld breaks on OpenSSL's libssl .
 /usr/ccs/bin/ld: DP relative code in file
  /opt/openssl/lib/libssl.a(s23_meth.o) - shared library
  must be position independent.  Use +z or +Z to recompile.
This tells me I still need to recompile OpenSSL from source
because the archive centre's packaging job isn't quite all
there yet (or there's a compiler conflict).

Cannot build OpenSSL from source because Perl-5.6.1 (guess
from where) is also broken (it can't understand "use strict"
because the library is missing the module, among

Cannot compile PostgreSQL and C++ library (--with-CXX) with GCC.
Can't find <string> class in STL. Suspect packaging
job done by HP-UX porting archive: it moves GCC from
/usr/local to /opt, and a few things didn't make the
trip smoothly. The other version

Compile PostgreSQL by itself with GCC. Works fine.

I know that the problem is not strictly an issue with PostgreSQL,
but any expertise you can bring to the problem is welcome.
If you need to actually get on the system, we'll get you a
NDA and an ssh login.

Any ideas?

 Chris Bowlby,
 Web Developer @


pgsql-hackers by date

Next:From: The Hermit HackerDate: 2001-05-24 16:44:10
Subject: Re: Not released yet, but could someone take a quick peak ...
Previous:From: Bruce MomjianDate: 2001-05-24 14:38:18
Subject: Re: Smaller access privilege changes

pgsql-general by date

Next:From: mikeDate: 2001-05-24 16:13:29
Subject: set datestyle
Previous:From: Tad NaworalDate: 2001-05-24 16:06:58
Subject: having problems with a simple query

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group