rake aborted

19 views
Skip to first unread message

jmark

unread,
Jul 16, 2008, 2:12:14 AM7/16/08
to Phusion Passenger Discussions
I have been struggling with installing for hours solving one problem
after another and I am almost giving up.
the latest error I got is this and I can't find any solution in
google. I am running the application in cygwin

In file included from mod_passenger.c:20:
/usr/include/apache2/httpd.h:54:25: apr_buckets.h: No such file or
directory
/usr/include/apache2/httpd.h:745:21: apr_uri.h: No such file or
directory In file included from mod_passenger.c:20:
/usr/include/apache2/httpd.h:947: error: `apr_uri_t' does not name a
type
/usr/include/apache2/httpd.h:1107: error: ISO C++ forbids declaration
of `APR_RING_ENTRY' with no type
/usr/include/apache2/httpd.h:1107: error: expected `;' before
"timeout_list"
/usr/include/apache2/httpd.h:1224: error: ISO C++ forbids declaration
of `apr_bucket_brigade' with no type
/usr/include/apache2/httpd.h:1224: error: expected `;' before '*'
token
/usr/include/apache2/httpd.h:1232: error: ISO C++ forbids declaration
of `apr_bucket_brigade' with no type
/usr/include/apache2/httpd.h:1232: error: expected `;' before '*'
token
/usr/include/apache2/httpd.h:1233: error: ISO C++ forbids declaration
of `apr_bucket_brigade' with no type
/usr/include/apache2/httpd.h:1233: error: expected `;' before '*'
token In file included from mod_passenger.c:21:
/usr/include/apache2/http_config.h:975: error: expected constructor,
destructor, or type conversion before '(' token
/usr/include/apache2/http_config.h:975: error: expected `,' or `;'
before '(' token
rake aborted!
Command failed with status (1): [g++ -I.. -fPIC -g -DPASSENGER_DEBUG -
DCYGW...]



Hongli Lai

unread,
Jul 16, 2008, 1:06:56 PM7/16/08
to phusion-...@googlegroups.com
jmark wrote:
> I have been struggling with installing for hours solving one problem
> after another and I am almost giving up.
> the latest error I got is this and I can't find any solution in
> google. I am running the application in cygwin

We do not support Cygwin, sorry. Please use Linux.

--
Phusion | The Computer Science Company

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

luskwater

unread,
Sep 8, 2008, 2:36:21 PM9/8/08
to Phusion Passenger Discussions
I get this same error installing Passenger on SuSE Linux Enterprise
Server 10 SP2 (SLES10 SP2). In this case, for whatever reason, the
missing files
* apr_hooks.h
* apr_optional_hooks.h
* apr_buckets.h
* apr_uri.h
are all in a subdirectory
/usr/include/apr-1
(On openSuSE 11.0, it installed without problems, by the way.)

The g++ command on openSuSE 11.0 includes a directive to include /usr/
include/apr-1 but this is not present on SLES10.


On Jul 16, 1:06 pm, Hongli Lai <hon...@phusion.nl> wrote:
> jmark wrote:
> > I have been struggling with installing for hours solving one problem
> > after another and I am almost giving up.
> > the latest error I got is this and I can't find any solution in
> > google. I am running the application in cygwin
>
> We do not support Cygwin, sorry. Please use Linux.
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl

luskwater

unread,
Sep 8, 2008, 2:46:37 PM9/8/08
to Phusion Passenger Discussions
Looks like apr-1-config is returning unreliable information: it's
correct on openSuSE 11.0 ("-I/usr/include/apr-1"), but not on SLES10
("-I/usr/include"). I should beat on someone else,
apparently.... :-)

luskwater

unread,
Sep 8, 2008, 2:56:01 PM9/8/08
to Phusion Passenger Discussions
FYI only: I copied /usr/bin/apr-1-config to /usr/local/bin/apr-1-
config and applied this change:

30c30
< includedir="/usr/include"
---
> includedir="/usr/include/apr-1"

and the installation worked.
Reply all
Reply to author
Forward
0 new messages