Click to See Complete Forum and Search --> : is something missing?


echemosis
02-24-2001, 12:57 PM
I got Mandrake Linux 7.1 up and running, but i don't have an mp3 player, i downloaded FreeAmp, but when i go to install it i get an error msg saying:
"./configure: error: no acceptable cc found in $path"

I've read docs and howtos and stuff, but i can't find anything that has reference to my error...

mstembri3
02-24-2001, 01:34 PM
echemosis, sorry I can't be of any help here, but I wanted to say that I'm having the exact same problem today.

I read somewhere that we have to have /usr/ccs/bin in $PATH -- but I have no idea of how to add it to see if that is what the problem is.

bdg1983
02-24-2001, 01:44 PM
Here's a NHF on Bash Commands http://www.linuxnewbie.org/nhf/intel/shells/bashconfig.html

There's a part that discusses the $PATH variable. It is usually found in ~/.profile or globally in /etc/profile. Just add the new path to the $PATH variable.

You can probably find more information in the Bash HOW-TO installed on your system or at www.linuxdoc.org. (http://www.linuxdoc.org.) Perhaps try 'man PATH' at the commandline.

bdg1983
02-24-2001, 01:50 PM
I would imagine 'cc' is for the C compiler. You do have it installed?

mstembri3
02-24-2001, 02:14 PM
cc - command not found.
gcc - command not found.

I assumed this meant the compilers aren't installed.

I downloaded the following RPM: http://www.megaloman.com/~hany/RPM/doors2.3/egcs-c++-1.1.2-27.i386.html

After installing the rpm (using rpm -ivh file.rpm), should I need to reboot? How can I check to see if it was successfully installed?

mstembri3
02-24-2001, 02:24 PM
This is getting frustrating.

I installed the rpm, went ahead and rebooted, ran ./configure in the directory where the source was untarred -- same problem. :(

error: no acceptable cc found in $PATH

I don't understand. I thought I installed the egcs compiler package. I should have compiling capabilities. :confused:

I typed:

'locate egcs' - no results, just back to the prompt.
'which egcs' - nothing found in several paths listed.
'egcs' - command not found.

I did this thinking that I would add the path to the $PATH statement using the bash commands mdwatts referred to. Oh well. So much for that idea.

Please, please - pretty please help us out here?

bdg1983
02-24-2001, 02:43 PM
Is it not the 'gcc' compiler and not 'egcs'?

I'm certainly not an expert in this area and I could be wrong, but I would suggest you have a look into gcc.

Have a look at the RPM or install directory (whatever it is for your distro) and have a look for a gcc package

mstembri3
02-24-2001, 03:21 PM
Ok for the benefit of others who don't know what you mean (I'm learning the hard way) -

'rpm -qa | grep gcc'

Will search for any installed gcc rpms.

In my case there were none. I am in process of downloading various dependancies in order to get the gcc package installed. It's turning out to be a lot of work. Thank goodness I have cable.

echemosis
02-24-2001, 03:27 PM
is there a log file for when you run ./configure?

phishlady
02-28-2001, 03:56 PM
I'm working on the same problem--looks like there are quite a few messages going about this right now.

I did find out that Mandrake 7.2 did install the gcc compiler, but apparently didn't link it, or add it to the classpath, or whatever is necessary. I'm trying to find out what it is I need to do to get it to actually work...

I'll write back if I do...

:) Meghan

phishlady
02-28-2001, 06:23 PM
I was fooled--I got a response with the rpm -qa so I thought I had some installed. Turns out... well, see for yourself in this great e-mail from my local LUG mailing list:


I was already doing the rpm check (rpm -qa | grep gcc) and get this response:

gcc-cpp-2.95.2-12mdk

That's your problem. You only have part of GCC (the preprocessor)
installed. Put in your Mandrake CD and do

# cd /path/to/rpms/on/cd
# rpm -i *gcc*

If you have no CD, you can get the RPMs via FTP. Try ftp.real-time.com.