Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Whenever I try to configure apache2 installation(in konsole) # cd httpd-2.0.54 # ./configure --prefix=/usr/local/apache2 --enable-module=so I get an error: Code: Server:/usr/local/src/httpd-2.0.54 # ./configure --prefix=/usr/local/apache2 --enable-module=so checking for chosen layout... Apache ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    11

    what is a C compiler, & how can I fix the problem?


    Whenever I try to configure apache2 installation(in konsole)

    # cd httpd-2.0.54
    # ./configure --prefix=/usr/local/apache2 --enable-module=so

    I get an error:
    Code:
    Server:/usr/local/src/httpd-2.0.54 # ./configure --prefix=/usr/local/apache2 --enable-module=so
    checking for chosen layout... Apache
    checking for working mkdir -p... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    
    Configuring Apache Portable Runtime library ...
    
    checking for APR... reconfig
    configuring package in srclib/apr now
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    Configuring APR library
    Platform: i686-pc-linux-gnu
    checking for working mkdir -p... yes
    APR Version: 0.9.6
    checking for chosen layout... apr
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    configure failed for srclib/apr
    Server:/usr/local/src/httpd-2.0.54 #
    I am pretty new to this, please help me out

    using suse linux 9.1 personal, logged in as root to install.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    gcc is the most used C compiler in Linux. Just install the "gcc" package.

    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    11
    Whenever I try to configure the gcc compiler, I gat an error:
    Code:
    configure: error: no acceptable cc found in $PATH
    what does that mean? please hep me, I am new to this.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    I just told you, you have to install a C compiler, "gcc" is the package that you need to install for your distribution!
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  6. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    11
    I have tried to install gcc, both the .rpm package, ehich didn't install, and then from source, which gave me the error posted above.

  7. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Well, what errors did you get when you tried to install the gcc rpm package?
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  8. #7
    Just Joined!
    Join Date
    Mar 2005
    Posts
    11
    Code:
    configure: error: no acceptable cc found in $PATH

  9. #8
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    RPM packages are binaries soy ou don't compile anything.. what you're trying to do is compile something without a compiler.

    Can't you use YaST to install something you need?..
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  10. #9
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Install apt-get for suse and let that download and install gcc for you... Have a look at http://madpenguin.org/cms/?m=show&id=3601.

    Don't worry, it won't be useless afterwards, you can use it to install loads of other programs too
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  11. #10
    Just Joined!
    Join Date
    Mar 2005
    Posts
    11
    downloaded and installed it, how do I install gcc w/ it?

    Sorry for these stupid q's, I could'n find anything about installing gcc w/ it.

Page 1 of 2 1 2 LastLast

Posting Permissions

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