Compiling on OS X

Added by audiodude over 8 years ago

I know I'm crazy, but I'm trying it. Someone was bound to, right?

So far I've blindly followed the build instructions for Linux, installing necessary dependencies using macports.

I've actually gotten pretty far:

$ make_all
*********************** BUILD INIT NEL SUCCESS !

*********************** BUILD NEL SUCCESS !

*********************** BUILD NEL INSTALL SUCCESS !

configure.ac:18: installing `./config.guess'
configure.ac:18: installing `./config.sub'
configure.ac:20: installing `./install-sh'
configure.ac:20: installing `./missing'
admin_executor_service/Makefile.am: installing `./depcomp'
configure: WARNING: unrecognized options: --disable-xmltest, --with-stlport, --with-python-version
expr: syntax error
/Users/tmoney/code/ryzom/code/nelns/configure: line 14918: =: command not found
configure: error: NeL Misc must be installed (http://www.nevrax.org).
***************************************************
***************************************************
*********************** BUILD INIT NELNS FAILED
***************************************************
***************************************************
exiting...

I have a feeling that my autoconf doesn't jive with the expected autoconf, so it's causing my configure scripts to not have the right abilities. Either that or I'm not readin in the .ac files correctly. Am I close?

Honestly the build process is a bit....byzantine....and very hard to follow.

$ autoconf -V
autoconf (GNU Autoconf) 2.64

Replies (1)

RE: Compiling on OS X - Added by Mankar over 8 years ago

I've successfully compiled everything except for the client and the tools that use mfc. I didn't use autoconf/automake and instead used cmake with the command:
"cmake ../ -G "Unix Makefiles" -DWITH_TESTS=OFF -DWITH_SOUND=OFF -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32"

My old process for compiling NeL on OSX gives more details: http://dev.ryzom.com/boards/1/topics/952

Looking at your error, you may not need to go to cmake. I'd try running make install in the NeL directory after compiling it. It looks like it's just not getting installed properly.

As you know, OSX isn't fully supported yet, but I've successfully run the server and the snowballs client on Snow Leopard, so it is possible.

-Mankar

(1-1/1)