Having problems compiling postgres on IRIX - Mailing list pgsql-admin
From | Henrique Silva |
---|---|
Subject | Having problems compiling postgres on IRIX |
Date | |
Msg-id | 36139CF4.7615753B@red.dfci.harvard.edu Whole thread Raw |
List | pgsql-admin |
Hi everyone. I am new to postgres. I need a relational db that can be used with a web client from any plataform, and this seems to be it, BUT..... Our lab has ONLY sgi machines. Indigo 2s running Irix 6.2, an Origin 200 running IRIX 6.4, and a lonely Indigo running IRIX 5.3 !!! I have read about all the problems with the ld on IRIX 6.2 and 6.4, and try to follow the installation instructions, and did not have any luck on all 3 systesms. Here is a little summary of what I did !!! BTW, these systems are patched up with the latest patches, so, it has the latest compilers, on the 6.2 and 6.4, and 5.3 has the latest of what it can have ( I think it is 7.1 for the c compiler, but I am not sure there ). ANyways, I installed gmake and GNU readline, but could not find GNU install !!! I looked on the GNU page, and it is not there !!! ANybody knows ????? Thenm I created the postgres account, logged in, and did a configure with the --prefix and where the location of the src directory is. Then, issue the gmake all and I get a bunch of warnings and it compiles for a while, and then, I get these errors !!!!! Warning: parse_target.o: fmgr_pl_finfo: multiply defined previous (used) definition from 'analyze.o'; new (ignored) definition from 'parse_target.o' Warning: scan.o: fmgr_pl_finfo: multiply defined previous (used) definition from 'analyze.o'; new (ignored) definition from 'scan.o' gmake[2]: Leaving directory `/purple/disk3/pgsql/src/backend/parser' gmake -C port all gmake[2]: Entering directory `/purple/disk3/pgsql/src/backend/port' cc -I../../include -I../../backend -I.. -c dynloader.c -o dynloader.o cc -I../../include -I../../backend -I.. -c isinf.c -o isinf.o cc -I../../include -I../../backend -I.. -c snprintf.c -o snprintf.o cfe: Error: snprintf.c, line 115: Syntax Error static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); -------------------^ cfe: Error: snprintf.c, line 115: Syntax Error static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); -------------------------------------^ cfe: Error: snprintf.c, line 115: Syntax Error static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); ------------------------------------------------^ cfe: Error: snprintf.c, line 115: Syntax Error static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); ---------------------------------------------------------^ cfe: Error: snprintf.c, line 115: Syntax Error static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); -------------------------------------------------------------------^ cfe: Warning 625: snprintf.c, line 115: Empty declaration static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); ---------------------------------------------------------------------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); -------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ------------------------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ----------------------------------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ----------------------------------------------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ---------------------------------------------------------------------^ cfe: Error: snprintf.c, line 116: Syntax Error static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ------------------------------------------------------------------------------^ cfe: Warning 625: snprintf.c, line 116: Empty declaration static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); ----------------------------------------------------------------------------------------^ cfe: Error: snprintf.c, line 117: Syntax Error static void dostr __P(( char * , int )); ------------------^ cfe: Warning 625: snprintf.c, line 117: Empty declaration static void dostr __P(( char * , int )); ---------------------------------------^ cfe: Error: snprintf.c, line 119: Syntax Error static void dopr_outch __P(( int c )); -----------------------^ cfe: Warning 625: snprintf.c, line 119: Empty declaration static void dopr_outch __P(( int c )); -------------------------------------^ gmake[2]: *** [snprintf.o] Error 1 gmake[2]: Leaving directory `/purple/disk3/pgsql/src/backend/port' gmake[1]: *** [port.dir] Error 2 gmake[1]: Leaving directory `/purple/disk3/pgsql/src/backend' gmake: *** [all] Error 2 SO !!!!! Any help ? Did anybody had some luck with SGIs ? How do I get rid of this errors, and or warnings ? Since I do not have much experience with unix compilation, I am in a loss here !! My boss wants this up and running ASAP, or else, he will buy a windoze app, argh !!!!!! If anybody has binaries, it would be nice to have them uploaded to the postgres site !!!!! -- ============================================================================== Henrique Moreira da Silva Jr | X-ray Crystallography Lab | voice:(617) 632-3981 | Dana-Farber Cancer Institute | fax: (617) 632-4393 44 Binney Street, SM 1036 | Boston, MA 02115 | henrique@red.dfci.harvard.edu ==============================================================================
pgsql-admin by date: