MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install a new version of Python on my system.
I get. I am running Mandriva 2008
I havre tried the obvious combinations to me in $PATH. Any ideas what it should be?
#./configure
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Typically it is in /usr/bin. Some people put it in /usr/local/bin if they are adding this as a separate compiler on an existing system (e.g. Solaris or HP-UX) that already has its own cc compiler.
It is always possible you don't already have the gcc package installed. If you state which Distro (e.g. RedHat, Ubuntu, etc...) and which version of that distro then we can hell you to determine if the package is installed.
If gcc was installed, it would be in /usr/bin. You need to install gcc using the GUI package manager or using urpmi. It may help if you went to easyrupmi and setup the various main, contrib, plf and updates repos and then install gcc.
Distribution: Mandriva One 2008.1, Vector 5.8 SOHO, Knoppix 5.1.1
Posts: 50
Rep:
I am running Mandriva One 2008.1 and I am getting that same error when I am trying to install CUPS. what should I be looking for in /usr/bin? How do I change the path if it needs to be changed?
If you are getting an error that a source package you are attempting to make and install is unable to find your c compiler, you need to install gcc (The error is telling you that the compiler is not installed). Open a terminal window (if you do not already have one open), su to root (command is su). NOTE:you will need your root password. Install gcc (command is urpmi gcc).
If urpmi returns an error indicating the package does not exist, or can not be found (and you have not yet done so), you should set up the Internet Software Media Sources (repositories) for use with urpmi (and the Software Package Manager). Go to the Easy URPMI WEB site and follow the directions there. I see they just updated the site yesterday (Friday 25 April, 2008) and I have not checked it out yet (but I will today) so I can not provide direction to help you with its use, but it appears to have been automated (which should make it even easier to use than ever).
If you have set up the Internet Software Media Sources, and still get the compiler not found error, try updating your media sources with urpmi (command is urpmi.update -a)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.