ARM Architecture support? I got nasty errors.

12 views
Skip to first unread message

Me

unread,
Aug 22, 2009, 1:48:12 PM8/22/09
to Phusion Passenger Discussions
Greetings. I'm running Ubuntu on a Sheeva Plug Dev Kit. It uses the
32 bit ARM Risc architecture. I had an issue with REE that I posted
on that group. The workaround was painless => just specified --no-
tcmalloc. I've got my fingers crossed for something equally painless
here.

apache2: Syntax error on line 282 of /etc/apache2/apache2.conf: Cannot
load /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/
apache2/mod_passenger.so into server: /opt/ruby-enterprise/lib/ruby/
gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so: undefined
symbol: __sync_val_compare_and_swap_4


Regards! P

Hongli Lai

unread,
Aug 22, 2009, 2:28:47 PM8/22/09
to phusion-...@googlegroups.com

Did you see any compile warnings during the compilation of Phusion Passenger?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Me

unread,
Aug 22, 2009, 2:52:34 PM8/22/09
to Phusion Passenger Discussions
I always see a bunch -- even on intel. Things like "warn unused
return value" and what not. I'm probably somewhat de-sensitized to
such messages as a result. I'll recompile ASAP and capture the
output so that I can post it here.

Thanks for the help!

--P

On Aug 22, 11:28 am, Hongli Lai <hon...@phusion.nl> wrote:
> On Sat, Aug 22, 2009 at 7:48 PM, Me<hamann_p...@yahoo.com> wrote:
>
> > Greetings.  I'm running Ubuntu on a Sheeva Plug Dev Kit.  It uses the
> > 32 bit ARM Risc architecture.  I had an issue with REE that I posted
> > on that group.  The workaround was painless => just specified --no-
> > tcmalloc.  I've got my fingers crossed for something equally painless
> > here.
>
> > apache2: Syntax error on line 282 of /etc/apache2/apache2.conf: Cannot
> > load /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/
> > apache2/mod_passenger.so into server: /opt/ruby-enterprise/lib/ruby/
> > gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so: undefined
> > symbol: __sync_val_compare_and_swap_4
>
> Did you see any compile warnings during the compilation of Phusion Passenger?
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl

Me

unread,
Aug 22, 2009, 3:31:55 PM8/22/09
to Phusion Passenger Discussions

Here's the output from the installer. It looks pretty good to me.

Thanks! P

======================================================

# sudo passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v2.2.4.

This installer will guide you through the entire installation process.
It
shouldn't take more than 3 minutes in
total.

Here's what you can expect from the installation
process:

1. The Apache 2 module will be installed for
you.
2. You'll learn how to configure
Apache.
3. You'll learn how to deploy a Ruby on Rails
application.

Don't worry if anything goes wrong. This installer will advise you on
how to
solve any
problems.

Press Enter to continue, or Ctrl-C to
abort.


--------------------------------------------

Checking for required
software...

* GNU C++ compiler... found at /usr/bin/g+
+
* Ruby development headers...
found
* OpenSSL support for Ruby...
found
* RubyGems...
found
* Rake... found at /opt/ruby-enterprise/bin/
rake
* Apache 2... found at /usr/sbin/
apache2
* Apache 2 development headers... found at /usr/bin/
apxs2
* fastthread...
found
* Apache Portable Runtime (APR) development headers... found at /usr/
bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found
at /usr/bin/apu-1-config

--------------------------------------------
Compiling and installing Apache 2
module...
cd /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/
passenger-2.2.4
/opt/ruby-enterprise/bin/ruby -S /opt/ruby-enterprise/bin/rake clean
apache2
# /opt/ruby-enterprise/bin/ruby -S /opt/ruby-enterprise/bin/rake clean
apache2
(in /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/
passenger-2.2.4)
rm -rf ext/apache2/Configuration.o ext/apache2/Bucket.o ext/apache2/
Hooks.o ext/apache2/mod_passenger.o ext/apache2/
mod_passenger.so
rm -rf ext/nginx/
HelperServer
rm -r
pkg
cd ext/phusion_passenger && make
clean
rm -f ext/phusion_passenger/
Makefile
rm -rf ext/apache2/libboost_oxt.a ext/apache2/
libboost_oxt
rm -rf ext/apache2/libpassenger_common.a ext/apache2/
ApplicationPoolServerExecutable ext/apache2/
libpassenger_common
rm -rf ext/nginx/libboost_oxt.a ext/nginx/
libboost_oxt
rm -rf ext/nginx/libpassenger_common.a ext/nginx/
libpassenger_common
rm -rf test/libboost_oxt.a test/
libboost_oxt
rm -rf test/libpassenger_common.a test/ApplicationPoolServerExecutable
test/libpassenger_common
rm -rf test/oxt/oxt_test_main test/oxt/*.o test/CxxTests test/
*.o
mkdir -p ext/apache2/
libpassenger_common
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libpassenger_common/Utils.o -c ext/common/
Utils.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libpassenger_common/Logging.o -c ext/common/
Logging.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libpassenger_common/SystemTime.o -c ext/common/
SystemTime.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libpassenger_common/CachedFileStat.o -c ext/common/
CachedFileStat.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libpassenger_common/Base64.o -c ext/common/
Base64.cpp
mkdir -p ext/apache2/
libpassenger_common
rm -rf ext/apache2/
libpassenger_common.a
ar cru ext/apache2/libpassenger_common.a ext/apache2/
libpassenger_common/*.o
ranlib ext/apache2/
libpassenger_common.a
mkdir -p ext/apache2/libboost_oxt/
boost
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/boost/exceptions.o -c ext/boost/src/pthread/
exceptions.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/boost/once.o -c ext/boost/src/pthread/
once.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/boost/thread.o -c ext/boost/src/pthread/
thread.cpp
mkdir -p ext/apache2/libboost_oxt/
oxt
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/oxt/tracable_exception.o -c ext/oxt/
tracable_exception.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/oxt/system_calls.o -c ext/oxt/
system_calls.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/oxt/backtrace.o -c ext/oxt/
backtrace.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/libboost_oxt/oxt/thread.o -c ext/oxt/
thread.cpp
mkdir -p ext/apache2/libboost_oxt/boost ext/apache2/libboost_oxt/
oxt
rm -rf ext/apache2/
libboost_oxt.a
ar cru ext/apache2/libboost_oxt.a ext/apache2/libboost_oxt/boost/*.o
ext/apache2/libboost_oxt/oxt/*.o
ranlib ext/apache2/
libboost_oxt.a
g++ ext/common/ApplicationPoolServerExecutable.cpp -o ext/apache2/
ApplicationPoolServerExecutable -Iext -Iext/common -fPIC -DLINUX=2 -
D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
-I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/mysql -
DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/
include/apr-1.0 -I/usr/include/mysql -I/usr/include/openssl -I/usr/
include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/
apache2 -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -
DBOOST_DISABLE_ASSERTS ext/apache2/libpassenger_common.a ext/apache2/
libboost_oxt.a -
lpthread
gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/mod_passenger.o -c ext/apache2/
mod_passenger.c
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/Configuration.o -c ext/apache2/
Configuration.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/Bucket.o -c ext/apache2/
Bucket.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o
ext/apache2/Hooks.o -c ext/apache2/
Hooks.cpp
g++ -shared ext/apache2/Configuration.o ext/apache2/Bucket.o ext/
apache2/Hooks.o ext/apache2/mod_passenger.o -fPIC -o ext/apache2/
mod_passenger.so -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/
usr/include/postgresql -I/usr/include/mysql -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/
local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS ext/
apache2/libpassenger_common.a ext/apache2/libboost_oxt.a -fPIC -L/usr/
lib -lapr-1 -L/usr/lib -laprutil-1 -
lpthread
cd ext/phusion_passenger && /opt/ruby-enterprise/bin/ruby
extconf.rb
creating
Makefile
cd ext/phusion_passenger &&
make
gcc -I. -I/opt/ruby-enterprise/lib/ruby/1.8/armv5tejl-linux -I/opt/
ruby-enterprise/lib/ruby/1.8/armv5tejl-linux -I. -
D_FILE_OFFSET_BITS=64 -fPIC -g -O2 -c
native_support.c
gcc -shared -o native_support.so native_support.o -L. -L/opt/ruby-
enterprise/lib -Wl,-R/opt/ruby-enterprise/lib -L. -rdynamic -Wl,-
export-
dynamic

--------------------------------------------
The Apache 2 module was successfully
installed.

Please edit your Apache configuration file, and add these
lines:

LoadModule passenger_module /opt/ruby-enterprise/lib/ruby/gems/1.8/
gems/passenger-2.2.4/ext/apache2/
mod_passenger.so
PassengerRoot /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/
passenger-2.2.4
PassengerRuby /opt/ruby-enterprise/bin/
ruby

After you restart Apache, you are ready to deploy any number of Ruby
on Rails
applications on Apache, without any further Ruby on Rails-
specific
configuration!

Press ENTER to continue.


--------------------------------------------
Deploying a Ruby on Rails application: an example

Suppose you have a Ruby on Rails application in /somewhere. Add a
virtual host
to your Apache configuration file, and set its DocumentRoot to
/somewhere/public, like this:

<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public # <-- be sure to point to
'public'!
</VirtualHost>

And that's it! You may also want to check the Users Guide for security
and
optimization tips and other useful information:

/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.4/doc/
Users guide Apache.html

Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
http://www.modrails.com/

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.

Hongli Lai

unread,
Aug 22, 2009, 4:37:57 PM8/22/09
to phusion-...@googlegroups.com
On Sat, Aug 22, 2009 at 9:31 PM, Me<haman...@yahoo.com> wrote:
> Here's the output from the installer. It looks pretty good to me.

Which version of Ubuntu do you have and which GCC version?

I think this is a Boost issue. Could you edit
ext/boost/details/sp_count_base.hpp line 58 and replace

#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )

with

#elif 0

If you do this and recompile again then it should work.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl

Me

unread,
Aug 22, 2009, 4:59:43 PM8/22/09
to Phusion Passenger Discussions
I have Ubuntu 9.0.4 Jaunty armel. I'll give your suggestion a shot
and report back.

On Aug 22, 1:37 pm, Hongli Lai <hon...@phusion.nl> wrote:
> On Sat, Aug 22, 2009 at 9:31 PM, Me<hamann_p...@yahoo.com> wrote:
> > Here's the output from the installer. It looks pretty good to me.
>
> Which version of Ubuntu do you have and which GCC version?
>
> I think this is a Boost issue. Could you edit
> ext/boost/details/sp_count_base.hpp line 58 and replace
>
>   #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
>
> with
>
>   #elif 0
>
> If you do this and recompile again then it should work.
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl

Me

unread,
Aug 22, 2009, 5:03:54 PM8/22/09
to Phusion Passenger Discussions

Regarding compiler, aptitude show gcc returned this:

Package: gcc
State: installed
Automatically installed: yes
Version: 4:4.3.3-1ubuntu1
Priority: optional
Section: devel
Maintainer: Ubuntu Core Developers <ubuntu-devel-
dis...@lists.ubuntu.com>
Uncompressed Size: 65.5k
Depends: cpp (>= 4:4.3.3-1ubuntu1), gcc-4.3 (>= 4.3.3-1)
Recommends: libc6-dev | libc-dev
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake1.9,
libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (< 1:2.95.3)
Provides: c-compiler
Description: The GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for
C.

This is a dependency package providing the default GNU C compiler.


On Aug 22, 1:37 pm, Hongli Lai <hon...@phusion.nl> wrote:
> On Sat, Aug 22, 2009 at 9:31 PM, Me<hamann_p...@yahoo.com> wrote:
> > Here's the output from the installer. It looks pretty good to me.
>
> Which version of Ubuntu do you have and which GCC version?
>
> I think this is a Boost issue. Could you edit
> ext/boost/details/sp_count_base.hpp line 58 and replace
>
>   #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
>
> with
>
>   #elif 0
>
> If you do this and recompile again then it should work.
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl

Me

unread,
Aug 22, 2009, 5:23:56 PM8/22/09
to Phusion Passenger Discussions
It looks good! I have to check it out more, but we are very pleased.

Thank you so much for your help.

On Aug 22, 2:03 pm, Me <hamann_p...@yahoo.com> wrote:
> Regarding compiler, aptitude show gcc returned this:
>
> Package: gcc
> State: installed
> Automatically installed: yes
> Version: 4:4.3.3-1ubuntu1
> Priority: optional
> Section: devel
> Maintainer: Ubuntu Core Developers <ubuntu-devel-
> disc...@lists.ubuntu.com>

Hongli Lai

unread,
Aug 22, 2009, 5:53:05 PM8/22/09
to phusion-...@googlegroups.com
On Sat, Aug 22, 2009 at 11:23 PM, Me<haman...@yahoo.com> wrote:
>
> It looks good!  I have to check it out more, but we are very pleased.
>
> Thank you so much for your help.

OK.

If this works, could you report it to the Boost developers?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl

Reply all
Reply to author
Forward
0 new messages