Building in /usr/src copied to $HOME

Marco Walraven m.walraven at terantula.com
Tue Mar 18 21:42:18 UTC 2008


On Tue, Mar 18, 2008 at 09:28:50PM +0100, Vclav Haisman wrote:
> Hi,
> I am trying to use /usr/src copied to my $HOME but the build process 
> doesn't want to work. For example when I try build /bin/cp I get the 
> following:
> 
> shell::wilx:~/freebsd/src/bin/cp> make
> "/usr/home/users/wilx/freebsd/src/bin/cp/../Makefile.inc", line 9: 
> Malformed conditional (${MK_DYNAMICROOT} == "no")
> "/usr/share/mk/bsd.init.mk", line 15: if-less endif
> make: fatal errors encountered -- cannot continue
> 
> Is there any sort of tutorial/prescription anywhere how to use /usr/src 
> tree that does not reside in /usr/src?

You should link your /usr/src to ~/freebsd/src/ and that will make it work.

 M.

-- 
 Terantula - Industrial Strength Open Source
 phone:+31 64 3232 400 / www: http://www.terantula.com / pgpkey: E7EE7A46
 pgp fingerprint: F2EE 122D 964C DE68 7380 6F95 3710 7719 E7EE 7A46 


More information about the freebsd-hackers mailing list