Couple of questions from a newbie on OS X (intel PB Pro)…
First, ParseTree doesn’t want to install do to compilation issues…
mbp:/usr/lib/ruby/gems/1.8/gems/ParseTree-1.6.0 Ken$ sudo rake install
sh: line 1: RC_CFLAGS: command not found
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
error executing cc $(RC_CFLAGS) -bundle -g -Os -pipe -fno-common -pipe
-fno-common -pipe -fno-common -I /usr/lib/ruby/1.8/universal-darwin8.0
“/Users/Ken/.ruby_inline/Inline_ParseTree_dc10.c” : 256
Renamed /Users/Ken/.ruby_inline/Inline_ParseTree_dc10.c to
(See full trace by running task with --trace)
…perhaps I need to do further ruby setup?
Also, I first installed ParseTree using ‘sudo gem install ParseTree’ but
I didn’t get any messages to the effect that that had even tried a
compile–certainly not any error message. Is gem install supposed to
compile C extensions when it install something?
Finally, given that OS X is a bit of an odd bird, is there anything else
I need to do to make sure installs work smoothly in the future?