Find the answer to your Linux question:
Results 1 to 3 of 3
Okay so ive done this on ubuntu many times but i need to do it on redhat now. This is what i am getting. I cant do the make file ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    1

    So many errors trying to install apache on RedHat

    Okay so ive done this on ubuntu many times but i need to do it on redhat now. This is what i am getting. I cant do the make file thing because of ./configure errors.


    Code:
    checking for chosen layout... Apache
    checking for working mkdir -p... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    
    Configuring Apache Portable Runtime library ...
    
    checking for APR... reconfig
    configuring package in srclib/apr now
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    Configuring APR library
    Platform: x86_64-unknown-linux-gnu
    checking for working mkdir -p... yes
    APR Version: 1.4.2
    checking for chosen layout... apr
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/usr/local/apache/srclib/apr':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    configure failed for srclib/apr

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Hello and Welcome.
    Must you compile it from source? You could always use the package manager or Yum to install it for you.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Have you installed C Compiler? Execute this to install it :
    Code:
    yum -y install gcc gcc-c++
    As MikeTbob suggested already, you should use Package Manager to install Apache unless you want to do machine specific configuration.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...