Trying to get fcgi and apache to play nicely on AIX has turned nasty, so
I’m switching my hopes to mongrel for a solution. I’ve managed to get
all the gems and dependancies and everything set up, Or think I have.
There were a couple of errors during the install. Listed below.
gem install mongrel.gem
Attempting local installation of 'mongrel.gem'
Building native extensions. This could take a while...
cc: not found
make: 1254-004 The error code from the last command is 1.
Stop.
cc: not found
make: 1254-004 The error code from the last command is 1.
Stop.
ruby extconf.rb install mongrel.gem
checking for main() in -lc… no
creating Makefile
make
cc -g -I. -I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.1.0.0
-I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.1.0.0 -I. -qalloca
-D_LINUX_SOURCE_COMPAT -qlonglong -c http11.c
make install
cc -g -I. -I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.1.0.0
-I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.1.0.0 -I. -qalloca
-D_LINUX_SOURCE_COMPAT -qlonglong -c http11.c
Successfully installed mongrel, version 0.3.12
Installing RDoc documentation for mongrel-0.3.12…
lib/mongrel/rails.rb:135:49: Skipping require of dynamic string:
“#{ops[:cwd]}/config/environment”
But it does say “Successfully installed mongrel”
Now when I try and run mongrel I get this message.
mongrel_rails start -d
/usr/local/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/rails.rb:28:
uninitialized constant Mongrel::HttpHandler (NameError)
from
/usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
/usr/local/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12/bin/mongrel_rails:4
from /usr/local/ruby/bin/mongrel_rails:18
Has anyone else managed to get mongrel running on AIX (5.3)?
Have I missed something obvious in the error messages?
Any help is really appreciated.
Thanks
Tom