Installing Pg on HP-UX10.20

From: Waterman William L CONT BATH <WatermanWL(at)SUPSHIP(dot)NAVY(dot)MIL>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Installing Pg on HP-UX10.20
Date: 2001-12-11 13:37:47
Message-ID: 4E5A67A1565AD311A62D0008C79137A882A3F0@exch.sbath.navy.mil
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,

I am trying to install the CPAN Pg module on an HP-UX workstation. When
running the "make" command I get the following errors (captured by script):

Script started on Mon Dec 10 14:47:35 2001
# env |grep POST

POSTGRES_LIB=/usr/local/pgsql/lib

POSTGRES_INCLUDE=/usr/local/pgsql/include

# perl Makefile.PL

Configuring Pg

Remember to actually read the README file !

OS: hpux

Writing Makefile for Pg

# make

cc -c -I/usr/local/pgsql/include -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O +Onolimit -DVERSION=\"1.9.0\"
-DXS_VERSION=\"1.9.0\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE Pg.c

(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C
product; ignored.

(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C
product; ignored.

(Bundled) cc: warning 480: The +Onolimit option is available only with the
C/ANSI C product; ignored.

(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C
product; ignored.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error
1000: Unexpected symbol: "nbytes".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error
1000: Unexpected symbol: "elements".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error
1000: Unexpected symbol: "size_t".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error
1506: Parameters allowed in function definition only.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error
1705: Function prototypes are an ANSI feature.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error
1573: Type of "size" is undefined due to an illegal declaration.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error
1705: Function prototypes are an ANSI feature.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error
1573: Type of "nbytes" is undefined due to an illegal declaration.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 543: error
1705: Function prototypes are an ANSI feature.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 1940:
error 1000: Unexpected symbol: "SV".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h", line 417:
warning 5: "const" will become a keyword.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h", line 417:
error 1000: Unexpected symbol: "const".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/regexp.h", line 13:
error 1000: Unexpected symbol: "U8".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 339: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 340: error
1000: Unexpected symbol: "ANY".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 341: error
1000: Unexpected symbol: "GV".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 25: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 26: error
1000: Unexpected symbol: "ANY".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 27: error
1000: Unexpected symbol: "GV".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16: error
1000: Unexpected symbol: "U32".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18: error
1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 23: error
1000: Unexpected symbol: "MAGIC".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line 25:
warning 5: "const" will become a keyword.

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line 25: error
1000: Unexpected symbol: "unsigned".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 1976:
error 1000: Unexpected symbol: "CURCUR".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2187:
error 1000: Unexpected symbol: "*".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2188:
error 1000: Unexpected symbol: "I32".

(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2188:
error 1000: Unexpected symbol: "SV".

(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.

*** Error exit code 1

Stop.

#

script done on Mon Dec 10 14:48:09 2001

Am I using the wrong compiler, or the wring perl include files?

The output of the "uname -a" command is:

HP-UX cnd1 B.10.20 A 9000/778 2003299477 two-user license

Any suggestions or help would be greatly appreciated.

Sincerely,

William L Waterman

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2001-12-11 18:41:10 Re: Installing Pg on HP-UX10.20
Previous Message Tibor Laszlo 2001-12-11 08:25:37 Re: After Inserted, can't update the record