Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Compiler errors, cannot find some system header files
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeremy  
View profile  
 More options Dec 18 2009, 1:44 am
From: Jeremy <jdfr...@gmail.com>
Date: Thu, 17 Dec 2009 22:44:57 -0800 (PST)
Local: Fri, Dec 18 2009 1:44 am
Subject: Compiler errors, cannot find some system header files
I'm trying to install Passenger on my MacBook (latest version of Snow
Leopard), and I'm getting some really crazy error messages.  Here's a
snapshot of the problem:

mkdir -p ext/apache2/libpassenger_common
g++ -Iext -Iext/common -fPIC -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -
I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/apache2 -arch
i386 -arch ppc -arch x86_64 -arch ppc64 -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
In file included from ext/boost/config/no_tr1/utility.hpp:21,
                 from ext/boost/config/select_stdlib_config.hpp:20,
                 from ext/boost/config.hpp:40,
                 from ext/boost/thread/detail/platform.hpp:14,
                 from ext/boost/thread/tss.hpp:9,
                 from ext/oxt/system_calls.hpp:28,
                 from ext/common/Utils.cpp:26:
/usr/include/c++/4.2.1/utility:65:28: error: bits/c++config.h: No such
file or directory

The "locate" command shows me that I *do* have the "missing" header
file:

/usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h
/usr/include/c++/4.2.1/powerpc-apple-darwin10/bits/c++config.h
/usr/include/c++/4.2.1/x86_64-apple-darwin10/bits/c++config.h
# plus some others

FWIW, here's the start of the install script's output:

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/local/bin/rake
 * rack... found
 * Apache 2... found at /usr/sbin/httpd
 * Apache 2 development headers... found at /usr/sbin/apxs
 * 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

Ruby is coming from MacPorts; everything else is from Apple.

I've got no good read on this problem at all, and I'd appreciate any
push anyone can give me.

jdf


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Dec 20 2009, 11:57 am
From: Hongli Lai <hon...@phusion.nl>
Date: Sun, 20 Dec 2009 17:57:49 +0100
Local: Sun, Dec 20 2009 11:57 am
Subject: Re: [phusion-passenger] Compiler errors, cannot find some system header files

I think your C++ compiler is broken. Try reinstalling the dev tools.

--
Phusion | The Computer Science Company

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »