Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNO8f-0003DK-6Q for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Mar 2014 14:58:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WNO8e-00084D-AI for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Mar 2014 14:58:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNLrl-0005iy-TH for pgsql-bugs@postgresql.org; Tue, 11 Mar 2014 12:33:05 +0000 Received: from [46.144.236.233] (helo=mail.procura.nl) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNLrj-0007LY-QX for pgsql-bugs@postgresql.org; Tue, 11 Mar 2014 12:33:05 +0000 Received: from pc09.procura.nl (pc09.procura.nl [192.0.1.19]) by procura.nl with ESMTP (Mailtraq/2.16.2.2990) id PRCR46454847 for pgsql-bugs@postgresql.org; Tue, 11 Mar 2014 13:32:37 +0100 Date: Tue, 11 Mar 2014 13:32:58 +0100 From: "H.Merijn Brand" To: pgsql-bugs@postgresql.org Subject: HP-UX 11.31 Itanium2 64bit again Message-ID: <20140311133258.2f10a235@pc09.procura.nl> Organization: PROCURA B.V. X-Mailer: Claws Mail 3.9.3-16-ge51356 (GTK+ 2.24.10; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Hops: 1 X-Host-Lookup-Failed: Reverse DNS lookup failed for 46.144.236.233 (failed) X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Back in December 2010 I reported to be unable to *use* a postgres build on HP-UX 11.31 (64bit). The configure/build/test works fine for both HP C-ANSI-C ( HP C/aC++ B3910B A.06.26 [Apr 12 2011]) or gcc-4.7.2 and for both the product works fine on itself after installation. That however is somewhat useless, as the database is running on another machine and I only need the installed postgres for its shared libraries to link against perl for DBD::Pg. (having psql locally is a pre, but it is not a necessity) The available perl is a 64bit build, so my postgresql libraries have to be 64bit too. As I only have 64bit versions of openssl, that all makes sense for both postgresql and perl anyway. Another reason perl is built in 64bit is that I only have 64bit Oracle libs and perl scripts have to connect to both Oracle and PostgreSQL simultaneously. After the installation, DBD::Pg is able to link against libpq.so.5, but just as in 2010/2011, it is not able to make any connection due to some socket incompatabilities: $ perl -MDBI -wE'DBI->connect ("dbi:Pg:")' DBI connect('','',...) failed: could not get socket error status: Invalid argument at -e line 1. The docs state that HP-UX is one of the platforms postgresql is tested on, but is it ever tested beyond the product itself? Is there anyone to guide me in making this work? I am now stuck to postgresql-8.4.5 which is the last release I was able to build to a state that worked with perl. I found myself in exactly the same state as in 2010/2011. -- H.Merijn Brand merijn@procura.nl (072) 567 13 51 PROCURA B.V. http://www.procura.nl KvK 37140650 Ban de e-mail disclaimers: http://tinyurl.com/kmne65 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs