Can't install passenger + nginx on RedHat

Showing 1-8 of 8 messages
Can't install passenger + nginx on RedHat Kyle Fox 11/29/10 10:17 AM
I encounter an error running passenger-install-nginx-module and
selecting the first option( download, compile and install Nginx for
me):

When it checks for required software it says the C compiler is found:

 * GNU C++ compiler... found at /usr/bin/g++

(screenshot: http://d.pr/mFgd)

But when it attempts to run `'./configure ...` I get the following
results:

    checking for C compiler ... found but is not working
    ./configure: error: C compiler gcc is not found

(screenshot: http://d.pr/3tZH)

Both g++ and gcc are installed (version 4.1.2).

I have no idea what to try next.  Is my g++/gcc misconfigured?  Any
help would be much appreciated.  Thanks!
Re: Can't install passenger + nginx on RedHat Kyle Fox 11/29/10 10:27 AM
I should mention that I've already tried re-installing g++ and gcc
Re: [phusion-passenger] Re: Can't install passenger + nginx on RedHat Curtis j Schofield 11/29/10 10:36 AM
can you run

ldd `which g++`
ldd `which gcc`


and paste the output?


On Mon, Nov 29, 2010 at 10:27 AM, Kyle Fox <kyle...@gmail.com> wrote:
> I should mention that I've already tried re-installing g++ and gcc
>
> --
> 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.
>
>

--
make haste slowly \
festina lente  \

Re: Can't install passenger + nginx on RedHat Kyle Fox 11/29/10 11:00 AM
Sure thing:

root@230956-web5 /usr/local/nginx: ldd `which g++`
        linux-gate.so.1 =>  (0x007ca000)
        libc.so.6 => /lib/libc.so.6 (0x0027d000)
        /lib/ld-linux.so.2 (0x0025e000)
root@230956-web5 /usr/local/nginx: ldd `which gcc`
        linux-gate.so.1 =>  (0x00228000)
        libc.so.6 => /lib/libc.so.6 (0x0027d000)
        /lib/ld-linux.so.2 (0x0025e000)

I just tried compiling nginx manually and it worked fine.  I haven't
yet verified that Passenger is working, but at least it compiled ...

By the way: hi Curtis!

On Nov 29, 11:36 am, Curtis j Schofield <curtis.schofi...@gmail.com>
wrote:
> can you run
>
> ldd `which g++`
> ldd `which gcc`
>
> and paste the output?
>
> On Mon, Nov 29, 2010 at 10:27 AM, Kyle Fox <kyle....@gmail.com> wrote:
> > I should mention that I've already tried re-installing g++ and gcc
>
> > --
> > 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 athttp://groups.google.com/group/phusion-passenger?hl=en.
Re: [phusion-passenger] Re: Can't install passenger + nginx on RedHat Curtis j Schofield 11/29/10 11:59 AM
Hey Kyle!!

:D

-- well that looks sorta normal

you just compiled nginx with the passenger module?

> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.


>
>

--
make haste slowly \
festina lente  \

Re: Can't install passenger + nginx on RedHat Kyle Fox 11/29/10 12:11 PM
Yes, using --add-module and it worked fine.

On Nov 29, 12:59 pm, Curtis j Schofield <curtis.schofi...@gmail.com>
wrote:
> Hey Kyle!!
>
> :D
>
> -- well that looks sorta normal
>
> you just compiled nginx with the passenger module?
>
>
>
>
>
>
>
>
>
Re: [phusion-passenger] Re: Can't install passenger + nginx on RedHat Curtis j Schofield 11/29/10 12:34 PM
good work kyle - must be something sketch with redhat.

> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.


>
>

--
make haste slowly \
festina lente  \

Re: [phusion-passenger] Re: Can't install passenger + nginx on RedHat Hongli Lai 11/29/10 2:50 PM
I think this happens if your /tmp is mounted with noexec. We extract
the Nginx source code in /tmp and run the configure script there. The
configure script tries to check for compiler features by creating temp
source files in the same directory, compiling them to executables and
running those executables.

--
Phusion | The Computer Science Company

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