Skip site navigation (1) Skip section navigation (2)

RE: [ADMIN] Having problems compiling postgres on IRIX

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Henrique Silva <henrique(at)red(dot)dfci(dot)harvard(dot)edu>, pgsql-admin(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org, pgsql-novice(at)postgreSQL(dot)org
Subject: RE: [ADMIN] Having problems compiling postgres on IRIX
Date: 1998-10-01 16:56:42
Message-ID: F10BB1FAF801D111829B0060971D839F445B3B@cpsmail (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-hackers
Well 1st problem --prefix is not where the source code is at but where
you want the binaries to go once the compile is finished.
The syntax errors that you are getting on snprintf.c I'm not
experiencing here.  I'm using gcc v2.7.2.3 (you can do gcc --version to
check yours).
You might want to try editing out the extra parens and see what you get.


And I have no idea where you get the install.sh script, but one does
come with the postgres distribution.
		-DEJ

> -----Original Message-----
> From:	Henrique Silva [SMTP:henrique(at)red(dot)dfci(dot)harvard(dot)edu]
> Sent:	Thursday, October 01, 1998 10:17 AM
> To:	pgsql-admin(at)postgreSQL(dot)org; Henrique Silva;
> pgsql-hackers(at)postgreSQL(dot)org; pgsql-novice(at)postgreSQL(dot)org
> Subject:	[ADMIN] Having problems compiling postgres on IRIX
> 
> 
> 
>     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(at)red(dot)dfci(dot)harvard(dot)edu
> ======================================================================
> ========
> 
> 
> 

pgsql-hackers by date

Next:From: Matthew C. AycockDate: 1998-10-01 19:01:24
Subject: Re: [HACKERS] pg_dump
Previous:From: Henrique SilvaDate: 1998-10-01 15:17:09
Subject: Having problems compiling postgres on IRIX

pgsql-admin by date

Next:From: Jason R. MadridDate: 1998-10-01 17:45:46
Subject: List of users
Previous:From: Gene Selkov Jr.Date: 1998-10-01 15:30:57
Subject: COPY slows down; is it normal?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group