fyi: bison-related "bus errors" on cyrus-imapd build need bison update to v2.0a

OpenMacNews OpenMacNews at speakeasy.net
Mon Jun 20 11:41:48 EDT 2005


hi all,

fwiw ...

bldg unpatched Cyrus-IMAPd-cvs (6/20/05 01:00:00) w/ Cyrus-SASL v2.1.22 on OSX 
10.4.1, if configured w/:

	...
	--disable-sieve
	...

install is successful.

BUT, if configured w/:

	...
	--enable-sieve
	...

'make all' fails (in ./SIEVE/) with:

	gcc -c -I.. -I./../lib -I/usr/include -I/usr/local/berkeley-db/include 
-I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include 
-I/usr/local/ssl/include -I/usr/local/cyrus-sasl//include -DHAVE_CONFIG_H -g 
-O2  \
	tree.c
	bison -y -d -p addr ./addr.y
	make[1]: *** [addr.c] Bus error
	make: *** [all] Error 1

this is, apparently, a bison (on Mac?) issue.

Apple ships:

	% /usr/bin/bison --version
		GNU Bison version 1.28

which is so old as to cause grief for a bunch of other apps; the answer (4 me, 
2 date) has been to use/build:

	% /usr/local/bin/bison --version
		bison (GNU Bison) 1.875	(released Jan 01 2003)

which, under Tiger (at least), causes this cyrus-imapd-build "bus error". a 
bison 'make check' shows all sorts of test failures ...

a thread here:

	http://lists.gnu.org/archive/html/bug-bison/2005-03/msg00060.html

suggests the resolution is the 'new' bison:

	wget ftp://alpha.gnu.org/gnu/bison/bison-2.0a.tar.gz

using the resultant:

	% /usr/local/bin/bison --version
		bison (GNU Bison) 2.0a	 (released May 23 2005)

cyrus-imap builds/installs without error


hth!

richard
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list