Re: Question on building from sources.

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Fri, 29 Mar 2013 22:03:11 -0400
On Fri, Mar 29, 2013 at 09:31:12PM -0400, Super Bisquit wrote:
> I have my QuickSilver and no internet connection. I have a few questions.
> 1. Do I download the latest for PowerPC(32bit) and then download the
> sources according to the Makefile.

For ports, yes, you will to do 'make fetch' or 'make fetch-recursive'
for third-party software you want to install.

> 2. Will I need to skip checking the hash/md sum so that the
> applications can build?

No.  Hashes are generated locally and compared against information in
the distinfo file.  If there is a mismatch, that is a bug.

> 3. Has anyone else done this before? If yes, then what were your results?
> 

It is painful.  My suggestion is to identify everything you absolutely
need, and do from a separate machine with internet access:

    # sh -c 'for i in `make -C /usr/ports/category/port all-depends-list`; \
	do make -C $i fetch-recursive; \
	done

Note that if anything is missing, build will fail at compile time on the
internet-less machine.

Glen


Received on Sat Mar 30 2013 - 01:03:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC