Unable to build on Solaris 2.6
Unable to build on Solaris 2.6
От:
Kovács Péter <peter.kovacs@sysdata.siemens.hu>
Дата:
Hi,
I am unable to build PostgreSQL 7.1.2 on Solaris 2.6.
Below are some info as to versions of the tools used and error messages.
Can anybody make something out of this?
Thank you
Peter
MAKE VERSION:
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
GCC VERSION:
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
JUST THE BEGINNING OF A LONG OUTPUT OF ERROR MESSAGES:
[ws6709] /tmp/postgresql-7.1.2$ gmake
gmake -C doc all
gmake[1]: Entering directory `/tmp/postgresql-7.1.2/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/postgresql-7.1.2/doc'
gmake -C src all
gmake[1]: Entering directory `/tmp/postgresql-7.1.2/src'
gmake -C backend all
gmake[2]: Entering directory `/tmp/postgresql-7.1.2/src/backend'
gmake -C access all
gmake[3]: Entering directory `/tmp/postgresql-7.1.2/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory
`/tmp/postgresql-7.1.2/src/backend/access/common'
gcc -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include -c heaptuple
.c -o heaptuple.o
In file included from ../../../../src/include/access/tupdesc.h:18,
from ../../../../src/include/utils/rel.h:18,
from ../../../../src/include/storage/bufmgr.h:21,
from ../../../../src/include/storage/bufpage.h:18,
from ../../../../src/include/access/htup.h:17,
from ../../../../src/include/access/heapam.h:18,
from heaptuple.c:23:
../../../../src/include/catalog/pg_attribute.h:43: syntax error before `{'
../../../../src/include/catalog/pg_attribute.h:156: parse error before `}'
../../../../src/include/catalog/pg_attribute.h:156: warning: type defaults
to `int' in declarat
ion of `FormData_pg_attribute'
../../../../src/include/catalog/pg_attribute.h:156: warning: data definition
has no type or sto
rage class
../../../../src/include/catalog/pg_attribute.h:170: parse error before `*'
../../../../src/include/catalog/pg_attribute.h:170: warning: type defaults
to `int' in declarat
ion of `Form_pg_attribute'
../../../../src/include/catalog/pg_attribute.h:170: warning: data definition
has no type or sto
rage class
In file included from ../../../../src/include/utils/rel.h:18,
RE: Unable to build on Solaris 2.6
От:
Kovács Péter <peter.kovacs@sysdata.siemens.hu>
Дата:
In my .profile I had CPP set to /usr/ccs/lib/cpp and autoconf probably used this instead of gcc -E. On the other hand, at build time gcc is probably not looking at the CPP environment variable for a preprocessor, but simply uses its own. After all I would not say that this is a bug in autoconf, but being a bit more idiot-proof :) would certainly not hurt. Peter -----Original Message----- From: Peter Eisentraut [mailto:peter_e@gmx.net] Sent: Tuesday, July 17, 2001 5:21 PM To: Kovács Péter Cc: pgsql-ports@postgresql.org Subject: RE: [PORTS] Unable to build on Solaris 2.6 Kovács Péter writes: > Apparently, the configure script did not correctly recognize the stringizing > capibality of the preprocessor. (Should I report this as a bug in > autoconf???) Hmm. I've never seen this test give a wrong result. Can you check *why* it does that? -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter