[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc



On Tue, Jun 06, 2006 at 08:11:01PM +0200, Francesco Pietra wrote:
> On Tuesday 06 June 2006 20:13, Lennart Sorensen wrote:
> > On Tue, Jun 06, 2006 at 04:38:20PM +0200, Francesco Pietra wrote:
> > > Hi Matthew:
> > > Thank you. However:
> > >
> > > $alias gcc="gcc-4.1" make
> > > -bash: alias: make: not found
> > >
> > > $man alias
> > > No manual entry for alias
> > >
> > > I am making a cup of doubly strong green tea
> >
> > I think that should have been:
> > # alias gcc="gcc-4.1"
> > # make
> Retrying as you suggest as root, the first command returns the root prompt
> #make
> gcc - g -02  -c -o active.o active.c
> make: gcc: Command not found
> make: *** [active.o] Error 127
> that is, as if the alis was not activated.
> 
> >
> > Not sure make can use shell aliases though.
> >
> > So your real problem is that gcc-4.0 which gcc depends on is not
> > currently installable for some reason on your system.
> 
> Just to detail what errors:
> #apt-get install gcc
> gcc: Depends: gcc-4.0 (>=4.0.2-5) but it is not installable.
> E: Broken packages.
> >
> > What output/errors do you get from:
> > apt-get install gcc-4.0
> 
> #apt-get install gcc-4.0
> Reading..
> Building dependency tree...
> Package 4.0 is not available, but is referred to by another package. This may 
> mean that the package is missing, has been obsoleted, or is only available 
> from another source.
> However the following packages replace it:
> gcc-4.0-locales
> W. (a series of warnings that Couldn't stat source package list at http:...
> E: Package gcc-4.0 has no installation candidate.
> 
> My sources.list from which the net installation was carried out with only main 
> and the row end (subsequently, apt-get update did nothing):
> deb http://debian.inode.at/debian-amd64/debian/ etch main contrib non-free
> deb-src http://debian.inode.at/debian-amd64/debian/ etch main contrib non-free

That is not a valid source anymore.  It isn't maintained.  You can use:

http://location/debian etch main contrib non-free

or http://location/debian-amd64/debian/ sarge main contrib non-free

Only sarge is maintained on the old unofficial amd64 sites.  etch and
sid are no longer updated.  You have to move to the official debian
mirrors with /debian dir instead.

Len Sorensen



Reply to: