From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Subject: Re: Using the Source (Luke :)
Date: 31 Aug 92 16:37:31 GMT
Reply-To: veit@du9ds3.uni-duisburg.de
Organization: Uni-Duisburg FB9 Datenverarbeitung

In <92244.002140AI4CPHYW@MIAMIU.BITNET> <AI4CPHYW@MIAMIU.BITNET> writes:

>I have a couple of kinda newbie questions about the source distribution of
>386bsd 0.1, so please bear with me and don't roll your eyes _too_ much :)
> 
>I can make the binary distribution fly with no problems, but I haven't had
>too much experience with source distributions of any OS, let alone Unix . .
> 
>I can get the source distribution unpacked fine (except I got an error along
>the lines of "can't find script source.install, install failed" or something

forget the message 'cant execute /tmp/install.src01 script' (or similiar),
its not there. No loss or problems.

>like that) and I carefully read the file /usr/src/ROADMAP but when I try to
>run config or make all I get is command not found errors.  Does this mean
>that I have to first install the binary distribution? (i.e. the source distrib
>doesn't come with the executables I need to compile the OS). If I don't need
>to first install the binary distrib, then what am I doing wrong.
>(For that matter, where can I get a good discussion of make, other than the
>man pages, I'm not that much of a tyro :) :)

There are books available (I think from O'Reilly & Assoc.) and a public
archive from GNU describing GNU make (makedoc-3.59.tar.Z or similiar), but
this does not help very much with the special version in BSD. But besides
the special tricks used in this version you can write makefile according to
this docu.

You didn't install the binaries first? This is interesting. Of course you
need the bin release. Unfortunately, running some 'config' or 'make all' is
not the only truth. Installing the dist.fs, rebooting from the HD, copying
and installing bin01 and rebooting again should be sufficient to have 
a system which allows compiling all the sources (if they are there :-). If the
above described installation of bin fails due to *any* reason, it is 
recommended to start again. With 80 MB disk you have sufficient space for
bin01, but there is not very much left for src01.
The most important thing with the source dist is IMHO the /usr/src/sys.386bsd 
directory where the kernel sources are located. It is nice that these are located
at the beginning of the archive. If your src install broke but you find 
at least something in a directory /usr/src/lib/*, then sufficiently has
been loaded to compile a new kernel (which seems to be most important for
the moment). You can delete everything in /usr/src with the exception of
/usr/src/sys.386bsd and /usr/src/include (I am not sure with the latter).
You will need some other sources only if you change something with the
system libraries (such as crypt.c or kvm.c).
In contrast to the recommendation in the READMES you need not start over again
when the source or etc dist fails due to lack of space. You should run
fsck, however, just for paranoid reasons :-)

> 
>If I need both distributions installed, is there any way I can do it on an
>80MB hard drive. I tried installing first the binary and rebooting to delete
>the bin01.* files, then installing the source distribution, but the filesystem
>got full.
> 
>In another vein, where should I look for more instructions on how to enable
>incomming telnet and ftp connections.  The boot sequence "sees" my 3c503 and
>ifconfig makes the thing work (I can ping, ftp, and telnet other hosts) but
>if I try to ping, ftp or telnet my 386BSD machine from another machine,
>I get no response.

Currently I have no net with 386bsd, this should answer somebody else :-)
> 
>Thanks for you help in advance, and thanks to Bill and Lynne and everyone
>else who made this wonderful OS.
> 
>                      -Alec D. Isaacson
>                       AI4CPHYW @ miamiu.acs.muohio.edu
>                       isaacson @ rogue.acs.muohio.edu (NeXt Mail)
>                       Miami University, Oxford, OH
>-------------------------------------------------------------------------
>Only a barbarian would eat chive cream cheese and blackberry jam on the
>same bagel.                          -Spenser

Holger
-- 
|  |   / Holger Veit             | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
|  | /   Dept. of Electr. Eng.   | "No, my programs are not BUGGY, these are
|  |/    Inst. f. Dataprocessing |          just unexpected FEATURES"
Newsgroups: comp.unix.bsd