Ubuntu This forum is for the discussion of Ubuntu 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-05-2007, 10:34 PM
|
#1
|
Member
Registered: Dec 2006
Posts: 34
Rep:
|
Problem with C compiler when trying to install from source
Hello,
I just installed ubuntu 6.10 the other day.
I keep trying to install from source (I've tried installing amarok dependencies, amarok, etc.) but I keep getting an error in about the last line of terminal output.
The terminal keeps saying: 'configure: error: C compiler cannot create executables'
I was wondering if there is a way to resolve this, or should I just reinstall the os?
Thanks!
|
|
|
01-06-2007, 02:06 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
Code:
sudo apt-get install build-essentials
|
|
|
01-06-2007, 02:27 AM
|
#3
|
Member
Registered: Dec 2006
Posts: 34
Original Poster
Rep:
|
Thanks,
But ubuntu keeps telling me 'E: Couldn't find package build-essentials' actually this has been happened quite a lot recently, how would I resolve this so I could apt-get build-essentials?
|
|
|
01-06-2007, 02:51 AM
|
#4
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
sudo apt-get update
?
Have you configured Internet connection in Ubuntu?
|
|
|
01-06-2007, 10:01 AM
|
#5
|
Member
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83
Rep:
|
do you have any universe repo???
|
|
|
01-06-2007, 04:39 PM
|
#6
|
Member
Registered: Dec 2006
Posts: 34
Original Poster
Rep:
|
No, no internet connection currently on my ubuntu laptop. I keep using another laptop of mine to get to the internet, as I have dialup until I move in about a month, I can't just plug in a network cable and download from ubuntu repositories.
Thanks
|
|
|
01-06-2007, 04:46 PM
|
#7
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
Then you have to install the packages from CD (they are there, as far as I know), but I can't say the command (Never seen Ubuntu in my life..).
|
|
|
01-06-2007, 05:39 PM
|
#8
|
Member
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83
Rep:
|
check in your GUI installer from ubuntu.. in preference you have a place to choose your repo.. check the one from the cds 
Last edited by charleykadet; 04-03-2007 at 09:38 AM.
|
|
|
01-06-2007, 08:41 PM
|
#9
|
Member
Registered: Dec 2006
Posts: 34
Original Poster
Rep:
|
Awesome, thank you both!
I didn't even think to insert the cd and install more packages, they all seem to be installed from the ubuntu cd now.
|
|
|
All times are GMT -5. The time now is 04:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|