no acceptable C compiler found in $path
Whenever I try to configure a program after untarring it I receive this error.
[root@localhost mc-4.6.0]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU 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. How do I get the C compiler into $PATH I am using RH9 |
Is it installed?
gcc --version # Red Hat links Red Hat Linux Manuals Get your mp3 support here Maximum RPM rpmfind Easier software management: apt4rpm - Red Carpet Red Hat 8.0 Tips & Tricks # Red Hat 7.3 down configuration commands setup leads to several configuration tools # Red Hat 7.3 up configuration commands Configure soundcard: redhat-config-soundcard Configure X server: redhat-config-xfree86 Configure network: redhat-config-network Manage software: redhat-config-packages # Handling NTFS New Technology FileSystem (NTFS) HOWTOs Linux NTFS project |
No it appears not to be.
[root@localhost /]# gcc --version bash: gcc: command not found [root@localhost /]# |
You can"t use something unless you install it, I presume you know.
Chapter 33. Package Management Tool # Guides to software management LNAG - How do I install a program I downloaded from the Internet? Rute Guide's software explanation You might want to check out CheckInstall to manage source code installations/uninstallation |
So True
Uh, Sometimes I tend to overthink things.
Now I feel like a supernewbie. Thanks for pointing out my brain fart. Thanks |
I had the same problem, but I installed gcc (though it was without Internet and some problems with fiding files on disk were occurred)...Now it writes
Code:
linux-xraq:/home/lomza_t/bin/libdvdcss-1.2.10 # What does it mean and what should I do? Pleace, help me ! |
On the surface of it, it means that make is not installed. Since you say that there were issues installing gcc, the first thing to try would be re-installing gcc.
|
OK, I re-installed gcc and...NOTHING! Exactly the same! Oh Gosh! I'll better die!
|
So, is the command 'make' in your $PATH?? if you run 'which make' does it display the full path of the make command? If not, you'll need to find the command (look in /usr/bin or /bin) or use 'locate make' (if locate is installed) and add this directory to your PATH shell variable.
Stuart. On a seperate note, you would have been better off starting a new thread as the one you just updated is 5 years old!!! |
Results:
Code:
lomza_t@linux-xraq:~> $PATH Code:
lzless xpsimplehelloworld |
OK I assumed too much.
Is the 'make' package installed, as said previous, if itsnot installed you can't use it. check with 'rpm -qi make' if its not, then install it. |
Assistance Needed
Please assist. I am new in linux and tried to Install ImageMagick but found following errors (below).
[root@ACSS-SDDBEASRV02 /]# cd usr/local/bin/ [root@ACSS-SDDBEASRV02 bin]# cd ImageMagick-6.6.9-9 [root@ACSS-SDDBEASRV02 ImageMagick-6.6.9-9]# ./configure configuring ImageMagick 6.6.9-9 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/usr/local/bin/ImageMagick-6.6.9-9': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details [root@ACSS-SDDBEASRV02 ImageMagick-6.6.9-9]# [root@ACSS-SDDBEASRV02 ImageMagick-6.6.9-9]# gcc --version -bash: gcc: command not found [root@ACSS-SDDBEASRV02 ImageMagick-6.6.9-9]# |
1. this is 5 yrs old. Ask the mods to move this to a new thread for you via the Report button.
2. we'd need to know what distro and version you've got Code:
cat /etc/*release* Do that before you try building stuff |
All times are GMT -5. The time now is 12:27 PM. |