Hitchhiker's Guide to Openbsd


- "make build" fails with "cannot open output file snake: is a directory"


Download 1.27 Mb.
Pdf ko'rish
bet82/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   78   79   80   81   82   83   84   85   ...   258
Bog'liq
obsd-faq49

5.11.2 - "make build" fails with "cannot open output file snake: is a directory"
This is the result of two separate errors: 

You did not fetch or update your CVS tree properly. When doing a CVS checkout operation
you must use the "
-P
" option, when you update your source tree with CVS, you must use "
-Pd

options to 
cvs(1)
, as documented 
above
. These options make sure new directories are added and 
removed from the tree as OpenBSD evolves. 

You did not properly create the 
obj
 directory before your build. Building the tree without 

/usr/obj
directory is not supported. 
It is important to carefully follow the instructions when 
fetching
 and 
building
your tree. 
5.11.3 - My IPv6-less system doesn't work!
Yes. Please do not make modifications to the base system that you don't understand the implications of. 
One "little" change in the kernel can have very large impact to the entire rest of the system. Please re-
read 
this

5.11.4 - Oops! I forgot to make the 
/usr/obj
 directory first!
By doing a "make build" before doing a "make obj", you will end up with the object files scattered in 
your 
/usr/src
directory. This is a bad thing. If you wish to try to avoid re-fetching your entire src tree 
again, you can try the following to clean out obj files: 
cd /usr/src
find . -type l -name obj | xargs rm
make cleandir
rm -rf /usr/obj/*
make obj
http://www.openbsd.org/faq/faq5.html (23 of 26)9/4/2011 10:02:02 AM


5 - Building the System from Source
5.11.5 - Tip: Put 
/usr/obj

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   78   79   80   81   82   83   84   85   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling