Building in /usr/src copied to $HOME

Václav Haisman v.haisman at
Tue Mar 18 21:55:38 UTC 2008

Václav Haisman wrote, On 18.3.2008 21:28:
> 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/../", line 9: 
> Malformed conditional (${MK_DYNAMICROOT} == "no")
> "/usr/share/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?
Never mind, I have realised that I have copied the wrong tree. I have coped 
/usr/src for HEAD instead of 6.3 that the box uses. With the 6.3 /usr/src it 
works fine.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-hackers mailing list