I'm trying to install PostgreSQL 6.5.3 on an SGI IRIX 6.5. I have
installed with succes GNU make 3.77 in /usr1/src/make-3.77 and GNU
readline in /usr/local/.
In the following directory (/usr1/src/postgresql-6.5.3/src/), I have run
this command :
sh ./configure --with-includes=/usr/local/include
--with-libs=/usr/local/lib --prefix=/usr/local/pgsql --without-CXX
--with-template=irix5
As Tony said in a previous mail, I have modified the template/irix5 file
to obtain this :
AROPT:crs
CFLAGS:-o32
SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
LDFLAGS:-o32
I'am using the SGI's cc.
It seems to be good. No error occured.
Afterwards, I have run : /usr/local/bin/make all (The GNU version of
make)
A ton of errors occured !
cc -I../../../include -I../../../backend -o32 -U_NO_XOPEN4 -I../..
-c heaptuple.c -o heaptuple.o
No such feature exists (-5,116)
End (extract)of the output :
cfe: Error: ../../../include/nodes/pg_list.h, line 36: Syntax Error
} Value;
^
cfe: Error: ../../../include/nodes/pg_list.h, line 36: Empty declaration
specifiers
} Value;
--^
cfe: Error: ../../../include/nodes/pg_list.h, line 49: Syntax Error
NodeTag type;
^
cfe: Error: ../../../include/nodes/pg_list.h, line 49: Empty declaration
specifiers
NodeTag type;
------- ^
cfe: Error: ../../../include/nodes/pg_list.h, line 56: Syntax Error
struct List *next;
------------------^
cfe: Error: ../../../include/nodes/pg_list.h, line 56: Empty declaration
specifiers
} List;
--^
cfe: Fatal: Too many errors... goodbye.
make[3]: *** [heaptuple.o] Error 1
make[3]: Leaving directory
`/usr1/src/postgresql-6.5.3/src/backend/access/common'
make[2]: *** [submake] Error 2
make[2]: Leaving directory
`/usr1/src/postgresql-6.5.3/src/backend/access'
make[1]: *** [access.dir] Error 2
make[1]: Leaving directory `/usr1/src/postgresql-6.5.3/src/backend'
make: *** [all] Error 2
What should I verify and do in order to compile with succes ?
Greetings
--
Richard NAGY
http://www.hitsme.com/
************