[sword-devel] Building CVS sources (MacOS X success)

Tom Pollard sword-devel@crosswire.org
Sun, 25 May 2003 00:54:04 -0400


Hi,

In case this helps someone else...

On Thursday, May 8, 2003, at 08:10 PM, Tom Pollard wrote:
> I'm a Unix developer who's interested in helping out on the Sword 
> project, and particularly on the native MacOS X interface for Sword.  
> I tried to build the current sword sources from the CVS repository 
> yesterday, but ran into problems.  I've tried building on both RedHat 
> 7.1 and MacOS X 10.2.6 systems, but neither was successful.
> [...]
> Under MacOS X, I installed autoconf 2.57 and automake 1.6.3 using 
> Fink, along with libtool 1.3.5-12.   In this case, autogen.sh failed, 
> with the message
>
> *** Recreating the Makefile.in files
> ./autogen.sh: line 15: 12728 Segmentation fault      $AUTOMAKE -ac 
> --foreign

It turns out that automake contains a regexp that causes Perl to 
recurse so deeply that the default stack size limit is exceeded.  After 
upping the stack limit with

     ulimit -s 65536

in my bash shell, autogen.sh finally succeeded and the rest of the 
build was successful as well.

Cheers,

Tom