Hi,
I needed to test some changes to OpenBSD, so I upgraded to -current and
compiled system from source for the first time. According to
current.html[1], ncurses needs some special treatments:
cd /usr/src && make obj
cd /usr/src && make includes
cd /usr/src/lib && make && make install
cd /usr/src/usr.bin/tic && make && make install
cd /usr/src && make build
(I assumed these commands are expected to be executed as root.)
It seems that the `make` command for /usr/src/lib (and
/usr/src/usr.bin/tic, although unnecessary in practice) should be
`su build -c 'exec make'` instead. Otherwise the make_hash.d file it
writes to /usr/obj/lib/libcurses will be owned by root and causes
access issues for the `make build` command under /usr/src.
[1]: https://www.openbsd.org/faq/current.html
- Chenguang
No comments:
Post a Comment