Re: [HACKERS] DEC OSF1 Compilation problems

From: "Pedro J(dot) Lobo" <pjlobo(at)euitt(dot)upm(dot)es>
To: Dmitry Samersoff <dms(at)wplus(dot)net>
Cc: pgsql <pgsql-hackers(at)hub(dot)org>
Subject: Re: [HACKERS] DEC OSF1 Compilation problems
Date: 1999-02-04 10:00:50
Message-ID: Pine.OSF.4.05.9902041056490.30527-100000@haddock.euitt.upm.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)euitt(dot)upm(dot)es

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pedro J. Lobo 1999-02-04 10:29:41 Re: [HACKERS] template/alpha_cc
Previous Message Dmitry Samersoff 1999-02-04 09:25:09 Re: [HACKERS] DEC OSF1 Compilation problems