LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   no acceptable c compiler found in path message? (https://www.linuxquestions.org/questions/linux-software-2/no-acceptable-c-compiler-found-in-path-message-127671/)

BajaNick 12-20-2003 06:08 PM

no acceptable c compiler found in path message?
 
I am having a similar problem I had using RH (now im using Mandrake 9.2) because i didnt install the Development packages. Is there a way to install only what i need to use" ./configure "? I keep getting errors when i try to install the development packages from the mandrake discs and this is what happens when i try " ./configure ". Thanks



checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
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 cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH

Technoslave 12-20-2003 06:11 PM

If you didn't install the development packages, it's quite possible you don't have gcc installed.

Default install location for gcc on RH9 is in /usr/bin

You can try which gcc
locate gcc

If you can't get responses from those then you'll have to install the RPMS

rpm -ivh gcc* from inside the directory that has the gcc RPMS should do the trick. Or close enough to it to give you a good start.

fancypiper 12-20-2003 06:22 PM

:tisk: You didn't install the developmental packages? As root, command:
urpmi gcc

Some bash commands you might find handy:
# Find CPU specifications
cat /proc/cpuinfo

# Find running kernel version
uname -r

# What compiler version do I have installed
gcc -v
gcc --version

# What is the running kernel and compiler installed
cat /proc/version

# Find X server version
X -showconfig

# What pci cards are installed and what irq/port is used
cat /proc/pci

# Memory and swap information
cat /proc/meminfo
free
An article: Tips for Optimizing Linux Memory

# How are the hard drives partitioned
fdisk -l

# How much free/used drive space
df -h

# For finding or locating files
find
locate
which
whereis

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

BajaNick 12-20-2003 06:25 PM

Ok, ive got gcc installed and ./configure is working except i am now getting this: "checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!" Do i need to put something in $PATH? Thanks for the help.

fancypiper 12-20-2003 06:37 PM

Read everything in the INSTALL and README files of whatever you are attempting to install and see what is needed for the installation of that package. It sounds as if you may need something else installed (a depencency to be met).

Can the package be installed via urpmi or the gui interface to it in the Mandrake Control Center? The package manager resolves these depencencies for you or you may be able to install what the source code needs for a successful install.

# Guides to software management
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

BajaNick 12-20-2003 08:19 PM

I guess it was the program cuz after i installed gcc ./configure worked and so i did a test and i installed a theme that was a tar.gz and it worked. I checked the readme and install and they were no help, it was just a picture viewer i was trying to install. I found another one and I keep getting Need GTK 1.0.0 error but I have GTK 2.0 ill just keep downloading them until i find one that works. Thanks


All times are GMT -5. The time now is 05:51 PM.