Date: Wed, 06 Jul 2005 02:55:43 +0000 From: jdyke <jdyke@azimapower.com> To: jdyke@azimapower.com Cc: freebsd-questions@freebsd.org Subject: Re: rebuild of a jail uses old DESTDIR - solved Message-ID: <42CB482F.8070007@azimapower.com> In-Reply-To: <42CA8375.7070205@azimapower.com> References: <42C97198.1070007@azimapower.com> <42CA8375.7070205@azimapower.com>
next in thread | previous in thread | raw e-mail | index | archive | help
jdyke wrote: >> i had built a jail a few weeks ago as a learning expierence, >> specifying a DESTDIR of /usr/jail/ssh for make world, i don't really >> want it to reside there long term and want to build it with less >> features enabled in make.conf. So now I'm trying to build another jail >> in another location and `make world DESTDIR=/path/to/new/dir` fails with >> -------------------------------------------------------------- >> >>> Building an up-to-date make(1) >> -------------------------------------------------------------- >> make: don't know how to make /usr/jail/ssh/usr/lib/libc.a. Stop >> >> >> I've run a make clean and make cleandir and tried to re run without >> success. i'm currently running a grep to look for the old path in any >> file on the whole system, /etc/ and /usr similar greps came up empty. >> >> How can i make the system forget about the old DESTDIR? Should i just >> delete all of /usr/src and cvsup? > > Hate to reply to my own post...but i've completely removed /usr/src and > cvsup'd in the hopes this would clear, but does not. I also have > rebooted the machine, cause i'm getting desperate. > > Is there anyway to clear the old DESTDIR out of there. Its at the point > where i can not even rebuild the jail in the old spot, i get the same > error as above. > > I can not run `make buildworld` without supplying a DESTDIR, so this is > going to hit home again then next time it try to update. > > If there is a better list to post this on, i'd be glad to move it. well, if anyone ever comes across this issue, the solution is to either clear out /usr/obj entirely and start over, the offending file was a .depend in /usr/obj/usr/src/make/.depend. the last line was pointing to liba.c in that directory. jd > > Any help appreciated, thanks! > jd > > 5.4-RELEASE > >> >> thanks for any assistance >> jd > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42CB482F.8070007>