Re: [HACKERS] Cannot compile psql - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] Cannot compile psql
Date
Msg-id 20000118225433V.t-ishii@sra.co.jp
Whole thread Raw
In response to Cannot compile psql  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [HACKERS] Cannot compile psql
List pgsql-hackers
> I just tried recompiling the latest source for the first time in weeks, but
> it appears I cannot compile pgsql. My source should be up-to-date since I
> use cvsup everytime I go online. But during compile I get:
> 
> gcc -I../../interfaces/libpq -I../../include -I../../backend   -O2 -Wall -Wmissing-prototypes   -c -o common.o
common.c
> In file included from ../../include/postgres.h:41,
>                  from ../../interfaces/libpq/pqsignal.h:20,
>                  from common.c:23:
> ../../include/utils/mcxt.h:25: syntax error before `MemoryContext'
> make[2]: *** [common.o] Error 1
> 
> Is this a problem on my site? 

I assume you have configured --with-mb=something *before*
make. --with-mb does not seem to work anymore. Try:

make distclean
./configure --enable-multibyte[=something]

Seems we have to warn if --with-mb is used, otherwise multibyte users
would complain about it.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: FETCH syntax
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] Cannot compile psql