Re: [HACKERS] DEC OSF1 Compilation problems - Mailing list pgsql-hackers

From Pedro J. Lobo
Subject Re: [HACKERS] DEC OSF1 Compilation problems
Date
Msg-id Pine.OSF.4.05.9902041056490.30527-100000@haddock.euitt.upm.es
Whole thread Raw
In response to DEC OSF1 Compilation problems  (Dmitry Samersoff <dms@wplus.net>)
List pgsql-hackers
On Wed, 3 Feb 1999, Dmitry Samersoff wrote:

>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

I don't know why this happens in 6.4.2, because it didn't in 6.4.1. You
have applied the right fix/workaround.
>
>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 

I had always used bison. I will add this to the DU FAQ.

>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

The right fix is to add "-std" to the CFLAGS line in template/alpha. This
is already fixed in 6.5 beta.

-- 
-------------------------------------------------------------------
Pedro José Lobo Perea                   Tel:    +34 91 336 78 19
Centro de Cálculo                       Fax:    +34 91 331 92 29
EUIT Telecomunicación - UPM             e-mail: pjlobo@euitt.upm.es



pgsql-hackers by date:

Previous
From: Dmitry Samersoff
Date:
Subject: Re: [HACKERS] DEC OSF1 Compilation problems
Next
From: "Pedro J. Lobo"
Date:
Subject: Re: [HACKERS] template/alpha_cc