S
sonny.chee
Hey Guys,
I'm having problems with installing Mongrel on Ubuntu 7.1 (Gutsy
Gibbons). I installed the ruby dev library as per an earlier thread and
that got me further along the way. The install completes with the
following (long) message:
==========================================================
Building native extensions. This could take a while...
tst_search.c:3:19: error: stdio.h: No such file or directory
tst_search.c:4:20: error: stdlib.h: No such file or directory
tst_search.c:5:20: error: assert.h: No such file or directory
tst_search.c: In function ‘tst_search’:
tst_search.c:12: error: ‘NULL’ undeclared (first use in this function)
tst_search.c:12: error: (Each undeclared identifier is reported only
once
tst_search.c:12: error: for each function it appears in.)
make: *** [tst_search.o] Error 1
tst_search.c:3:19: error: stdio.h: No such file or directory
tst_search.c:4:20: error: stdlib.h: No such file or directory
tst_search.c:5:20: error: assert.h: No such file or directory
tst_search.c: In function ‘tst_search’:
tst_search.c:12: error: ‘NULL’ undeclared (first use in this function)
tst_search.c:12: error: (Each undeclared identifier is reported only
once
tst_search.c:12: error: for each function it appears in.)
make: *** [tst_search.o] Error 1
ruby extconf.rb install mongrel
checking for main() in -lc... no
creating Makefile
make
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC
-fno-strict-aliasing -g -O2 -fPIC -c tst_search.c
make install
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC
-fno-strict-aliasing -g -O2 -fPIC -c tst_search.c
make clean
Successfully installed mongrel-1.0.3
Installing ri documentation for mongrel-1.0.3...
Installing RDoc documentation for mongrel-1.0.3...
=======================================================================
So, the install appears to be successful despite the earlier error
messages.... However, when I attempt to start up mongrel I get the
following error:
user@ubuntu710desktop:~/projects/tester$ mongrel_rails start -d
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- http11 (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/../lib/mongrel.rb:8
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/mongrel_rails:11
from /usr/bin/mongrel_rails:18:in `load'
from /usr/bin/mongrel_rails:18
Do I need to install other ruby packages as prerequisites? *Any* help
would be really appreciated.
Sonny.
I'm having problems with installing Mongrel on Ubuntu 7.1 (Gutsy
Gibbons). I installed the ruby dev library as per an earlier thread and
that got me further along the way. The install completes with the
following (long) message:
==========================================================
Building native extensions. This could take a while...
tst_search.c:3:19: error: stdio.h: No such file or directory
tst_search.c:4:20: error: stdlib.h: No such file or directory
tst_search.c:5:20: error: assert.h: No such file or directory
tst_search.c: In function ‘tst_search’:
tst_search.c:12: error: ‘NULL’ undeclared (first use in this function)
tst_search.c:12: error: (Each undeclared identifier is reported only
once
tst_search.c:12: error: for each function it appears in.)
make: *** [tst_search.o] Error 1
tst_search.c:3:19: error: stdio.h: No such file or directory
tst_search.c:4:20: error: stdlib.h: No such file or directory
tst_search.c:5:20: error: assert.h: No such file or directory
tst_search.c: In function ‘tst_search’:
tst_search.c:12: error: ‘NULL’ undeclared (first use in this function)
tst_search.c:12: error: (Each undeclared identifier is reported only
once
tst_search.c:12: error: for each function it appears in.)
make: *** [tst_search.o] Error 1
ruby extconf.rb install mongrel
checking for main() in -lc... no
creating Makefile
make
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC
-fno-strict-aliasing -g -O2 -fPIC -c tst_search.c
make install
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC
-fno-strict-aliasing -g -O2 -fPIC -c tst_search.c
make clean
Successfully installed mongrel-1.0.3
Installing ri documentation for mongrel-1.0.3...
Installing RDoc documentation for mongrel-1.0.3...
=======================================================================
So, the install appears to be successful despite the earlier error
messages.... However, when I attempt to start up mongrel I get the
following error:
user@ubuntu710desktop:~/projects/tester$ mongrel_rails start -d
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- http11 (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/../lib/mongrel.rb:8
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/mongrel_rails:11
from /usr/bin/mongrel_rails:18:in `load'
from /usr/bin/mongrel_rails:18
Do I need to install other ruby packages as prerequisites? *Any* help
would be really appreciated.
Sonny.