Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software » Configuring Apache but no acceptable C compiler found
Closed Thread
Old 12-23-2004, 09:22 PM   #1 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Angry Configuring Apache but no acceptable C compiler found

I'm trying to configure apache but when i use "./ configure" its says:
Code:
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
 
Configuring Apache Portable Runtime library ...
 
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
checking for working mkdir -p... yes
APR Version: 0.9.5
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
[chris@Pegaxis httpd-2.0.52]$ gcc -v
bash: gcc: command not found
[chris@Pegaxis httpd-2.0.52]$ ./configure -prefix=/home/chris/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
 
Configuring Apache Portable Runtime library ...
 
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
checking for working mkdir -p... yes
APR Version: 0.9.5
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
The problem is in the 3rd to the last line.Can anyone help?
eggsucker is offline  
Old 12-23-2004, 11:59 PM   #2 (permalink)
 
Ultra Techie

Join Date: Jan 2003

Posts: 584

mrdinkel

Default On a minor note...

Well, bud, you may have more luck in the Linux, Unix OS section of this website.

On that, the problem is very specific: you need something to compile it. Since you're using Red Hat Linux, I'd say find the RPM that has gcc with it so you can run it.

Oh, and Welcome to TF Man, hopefully you're question will be answered.
__________________
A+ Core Hardware, Software Certified (May 13 2005)
the new beast...

AMD Athlon XP 3200+ Barton running at 2.16 Ghz.
GeForce MX 4000 (mainly takes the load off the main system)
Creative Labs Audigy 24-bit sound.
Some Case from tigerdirect
512 MB Ultra DDR RAM.
80GB Seagate HDD
LiteOn CD-RW / DVD ROM drive.
currently looking at a litescribe drive at staples, due to its ability to label the CD shortly after being burned.
mrdinkel is offline  
Old 12-24-2004, 02:46 AM   #3 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Default

well i had more luck here.and i got the "gcc-3.4.3-2.i686.rpm" will that work and how do i install it?
eggsucker is offline  
Old 12-24-2004, 02:54 AM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

type rpm -i gcc-3.43-2.i686.rpm

must be done as root

type 'man rpm' for details about rpm
horndude is offline  
Old 12-24-2004, 03:04 AM   #5 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Default

I got this error:
Code:
[chris@Pegaxis chris]$ rpm -i /home/chris/rpms/gcc-3.4.3-2.i686.rpm
warning: /home/chris/rpms/gcc-3.4.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID
e01260f1
error: Failed dependencies:
        binutils >= 2.14.0.0.0 is needed by gcc-3.4.3-2
        cpp = 5:3.4.3-2 is needed by gcc-3.4.3-2
        libgcc = 5:3.4.3-2 is needed by gcc-3.4.3-2

eggsucker is offline  
Old 12-24-2004, 03:12 AM   #6 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Default

Or did you mean use the root argument.
Well this is what i got:
Code:
[chris@Pegaxis chris]$ rpm -i /home/chris/rpms/gcc-3.4.3-2.i686.rpm --root /home/chris/httpd-2.0.52
warning: /home/chris/rpms/gcc-3.4.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID
e01260f1
error: Failed dependencies:
        binutils >= 2.14.0.0.0 is needed by gcc-3.4.3-2
        cpp = 5:3.4.3-2 is needed by gcc-3.4.3-2
        libgcc = 5:3.4.3-2 is needed by gcc-3.4.3-2
        /bin/sh is needed by gcc-3.4.3-2
        libc.so.6 is needed by gcc-3.4.3-2
        libc.so.6(GLIBC_2.0) is needed by gcc-3.4.3-2
        libc.so.6(GLIBC_2.1) is needed by gcc-3.4.3-2
        libc.so.6(GLIBC_2.2) is needed by gcc-3.4.3-2
        libc.so.6(GLIBC_2.3) is needed by gcc-3.4.3-2
        glibc is needed by gcc-3.4.3-2

eggsucker is offline  
Old 12-24-2004, 04:04 AM   #7 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

ya you also need the rest of the development libraries needed including:
glibc
binutils
cpp
libc

if youve got the install discset from whatever distro your using, install the whole development package

linux is modular, its made up of a whole bunch of software packages which usually have interdependencies
horndude is offline  
Old 12-26-2004, 01:42 AM   #8 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Default

what if i dont have the installation disk? can i download it form the net?
eggsucker is offline  
Old 12-26-2004, 05:01 AM   #9 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Default

eggsucker,
Yes, you can download from the net. These packages are part of the distirbution and should be available in the source sites.
intercodes is offline  
Old 12-26-2004, 05:05 AM   #10 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 12

eggsucker

Default

do you know anywhere to download? I've tried rpmfind.net
eggsucker is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On