mod_fastcgi.c: In function `init_module':
mod_fastcgi.c:270: error: `ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c:270: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:270: error: for each function it appears in.)
mod_fastcgi.c: In function `process_headers':
mod_fastcgi.c:725: warning: return makes pointer from integer without a cast
mod_fastcgi.c:729: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:739: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:768: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c:838: warning: return makes pointer from integer without a cast
mod_fastcgi.c:842: warning: return makes pointer from integer without a cast
mod_fastcgi.c: In function `set_uid_n_gid':
mod_fastcgi.c:1022: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
mod_fastcgi.c:1024: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1033: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1034: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function `do_work':
mod_fastcgi.c:2321: error: `ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c: In function `create_fcgi_request':
mod_fastcgi.c:2425: warning: cast to pointer from integer of different size
mod_fastcgi.c:2453: warning: cast to pointer from integer of different size
mod_fastcgi.c:2479: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2492: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function `apache_is_scriptaliased':
mod_fastcgi.c:2534: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c: In function `post_process_for_redirects':
mod_fastcgi.c:2559: warning: passing arg 1 of `ap_internal_redirect_handler' makes pointer from integer without a cast
mod_fastcgi.c: In function `check_user_authentication':
mod_fastcgi.c:2682: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2700: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_user_authorization':
mod_fastcgi.c:2749: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2765: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_access':
mod_fastcgi.c:2809: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2826: warning: comparison between pointer and integer
apxs:Error: Command failed with rc=65536
.
Adding mod_fcgi definitions to apache
backing up httpd.conf to httpd.conf.ruby
backup successful
/etc/httpd/conf/fastcgi.conf not found!
Removing directive from httpd.conf
Adding directive to httpd.conf
Done installing mod_fcgi
Extracting ruby-1.8.4.tar.gz...
Configuring...
Making ruby-1.8.4.tar.gz...
file.c: In function `chmod_internal':
file.c:1695: warning: cast from pointer to integer of different size
void
char
short
int
long
float
double
ossl_asn1.c: In function `ossl_asn1_get_asn1type':
ossl_asn1.c:503: warning: cast to pointer from integer of different size
Installing ruby-1.8.4.tar.gz...
cp -r ./.ext/. /usr/local/lib/ruby/1.8
Done installing ruby-1.8.4.tar.gz
Extracting ruby-fcgi-0.8.6.tar.gz...
Configuring...
install.rb: entering config phase...
---> lib
<--- lib
---> ext
---> ext/fcgi
/usr/local/bin/ruby /usr/local/directadmin/customapache/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb
<--- ext/fcgi
<--- ext
install.rb: config done.
Setting up...
install.rb: entering setup phase...
---> lib
<--- lib
---> ext
---> ext/fcgi
make
<--- ext/fcgi
<--- ext
install.rb: setup done.
Installing...
install.rb: entering install phase...
---> lib
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/
install fcgi.rb /usr/local/lib/ruby/site_ruby/1.8/
<--- lib
---> ext
---> ext/fcgi
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/x86_64-linux/.
install fcgi.so /usr/local/lib/ruby/site_ruby/1.8/x86_64-linux/.
<--- ext/fcgi
<--- ext
install.rb: install done.
Done installing ruby-fcgi
Extracting rubygems-0.9.0.tgz...
Installing...
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/local/bin/
install gem_server /usr/local/bin/
install gem_mirror /usr/local/bin/
install update_rubygems /usr/local/bin/
install gem /usr/local/bin/
install gemlock /usr/local/bin/
install index_gem_repository.rb /usr/local/bin/
install gemwhich /usr/local/bin/
install gemri /usr/local/bin/
<--- bin
---> lib
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/
install gemconfigure.rb /usr/local/lib/ruby/site_ruby/1.8/
install ubygems.rb /usr/local/lib/ruby/site_ruby/1.8/
install rubygems.rb /usr/local/lib/ruby/site_ruby/1.8/
---> lib/rubygems
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/rubygems
install specification.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install open-uri.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install rubygems_version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install loadpath_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install source_index.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install user_interaction.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install format.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install dependency_list.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install remote_installer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install cmd_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_commands.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install timer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install validator.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install config_file.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_runner.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install doc_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install custom_require.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install old_format.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install builder.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install package.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install command.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install installer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install incremental_fetcher.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
<--- lib/rubygems
---> lib/rbconfig
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/rbconfig
install datadir.rb /usr/local/lib/ruby/site_ruby/1.8/rbconfig
<--- lib/rbconfig
<--- lib
Done making rubygems. Removing rubygems cache file which causes update problems.
Done. Updating gems
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/local/bin/
install gem_server /usr/local/bin/
install gem_mirror /usr/local/bin/
install update_rubygems /usr/local/bin/
install gem /usr/local/bin/
install gemlock /usr/local/bin/
install index_gem_repository.rb /usr/local/bin/
install gemwhich /usr/local/bin/
install gemri /usr/local/bin/
<--- bin
---> lib
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/
install gemconfigure.rb /usr/local/lib/ruby/site_ruby/1.8/
install ubygems.rb /usr/local/lib/ruby/site_ruby/1.8/
install rubygems.rb /usr/local/lib/ruby/site_ruby/1.8/
---> lib/rubygems
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/rubygems
install specification.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install open-uri.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install rubygems_version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install loadpath_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install source_index.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install user_interaction.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install format.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install dependency_list.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install remote_installer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install cmd_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_commands.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install timer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install validator.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install config_file.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_runner.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install doc_manager.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install custom_require.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install old_format.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install builder.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install package.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install command.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install installer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install incremental_fetcher.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
<--- lib/rubygems
---> lib/rbconfig
mkdir -p /usr/local/lib/ruby/site_ruby/1.8/rbconfig
install datadir.rb /usr/local/lib/ruby/site_ruby/1.8/rbconfig
<--- lib/rbconfig
<--- lib
Done. Attempting to install rails
Rails Installed. Installing MySQL gems
/usr/bin/ld: /usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [mysql.so] Error 1
/usr/bin/ld: /usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [mysql.so] Error 1
MySQL gem installed. Installing redcloth, bluecloth, rubypants
Cleaning up old gem installs
Cleanup complete. Gems install/update complete.
Attempting to restart apache...
[FAILED]
[root@da1 ruby_on_rails]#
[root@da1 ruby_on_rails]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 573 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/fastcgi.conf: API module structure `fastcgi_module' in file /etc/httpd/modules/mod_fastcgi.so is garbled - perhaps this is not an Apache module DSO?
[FAILED]
[root@da1 ruby_on_rails]#