Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to follow this proceedure to install a jail template:

make installworld DESTDIR=/usr/jails/mroot

but get the following error:

===> lib/libcom_err/doc (install)
install-info --quiet  --defsection="Programming & development tools."  --defentry="* libcom_err: (com_err).        A Common Error Description Library for UNIX."  com_err.info /usr/jails/mroot/usr/share/info/dir
/usr/jails/mroot/usr/share/info/dir: Is a directory
*** Error code 1

Stop in /usr/src/lib/libcom_err/doc.
*** Error code 1

Stop in /usr/src/lib/libcom_err.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

even after invoking

sudo make buildworld

and

make buildworld -DNO_CLEAN

Any ideas?

share|improve this question
add comment

2 Answers

It's been a little while; I think your destination directory needs devfs mounted.

mount -t devfs devfs /usr/jails/mroot/dev
share|improve this answer
    
That's done afterward; see Chapter 15 of the handbook or the link in my post. –  gvkv Jun 29 '10 at 21:18
    
Maybe I'm thinking of building a chrooted environment, but I know the make utility needs a /dev/null to build world; I assume you tried deleting the offending directory already, and updating your src... –  Chris S Jun 29 '10 at 23:38
add comment

You trying to run make installworld as regular user? Probably, that's not the reason for error that you shown, but it still will fail on setting special flags on some files and directories. Try running make installworld as root after rm -rf /usr/jails/mroot/*

share|improve this answer
    
I'll try this when I have some more time. I ended up 'solving' the problem by using ezjail. –  gvkv May 25 '11 at 12:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.