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

RE: help with : apt-get -b source gcc



A future tip: do an 'apt-get build-dep <package>' before
trying apt-get -b.  It will install the packages needed to build the
package in question.

As for how long it will take...depends on the alpha and how much RAM you
have.  On my SX w/512MB, gcc builds take a few hours.  The testsuite takes
a VERY long time, so if you're not interested in keeping or seeing the
results of that, you can disable it by changing the value of with_check to
something other than 'yes' (think it's in debian/rules or
debian/rules.defs in the unpacked gcc sources, IIRC).

C

On Tue, 16 Jul 2002, Greg wrote:

> Cool !!
> 
> It's past the error now.  Thanks.
> ---  stage b complete---
> 
> wonder how long this will take ?
> fun :)
> 
> 
> Thanks.
> Greg.
> 
> 
> 
> -----Original Message-----
> From: Philippe Hétroy [mailto:Phil@hetroy.org]
> Sent: Tuesday, July 16, 2002 2:28 AM
> To: Greg
> Cc: debian-alpha@lists.debian.org
> Subject: Re: help with : apt-get -b source gcc
> 
> 
> Hi,
> 
> > ##snip##
> > Bootstrapping the compiler
> > make[3]: Entering directory `/root/gcc-2.95.2/build/gcc'
> > make CC="cc " libdir=/usr/lib LANGUAGES="c "
> > make[4]: Entering directory `/root/gcc-2.95.2/build/gcc'
> > cd /root/gcc-2.95.2/src/gcc && autoheader
> > /bin/sh: autoheader: command not found
> > make[4]: *** [/root/gcc-2.95.2/src/gcc/cstamp-h.in] Error 127
> > make[4]: Leaving directory `/root/gcc-2.95.2/build/gcc'
> > make[3]: *** [boot_stage_a] Error 2
> > make[3]: Leaving directory `/root/gcc-2.95.2/build/gcc'
> > make[2]: *** [bootstrap-lean] Error 2
> > make[2]: Leaving directory `/root/gcc-2.95.2/build'
> > s=`cat status`; rm -f status; test $s -eq 0
> > make[1]: *** [stamps/05-build-stamp] Error 1
> > make[1]: Leaving directory `/root/gcc-2.95.2'
> > make: *** [stamps/05-build-stamp] Error 2
> > Build command 'cd gcc-2.95.2 && dpkg-buildpackage -b -uc' failed.
> > E: Child process failed
> > ## end snip ##
> 
> I think the autoconf package is missing...
> 
> Phil
> 
> --
> Philippe Hétroy, Phil@hetroy.org
> http://www.hetroy.org/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 


--
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: