LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2003, 07:08 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
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

Last edited by BajaNick; 12-20-2003 at 07:16 PM.
 
Old 12-20-2003, 07:11 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
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.
 
Old 12-20-2003, 07:22 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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

Last edited by fancypiper; 12-20-2003 at 07:26 PM.
 
Old 12-20-2003, 07:25 PM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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.
 
Old 12-20-2003, 07:37 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
 
Old 12-20-2003, 09:19 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 09:44 PM
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 03:14 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 08:03 PM
no acceptable C compiler found in $PATH agentdunken SUSE / openSUSE 12 07-13-2005 04:41 PM
no acceptable C compiler found in $PATH AL MOSLEM Programming 19 02-08-2005 11:03 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration