Menu

#1 Mac OSX Build Errors

IRCd - SVN Trunk
open
Compile (1)
5
2006-12-31
2006-12-31
No

I spotted two interesting problems when building SVN trunk on the Compile Farm with OSX.

Number One: Autodetection came up with a really stupid Max Connections limit. Easy fix: Specify --with-maxconnections=1024 (or whatever)

Number Two: GCC would produce "bad macro argument list" errors while compiling src/fds.c and src/socketengine_select.c. This can be fixed by adding CC="gcc -no-cpp-precomp" before the ./configure statement.

My suggestions:
Investigate a new ./configure script that will actually default to 1024 connections (override on --with-maxconnections
If building on a 'powerpc-apple-darwin6.8' add -no-cpp-precomp to the gcc args.

Discussion


Log in to post a comment.