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

Re: Newbie rebuilds binaries



On Mon, 1 Jul 2002, Matt Sullivan wrote:

> is the first time I have gone through the kernal compile/patch process.
                                            kernel

> I prepared system for anoncvs to get the patch branch
> by modifing .cshrc:
> setenv CVS_RSH '/usr/bin/ssh'
> setenv CVSROOT ' anoncvs@anoncvs.usa.openbsh.org:/cvs'
>
> When I first went through the kernel/system rebuild the last messages were:
>
> cd /usr/src/share/man && exec make madedb
> /usr/libexec/makewhatis /usr/share/man
> # Jun 1 01:30:02 cos81787 sendmail[18032]: gethostbyaddr(IPv6:::1) failed: 1

:-)  The sendmail message is from syslog.  It has nothing to do with
the 'make build', which finished successfully.  Sendmail wants its
DNS configured more nicely.  (See the FAQ on that subject).

> I repeated my walk through of the FAQ, Anonymous CVS, and Patch Branches
> instructions, the mailing list archives, repeated the steps but got the
> same result.
>
> I figured I messed something up, so I re-ran the process. Again the same
> result.

Coincidence.  Sendmail is run out of cron every so often to flush
the queues.


 ....
> Copied source from CD disk 3 to /usr/src
> # mount -t cd9660 -r /dev/cd0a /mnt/cdrom
>
> Attemped:
> # cd /mnt/cdrom
> # pax -rw CVS Makefile [a-z]* /usr/src
> pax: Unable to access CVS <No such file or directory>
> pax: Unable to access Makefile <No such file or directory>
> pax: WARNING! These file names were not selected:
> CVS
> Makefile

Well, this is no suprise.  Wherever did this come from, this
pax business?

> Not sure it did what it was supposed to so I resorted to:

... doing it the right way now:

 ... snip right way ...

> Rebuilt the (patched) kernel:
> # cd /usr/src/sys/arch/i386/conf
> # rm *.o; rm *.c; rm *.h; rm -r lib

Eh?  there aren't any files like that in ..../conf.
This is what the 'make clean' in ...../compile/GENERIC does.

... snip more by-the-book stuff ...

> I am still clueless as to why the build did not fail this time.

I hope you have a laugh over it now.

Dave
--
        In each of us, there burns a soul of a woodchuck.
        In every generation a few are chosen to prove it.