Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 17:55:30 +0100
From:      Marco Molteni <molter@tin.it>
To:        Peter Edwards <petere@openet-telecom.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: make installworld DESTDIR=foo troubles
Message-ID:  <20031212165530.GA264@cobweb.example.org>
In-Reply-To: <3FD9EEA9.3060903@openet-telecom.com>
References:  <20031211143758.GA48808@cobweb.example.org> <20031212001941A.matusita@jp.FreeBSD.org> <20031211154802.GA52388@cobweb.example.org> <3FD9EEA9.3060903@openet-telecom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Edwards wrote [2003-12-12]:

[..]

> >>make installworld DESTDIR=$DESTDIR, or
> >>env -i make installworld DESTDIR=$DESTDIR

[..]

> Try
> env MAKEOBJDIRPREFIX=/usr/obj DESTDIR=$DESTDIR make installworld
> 
> I suggested this before for a different problem, and it wasn't a 
> solution, but this is the exact error that I got around by setting 
> MAKEOBJDIRPREFIX explicitly.

Actually I was so annoyed by the failure that i traced it:

ktrace make installworld DESTDIR=foo

and I discovered that installworld wants an "install" under the obj/
directory (which makes sense).

Turned out that I messed with the mount points of the fbsd49/usr/src
directory, so "make" wasn't able to find "install" in the obj directory.

I solved by doing
rm -r /usr/obj
make buildworld
make installworld DESTDIR=foo

without changing mount points in between ;-)

but I guess that MAKEOBJDIRPREFIX would have done the trick.

thanks
Marco



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