Installing Io on OS X Snow Leopard(10.6.8)
Computing 2011. 12. 5. 00:210. Change definition of NS_INLINE:
You are going to get following error unless you make the changes:
io/libs/iovm/source/IoObject_inline.h: In function ‘IoCoroutine_rawRunTarget’:
io/libs/iovm/source/IoObject_inline.h:322: error: ‘always_inline’ function could not be inlined in call to ‘IoObject_rawGetSlot_’: recursive inlining
io/libs/iovm/source/IoObject_inline.h:344: error: called from here
Refer to https://github.com/stevedekorte/io/issues/135
1. Install yajl
git clone https://github.com/lloyd/yajl.git
Without it, you are going to encounter following error:
Linking CXX shared library _build/dll/libIoObjcBridge.dylib
ld: library not found for -lIoYajl
2. Install libevent
git clone https://github.com/libevent/libevent.git
cd libevent; autoreconf -i
./configure;make;sudo make install
Without it, you will encounter following error:
Linking CXX shared library _build/dll/libIoObjcBridge.dylib
ld: library not found for -lIoSocket
3. Check if additional libraries are available on your system
In case you cloned Io from github, go into build directory and type "ccmake .." to check which library is not on your system.
If you feel like you'll need one one of them, go and install it.
4. You are good to go make install
You will want to use build.sh script found in the io directory, if you cloned Io from github.
Or you may refer to this page: http://en.wikibooks.org/wiki/Io_Programming/Beginner%27s_Guide/Getting_Started
5. Enjoy Io
Have fun.