Geeklog: What I Learnt Today / Adam

installing node.js on OSX10.5.8

> I was interested to poke node.js just to see what it does, so I went to nodejs.org and downloaded the mac installer. Went install and it all ran OK then I went to terminal and went

Macintosh:~ Toby$ node
and got a big old error looking like so

dyld: unknown required load command 0x80000022
Trace/BPT trap
So then I thought I should go for the source code and do the .configure, make, make install thing. That didn't work either I ended up in the same place so then hit google.
This guy was funny on OSX and actually some help although I thankfully I didn't need to go to the extremes he went to.
Once I had downloaded the source code and changed into the expanded directory I just did this

export PATH=/Developer/usr/bin:$PATH ISYSROOT="-isysroot /Developer/SDKs/MacOSX10.5.sdk" export LINKFLAGS=$ISYSROOT CXXFLAGS=$ISYSROOT CFLAGS=$ISYSROOT ./configure --prefix=$HOME --without-ssl make make install
Now it seems to work dandy without ssl but this is just to try it out. I installed node-v0.6.15.

/ Adam