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

OpenMacNews OpenMacNews at
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/:


install is successful.

BUT, if configured w/:


'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  \
	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:

suggests the resolution is the 'new' bison:


using the resultant:

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

cyrus-imap builds/installs without error


Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list