Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

how to install gcc required for apache 2.2 on RHEL 4

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


Vamshikrishna.T at trianz

Nov 19, 2009, 2:09 AM

Post #1 of 4 (398 views)
Permalink
how to install gcc required for apache 2.2 on RHEL 4

Hi,



I am installing Apache web server 2.2.14 on RHEL 4. When I am running
configure command in the apache, it is throwing error "No c++ compiler
found".



Can anyone help me on where we will get GCC and which version of it and
How to install it?





Thanks Regards,

Vamshi


phil at philipwigg

Nov 19, 2009, 2:34 AM

Post #2 of 4 (374 views)
Permalink
Re: how to install gcc required for apache 2.2 on RHEL 4 [In reply to]

> I am installing Apache web server 2.2.14 on RHEL 4. When I am running
> configure command in the apache, it is throwing error “No c++ compiler
> found”.

This isn't an Apache question but anyway, you probably just need to
type 'up2date gcc'. Unless there's a reason why you want to install
Apache from source, you can probably also type 'up2date httpd' to
install Apache instead of building your own. Make sure you patch your
system up to date after you've done that.

Cheers,
Phil.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


mearns.b at gmail

Nov 19, 2009, 3:30 AM

Post #3 of 4 (375 views)
Permalink
Re: how to install gcc required for apache 2.2 on RHEL 4 [In reply to]

On Thu, Nov 19, 2009 at 5:34 AM, Philip Wigg <phil [at] philipwigg> wrote:
>> I am installing Apache web server 2.2.14 on RHEL 4. When I am running
>> configure command in the apache, it is throwing error “No c++ compiler
>> found”.
>
> This isn't an Apache question but anyway, you probably just need to
> type 'up2date gcc'. Unless there's a reason why you want to install
> Apache from source, you can probably also type 'up2date httpd' to
> install Apache instead of building your own. Make sure you patch your
> system up to date after you've done that.
>
> Cheers,
> Phil.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>   "   from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>

I used Fedora, which is closely related to red-hat. I'm not sure was
up2date is, but if that doesn't work, you should be able to use yum,
like `yum install gcc`, as the super user. As Phil said, you can also
install apache directly with `yum install httpd` (notice the package
isn't called apache).

-Brian


--
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://keys.gnupg.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


jdmls at yahoo

Nov 19, 2009, 3:50 AM

Post #4 of 4 (374 views)
Permalink
Re: how to install gcc required for apache 2.2 on RHEL 4 [In reply to]

From: Brian Mearns <mearns.b [at] gmail>
> On Thu, Nov 19, 2009 at 5:34 AM, Philip Wigg wrote:
> >> I am installing Apache web server 2.2.14 on RHEL 4. When I am running
> >> configure command in the apache, it is throwing error “No c++ compiler
> >> found”.
> >
> > This isn't an Apache question but anyway, you probably just need to
> > type 'up2date gcc'. Unless there's a reason why you want to install
> > Apache from source, you can probably also type 'up2date httpd' to
> > install Apache instead of building your own. Make sure you patch your
> > system up to date after you've done that.
> >
> I used Fedora, which is closely related to red-hat. I'm not sure was
> up2date is, but if that doesn't work, you should be able to use yum,
> like `yum install gcc`, as the super user. As Phil said, you can also
> install apache directly with `yum install httpd` (notice the package
> isn't called apache).

I suspect apache 2.2 (as opposed to 2.0) is not available by default for RH4...
Also, he may need: gcc-c++
And maybe he could try: http://www.apache.org/dist/httpd/binaries/rpm/

JD




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.