OS X 10.5 & 64-bit
[email protected] Wed, 19 Mar 2008 06:43:36 -0700 (PDT)
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
I have a new MacBook Pro running Leopard. I comes with the Apache 2.2.8 web server installed. It does not have mod_ruby installed. I am trying to build mod_ruby in order to build a new Web application framework based on Ruby. (Don't talk to me about Rails. I've used it. I don't like it. I would need to install mod_ruby regardless.) Anyway, I downloaded 1.2.6 of mod_ruby and built it with the GNU tools provided by XCode 3.0, that being gcc 4.0.1 etc. It built w/o errors after running configure.rb --with-apxs and --with-apr-includes=3D/usr/include/apr-1 which is where Apple keeps the A= PR includes. However, Apache crashes on startup when this module is loaded. According to httpd -V, my version of Apache2 is a 64-bit executable. (Architecture: 64-bit) Questions: 1. Does mod_ruby need to be built as a 64-bit bundle in order to run wit= h a 64-bit Apache2 server? 2. Does the current (1.2.6) version of mod_ruby support 64-bit operation= ? 3. After running configure.rb, the Makefile will build a universal bundl= e which supports ppc and i386 32-bit architectures. When I hand-edit the Makefile to build with -arch x86_64 -Wconversion, I get a ton of warnings about 64-bit / 32-bit incompatibilities (thanks to -Wconversion, no doubt). Are these warnings important? Note that I write software for a living and am simply looking for some guidance. Any patches I make to get this working, I would freely submit to the current code maintainer. Thanks, Ken