LoadModule passenger_module /root/passenger/ext/apache2/
mod_passenger.so
PassengerRoot /root/passenger
PassengerRuby /usr/bin/ruby
and restarted apache, i get the following error report.
[root@fedora-arm passenger]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 204 of /etc/httpd/conf/
httpd.conf: Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/
ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/
passenger-2.2.11/ext/apache2/mod_passenger.so: undefined symbol:
__sync_val_compare_and_swap_4
[FAILED]
My system is Marvell Sheevaplug which is based on ARM architecture.
(Yeah i know, running as root is bad but this is all experimental..)
ruby -e "puts RUBY_PLATFORM" gives me
arm-linux-eabi
Can anyone help me on this?
Thanks!
What's your GCC version?
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Additional info on gcc..
gcc -v
Using built-in specs.
Target: armv5tel-redhat-linux-gnueabi
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/
bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --
enable-checking=release --with-system-zlib --enable-__cxa_atexit --
disable-libunwind-exceptions --enable-gnu-unique-object --enable-
languages=c,c++,objc,obj-c++,java,fortran --enable-java-awt=gtk --
disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-
gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-
mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-
multilib --disable-sjlj-exceptions --build=armv5tel-redhat-linux-
gnueabi
Thread model: posix
Gem passenger is 2.2.11 and apache is 2.2.13.
uname -a gives me
Linux fedora-arm 2.6.33 #2 PREEMPT Tue Mar 2 14:27:17 MST 2010
armv5tel armv5tel armv5tel GNU/Linux
Thanks for the reply.
> --
> You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.
ruby -e "puts RUBY_RELEASE_DATE"
2009-08-04
Hopefully that is the information you need. :)
patch passenger.so < name_of_patch_file
Please post instructions how to apply the patch.
Thanks.
Download the Phusion Passenger source code. In the source tree, apply
the patch with 'patch -p1 < patch_file'. Then install Phusion
Passenger as instructed by the README.
Patch didnt work. :(
I pasted the install results to http://www.pastie.org/921620