LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-12-2009, 03:35 PM   #1
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Rep: Reputation: 17
configure error: no acceptable C compiler found in $PATH


Hi, i am a newbie to linux and just purchased my eeepc, im currently a student in software so i need to get code blocks running. Unfortunately im finding this to be a very difficult task possibly due to my lack of knowledge in linux and maybe i think even some kind of conflict with the installed OS Fedora 10 and my eepc

at the moment im trying to install CODE::BLOCKS and i keep getting the response of the thread topic.

Please Help
 
Old 02-12-2009, 03:46 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Hi and welcome to LQ!

The error message just states you don't have any C compiler installed on your system. This is a basic requirement if you want to build and install a program from source. You can start by issuing the following command as root:
Code:
yum groupinstall "Development Tools"
if the installation is successful you will have a full set of development tools, like gcc, g++, make, ld and so on. After that you can try the compilation of Code::Blocks again.

Take in mind that a lot of software is already compiled for you, that is many developers provide a package containing the binary executables of their programs, ready to run out of the box. This is the case of Code::Blocks. From the download page you have the choice to install a binary package suitable for you system or build it from source. If you want the blue pill, you can try to download and install the binary package for Fedora. Check it at http://www.codeblocks.org/downloads/5#linux.
 
Old 02-12-2009, 03:58 PM   #3
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
ive tried to issue it that command and it replied by saying could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...a-10&arch=i386 error was
[Errno 4] IOError : <urlopen erro (-2, 'Name or service not know')>
Error:Cannot retreive repository metadata (repomd.xml) for repository : fedora
Please Verify its path and try again

thanks for the quick reply by the way
 
Old 02-12-2009, 04:02 PM   #4
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
also to mention i did try and download gcc-4.3.2-7.i386.rpm and run it and it gave me this error 'NoneType' object has no attribute 'getProviders'
 
Old 02-12-2009, 04:14 PM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by yukapuka View Post
ive tried to issue it that command and it replied by saying could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...a-10&arch=i386 error was
[Errno 4] IOError : <urlopen erro (-2, 'Name or service not know')>
Error:Cannot retreive repository metadata (repomd.xml) for repository : fedora
This is a problem with the mirror list, maybe caused by a downtime of the server providing the list of available mirrors. You can try to edit the file /etc/yum.repo.d/fedora.repo by commenting the line containing mirrorlist and uncommenting the line containing baseurl. In this way yum should connect to the download server directly, without going through the mirrorlist. You have to be root to edit this file, anyway.
 
Old 02-12-2009, 04:17 PM   #6
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
well with that i dont actually have a direct internet connection to the eeepc, im kind of carrying over from my base computer to the eeepc through a usb stick

is there any other way to do this?? and as i mentioned earlier the rpm wont install and it gives me that error
 
Old 02-12-2009, 04:17 PM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by yukapuka View Post
also to mention i did try and download gcc-4.3.2-7.i386.rpm and run it and it gave me this error 'NoneType' object has no attribute 'getProviders'
Where did you download it from? You sure is a RPM built for Fedora 10?
 
Old 02-12-2009, 04:20 PM   #8
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
http://rpmfind.net/linux/rpm2html/search.php?query=gcc

i got it from that site, and it clearly states fedora 10 in the description

so im confident in saying it cant be incompatibility
 
Old 02-12-2009, 04:21 PM   #9
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by yukapuka View Post
well with that i dont actually have a direct internet connection to the eeepc, im kind of carrying over from my base computer to the eeepc through a usb stick

is there any other way to do this?? and as i mentioned earlier the rpm wont install and it gives me that error
Ok. You cannot use yum without an internet connection, unless you set the DVD installation media as an available repository. You can download the packages you need and install them manually using
Code:
yum localinstall rpmfile
but you will probably miss some dependency and yum will try to download it from internet. Can't you try to connect your eeepc temporarily?
 
Old 02-12-2009, 04:29 PM   #10
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
umm, unfortunately i cannot i do not have the available hardware, my cable modem is only through lan available.

i will attempt through yum local
 
Old 02-12-2009, 04:34 PM   #11
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
yeap as you predicted, it failed tried once again to access internet
 
Old 02-12-2009, 04:49 PM   #12
yukapuka
Member
 
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
should i try downloading the dvd its 4.9 and install the necesseties from that?
 
Old 02-13-2009, 01:59 AM   #13
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by yukapuka View Post
should i try downloading the dvd its 4.9 and install the necesseties from that?
Indeed this will save you a lot of headache, due to the dependencies nightmare! Anyway, before attempting to build Code::Blocks from source have you tried the binary version? If it works, you can avoid the installation of the Development Tools (for now).
 
Old 02-13-2009, 02:53 AM   #14
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Quote:
Originally Posted by yukapuka View Post
well with that i dont actually have a direct internet connection to the eeepc, im kind of carrying over from my base computer to the eeepc through a usb stick

is there any other way to do this?? and as i mentioned earlier the rpm wont install and it gives me that error
You might look into setting up internet sharing through your base pc. You may need to install a second ethernet card or use some kind of usb-to-ethernet adapter though, if your system doesn't have the plugs you need.

Of course, if your base PC is connected to the internet through a multi-port external router of some kind then you can probably just plug it in there and use it directly. And most internet routers can also be used for local networking too, as well as being able to act as a general firewall.

Another option might be to just temporarily unplug your base pc and plug the eeepc in for long enough to get your software installed.
 
  


Reply



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
configure: error: no acceptable C compiler found in $PATH mfeyzifar Fedora 10 08-15-2014 03:13 AM
configure: error: no acceptable C compiler found in $PATH firebirds98 Linux - Distributions 6 01-01-2008 08:53 PM
configure: error: no acceptable C compiler found in $PATH nickster22 Linux - Software 6 07-31-2007 09:07 AM
configure: error: no acceptable C compiler found in $PATH pdemaers Linux - Software 6 05-15-2004 01:11 PM
configure: error: no acceptable C compiler found in $PATH habitue Red Hat 0 10-14-2003 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:11 AM.

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
Open Source Consulting | Domain Registration