Hi!
I am trying to get Solaris + Apache (mod_fcgid) + FastCGI running. I
have got to the point where I need to install the "fcgi" module using
gem. However, the installation fails and having hunted around for some
answers, I think this may be a bug:
=====================================> gem install fcgi
Need to update 40 gems from http://gems.rubyforge.org
........................................
complete
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install fcgi
checking for fcgiapp.h... yes
checking for FCGX_Accept() in -lfcgi... yes
creating Makefile
make
gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.10 -I/
usr/local/lib/ruby/1.8/sparc-solaris2.10 -I. -DHAVE_FCGIAPP_H -c
fcgi.c
In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.10/ruby.h:
24,
from fcgi.c:13:
/usr/local/lib/ruby/1.8/sparc-solaris2.10/config.h:17:1: warning:
"_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/stdarg_c99.h:34,
from /usr/include/stdarg.h:33,
from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/
include/stdio.h:14,
from fcgi.c:7:
/usr/include/sys/feature_tests.h:188:1: warning: this is the location
of the previous definition
gcc -Wl,-G -L''/usr/local/lib''
-Wl,-R''/usr/local/lib'' -o fcgi.so
fcgi.o -lfcgi -ldl -lcrypt -lm -lc
make install
./install-sh -c -m 0755 fcgi.so /usr/local/lib/ruby/gems/1.8/gems/
fcgi-0.8.7/lib
make: ./install-sh: Command not found
make: *** [/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.so]
Error 127
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/
fcgi-0.8.7 for inspection.
Results logged to /proj/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/
fcgi/gem_make.out
=====================================
I have posted a full description of the installation procedure here:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/a31513b4d432643b/b2977ec222a498e1?lnk=gst&q=solaris&rnum=7#b2977ec222a498e1
This is my environment:
- Solaris 10 1/06
- Apache 2.2.0 with fcgid_module 2.1
- Ruby 1.8.4
- Rails 1.2.3
- gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Is there a workaround for this problem?
Best regards,
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---