plpgsql failure in databases/postgresql80-server

Palle Girgensohn girgen at pingpong.net
Sat Feb 19 14:48:13 PST 2005


2005-02-19 kl. 23.45 skrev Simon Barner:

> [Cc'ing girgen@, the maintainer of the postgres* ports]
> Anthony Chavez wrote:
>> I'm seeing the following when trying to build portupgrade
>> postgresql-server from 8.0.1 to 8.0.1_1 on 4.11-RELEASE:
>>
>> gmake[2]: Entering directory  
>> `/usr/ports/databases/postgresql80-server/work/postgresql-8.0.1/src/ 
>> pl/plpgsql/src'
>> bison -y -d  gram.y
>> NONE:0: /usr/local/bin/gm4: ERROR: EOF in string
>> sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' < y.tab.c >  
>> ./pl_gram.c
>> cannot open y.tab.c: no such file
>
> [...]
>
> Hi,
>
> I had the same problem with postgresql74-server-7.4.7_1. It seems that
> you need bison1875 (as indicated by postgresql's configure script).
>
> So, if you pkg_delete your current bison installation and install the
> devel/bison1875 port, you'll be able to build the postgresql server
> port.
>
> Of course, this can cause some pain with other ports since bison 1.875
> is not fully backwards compatible with the older (and widely used)
> version 1.75 :(
>
> Regards,
>  Simon
>

Hi,

Yeah, it seems I need to a dependency for bison on FreeBSD 4.x. I  
should have known better...

/Palle



More information about the freebsd-ports mailing list