| View previous topic :: View next topic |
| Author |
Message |
dfkettle Xplorer
Joined: 28 Aug 2009 Posts: 10
|
Posted: Sat Oct 31, 2009 3:15 pm Post subject: Trying to install gcc on Asus eeePC under Xandros |
|
|
Hi!
I've downloaded and installed gcc-3.4 using Synaptic, but
I'm still missing some header files (eg, stdio.h). It
seems that I also need to install 'linux-libc-dev', but
when I tried to download that package from the Debian
site, it told me there was already a later version of
the package installed. However, i can't find the missing
header files anywhere (I searched for them with 'find',
but no luck).
Can someone tell me what I'm doing wrong, or how to
solve this problem?
Thanks,
David. |
|
| Back to top |
|
 |
TekMate Xendrosian

Joined: 20 Feb 2003 Posts: 1031 Location: MA
|
Posted: Sat Oct 31, 2009 9:07 pm Post subject: |
|
|
What are you trying to compile? _________________
If you were offered the chance to learn the truth…would you take it? |
|
| Back to top |
|
 |
dfkettle Xplorer
Joined: 28 Aug 2009 Posts: 10
|
Posted: Sun Nov 01, 2009 9:31 am Post subject: |
|
|
| Nothing yet. Why? |
|
| Back to top |
|
 |
mhwelsh Xandrosian

Joined: 17 Feb 2003 Posts: 453 Location: Aberdeenshire, Scotland
|
Posted: Sun Nov 01, 2009 10:29 am Post subject: gcc |
|
|
Now you are both frustrated!
Try the following on the administrator's console;
"dpkg -l > /home/dfkettle/filename.txt"
This will list the packages installed with there version details.
Perhaps this will give you some clues.
If the file cannot be found perhaps it is not generated until you use the parent package.
martin welsh |
|
| Back to top |
|
 |
dfkettle Xplorer
Joined: 28 Aug 2009 Posts: 10
|
Posted: Sun Nov 01, 2009 11:26 am Post subject: |
|
|
I finally managed to install gcc using aptitude, although with some warnings about conflicts (I let it continue anyway). It uninstalled Gimp, but now I have gcc working.
I think it's because I have repositories from Asus, Xandros and Debian in my repository list. Maybe I'd be better off just running Debian (I'm running a customized version of Xandros on an Asus eeePC). But I'm relatively new to Linux, I don't want to attempt that yet.
Thanks for your help. |
|
| Back to top |
|
 |
mhwelsh Xandrosian

Joined: 17 Feb 2003 Posts: 453 Location: Aberdeenshire, Scotland
|
Posted: Sun Nov 01, 2009 1:05 pm Post subject: Sources |
|
|
Try these.
"deb http://xnv45.xandros.com/4.5oc/pkg oc4.5-xn main contrib non-free
deb http://xnv45unsup.xandros.com/4.5oc/upkg etch main contrib non-free"
They are a bit rudimentary but will keep a humble desktop running.
There are more addresses running through the forums but beware if you go for really uptodate ones as you may run into dependency problems.
Happy hunting.
martin welsh |
|
| Back to top |
|
 |
dfkettle Xplorer
Joined: 28 Aug 2009 Posts: 10
|
|
| Back to top |
|
 |
mhwelsh Xandrosian

Joined: 17 Feb 2003 Posts: 453 Location: Aberdeenshire, Scotland
|
Posted: Tue Nov 03, 2009 4:34 am Post subject: Sources |
|
|
I cut and pasted them from my /etc/apt/sources.list;
deb http://xnv45.xandros.com/4.5oc/pkg oc4.5-xn main contrib non-free
deb http://xnv45unsup.xandros.com/4.5oc/upkg etch main contrib non-free.
Perhaps you only used the highlighted section - they work for me.
It appears that you have quite a comprehensive list. You should be ok for most things so provided that you are wary when you install newer packages they should be work.
martin welsh |
|
| Back to top |
|
 |
dfkettle Xplorer
Joined: 28 Aug 2009 Posts: 10
|
Posted: Tue Nov 03, 2009 8:24 am Post subject: |
|
|
No, I copied the whole line by cutting and pasting from your post. I included the contents of /etc/apt/sources.list in my last post. The lines appear to match yours exactly. Have you tried them lately? Maybe the URL has changed?
Actually, I have a lot of problems due to conflicts among the various repositories. If I try to update a package in Synaptic, I'm warned that several things will be deleted (some of which seem to be completely unrelated to what I'm trying to update). So I'm afraid to update anything, for fear of breaking something else. Maybe this is inevitable when you have too many repositories in the list, though. I'm fairly new to Linux. |
|
| Back to top |
|
 |
mhwelsh Xandrosian

Joined: 17 Feb 2003 Posts: 453 Location: Aberdeenshire, Scotland
|
Posted: Tue Nov 03, 2009 9:25 am Post subject: Sources List |
|
|
I tried the addresses through Xandros Networks this morning and they worked ok.
Earlier versions of Xandros were very fussy about what sources of packages you used and much work was done on "pinning" which regulates the packages selected. ( try a google search on pinning or a search in this data base)
One of the penalties of having so many packages available so easily is that it is easy to overlook the necessary compatability of the packages components which may be shared by a number of different packages. (In your earlier post you mentioned that Gimp was removed unwittingly)
Most package managers do give you warnings about the consequences of the proposed actions but they are easy to misread or ignore whilst in pursuit of a particular objective.
To be safe try and be sure that the packages all come from the same stable, eg Debian Lenny or Etch or - if you really want to push your luck Sid, if they do not, keep your fingers and legs crossed when you press the 'go' button.
martin welsh |
|
| Back to top |
|
 |
|