Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2002 09:55:32 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Bsd Neophyte <bsdneophyte@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: upgrading and updating .... extremely complicated for me.
Message-ID:  <20020906215532.GA65455@grimoire.chen.org.nz>
In-Reply-To: <20020906190323.71502.qmail@web20108.mail.yahoo.com>
References:  <20020906075159.GA10475@grimoire.chen.org.nz> <20020906190323.71502.qmail@web20108.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 06, 2002 at 12:03:23PM -0700, Bsd Neophyte wrote:

[...]
> "Examine the files /etc/defaults/make.conf and /etc/make.conf. The first
> contains some default defines - most of which are commented out. To make
> use of them when you rebuild your system from source, add them to
> /etc/make.conf. Keep in mind that anything you add to /etc/make.conf is
> also used every time you run make, so it is a good idea to set them to
> something sensible for your system.
> 
> A typical user will probably want to copy the CFLAGS and NOPROFILE lines
> found in /etc/defaults/make.conf to /etc/make.conf and uncomment them.
> 
> Examine the other definitions (COPTFLAGS, NOPORTDOCS and so on) and decide
> if they are relevant to you."
> 
> what does this mean?  make use of what?  the options?  how do you know
> which option you need?  also the format isn't explained which isn't self
> explanatory.

When you're starting out, you can leave /etc/make.conf blank, or not
even have a make.conf.

> it then goes to talk about /etc and /etc/group and how you need to make
> sure that certain groups do exist that might be required for an upgrade. 
> how do you determine what groups need to exist? 

That's what mergemaster is for.

> it then talks about mergemaster... what's mergemaster?  the man pages says
> it's some tool to help update certain configuration files... but i'm still
> unsure on how to use it.

There's a man page for mergemaster; and the Handbook describes to you
just exactly how to use it:

	# cd /usr/src/usr.sbin/mergemaster
	# ./mergemaster.sh -p

> okay there is mention that one shouldn't use make world anymore... that
> make buildworld is prefered... but when i try that i get the following
> error codes:
> 
> ===> gnu/usr.bin/gperf/doc
> /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for
> /usr/src/gnu/usr.bin/gperf/doc
> make: don't know how to make bool-array.cc. Stop
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error

This specific error could be due to:

    1. a problem with your cvs supfile.
    2. bad luck in cvsupping your source when someone was doing a
       major commit. In this case, all you have to do is to re-cvsup
       your sources again; remove /usr/obj and retry your buildworld

-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
          "You can get farther with a kind word and a gun
                      than you can with a kind word alone" - Al Capone

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020906215532.GA65455>