Re: [HACKERS] DEC OSF1 Compilation problems
Pedro J. Lobo <pjlobo@euitt.upm.es>
From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
To: Dmitry Samersoff <dms@wplus.net>
Cc: pgsql <pgsql-hackers@hub.org>
Date: 1999-02-04T10:00:50Z
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@euitt.upm.es