Re: [HACKERS] DEC OSF1 Compilation problems

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dms@wplus.net
Cc: pgsql-hackers@hub.org
Date: 1999-02-03T19:12:01Z
Lists: pgsql-hackers
> Some compilation problem found while compiling
> PostgreSQL-6.4.2 on OSF1 V4.0 878 alpha
> 
> 1. configure (problem because . not in $PATH)
>  743c743
>  < . ./conftest.sh
>  ---
>  > . conftest.sh

Fixed in current tree.

> 
> 2. gram.y did not compile by yacc (on FreeBSD too)
> 
> # woland(dms)~/postgresql-6.4.2/src/backend/parser>yacc -d gram.y 
> # yacc: f - maximum table size exceeded
> 
> fixed by using bison 

Need bison, though gram.c is newer than gram.y, or it should be in the
tar file.

> 
> 3.  src/interfaces/libpq and all dependent sources (like perl5 interface)
> didn't compile because native cc don't support tag const
> fixed by
>    #define const 
>    in apropriate places

Hard to figure they don't support const.

> 
>    4. (old bug) Inastalation fail if prefix directory 
>    (e.g /usr/local/pgsql) doesn't exists

I am fixing this now.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026