HP-UX 11 + GCC + --with-CXX = pain
От | Louis Bertrand |
---|---|
Тема | HP-UX 11 + GCC + --with-CXX = pain |
Дата | |
Msg-id | IHEHJDMEFKBJOCNNCPPLMENBCAAA.louis.bertrand@datawire.net обсуждение исходный текст |
Ответы |
Re: HP-UX 11 + GCC + --with-CXX = pain
|
Список | pgsql-ports |
Hello, I'm trying to build PostgreSQL 7.1.1 on HP-UX 11 (HPPA2) and I'm having a miserable time. Plan A: use HP's C++ compiler and GNU Make For some reason, I can't seem to find the STL header for the string class. I'm not sure it's installed correctly so I will check with HP in the morning... Plan B: Use GCC from the HP-UX porting archive (hpux.ee.ualberta.ca). No luck. The configure script goes into the weeds when it tries to discover how to invoke the C++ preprocessor (it does c++ -E) but some name collisions seem to confuse it (see below). Any hints? Thanks --Louis -- Louis Bertrand Datawire Communication Networks Inc. http://www.datawire.net/ (416) 989-7250 Cell (416) 798-2226 x 165 (Office) louis.bertrand@datawire.net Fragment from config.log: ------------------------- configure:2423: checking how to run the C++ preprocessor configure:2441: c++ -E conftest.C >/dev/null 2>conftest.out In file included from /usr/include/pwd.h:99, from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:352, from configure:2437: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `__va__list' redefined /usr/include/pwd.h:27: warning: this is the location of the previous definition In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:356, from configure:2437: /usr/include/errno.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition configure: failed program was: #line 2436 "configure" #include "confdefs.h" #include <stdlib.h> configure:2476: checking for string configure:2486: /lib/cpp conftest.C >/dev/null 2>conftest.out cpp: "configure", line 2482: error 4036: Can't open include file 'string'. configure: failed program was: #line 2481 "configure" #include "confdefs.h" #include <string> configure:2513: checking for class string in <string.h> configure:2528: c++ -c -O2 conftest.C 1>&5 In file included from configure:2520: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition configure: In function `int main()':
В списке pgsql-ports по дате отправления: