recover from failed make build
Alex de Kruijff
freebsd at akruijff.dds.nl
Wed Nov 12 07:11:01 PST 2003
On Tue, Nov 11, 2003 at 12:30:31PM -0800, Kent Stewart wrote:
> On Tuesday 11 November 2003 12:18 pm, Marty Landman wrote:
> > I just tried doing a make build for Apache2 from the FBSD 4.8 mini port.
> > Here's what I got
> >
> > fetch: httpd-2.0.44.tar.gz appears to be truncated:
> > 4108288/5505246 bytes
> > ....
> > *** Error code 1
> >
> > Any advice on how to recover from this? Also I apologize if this in the
> > docs, but I didn't see this problem addressed. :(
You could remove the file manualy and start over. It in
/usr/port/distfiles/. If you like you could also fetch the remaining
manualy. You should read man fetch on how to do this.
> That may be because the current version is apache-2.0.48_1. It looks
> like your.
> port setup is fairly old.
Its more likly that the download was aborted.
Marty if you still like to update here are two links you should read:
Updating FreeBSD Sources for the OS and the ports:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
Compiling FreeBSD sources to update the OS:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
Updating ports you have now could be best done with portsupgrade. To
install this do:
cd /usr/ports/sysutils/portsupgrade
make install && make clean
The update all your ports do:
portupgrade -fa (this can take as much as days)
--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
More information about the freebsd-questions
mailing list