[hobbit] 4.2.0: make install error

Andy France Andy at zespri.com
Wed Aug 16 23:55:56 CEST 2006





Hermann-Josef Beckers wrote on 17/08/2006 02:07:25 a.m.:
>
>
> During "make install"    chgrp fails with "invalid groupname"
> (Ungültiger Gruppenname); see line 8).
> Obviously line 7) is missing the "id -g hobbit" as in line 6). Whre
> do I add it?
>
> Yours
> hjb
>
> ...
> 1) Loading md5-data ... OK
> 2) touch /home/hobbit/server/etc/hobbit-nkview.cfg
> /home/hobbit/server/etc/hobbit-nkview.cfg.bak
> 3) chmod g+w /home/hobbit/server/etc/hobbit-nkview.cfg
> /home/hobbit/server/etc/hobbit-nkview.cfg.bak
> 4) mkdir -p /var/log/hobbit
> 5) chown hobbit /var/log/hobbit /home/hobbit/server
> /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/*
> /home/hobbit/server/ext/* /home/hobbit/server/web/*
> /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/*
> /home/hobbit/server/www/menu
> /home/hobbit/server/www/menu/* /home/hobbit/server/www/help
> /home/hobbit/server/www/notes /home/hobbit/server/www/html
> /home/hobbit/server/www/wml
> /home/hobbit/data /home/hobbit/data/*
> 6) chgrp `id -g hobbit` /var/log/hobbit /home/hobbit/server
> /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/*
> /home/hobbit/server/ext/* /home/hobbit/server/web/*
> /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/*
> /home/hobbit/server/www/menu
> /home/hobbit/server/www/menu/* /home/hobbit/server/www/help
> /home/hobbit/server/www/notes /home/hobbit/server/www/html
> /home/hobbit/server/www/wml
> /home/hobbit/data /home/hobbit/data/*
> 7) chgrp  /home/hobbit/server/etc/hobbit-nkview.cfg
> /home/hobbit/server/etc/hobbit-nkview.cfg.bak
> 8) --->>>     chgrp: Ungültiger Gruppenname ,,
> /home/hobbit/server/etc/hobbit-nkview.cfg"
> make[1]: *** [install-cfg] Fehler 1
> make[1]: Leaving directory `/home/beckers/hobbit-4.2.0/hobbitd'
> make: *** [install-hobbitd] Fehler 2

I had the same issue.  The definition of HTTPDGID= seems to be missing from
the root Makefile (top source directory) after configure, so the chgrp on
line 160 of hobbitd/Makefile fails.

The workaround I used was to edit hobbitd/Makefile and change ${HTTPDGID}
to nobody (the group for my Apache user).  I guess I could have also set
the variable in the root Makefile!

My guess is that this is caused by pressing Enter to accept the default web
user during configure, but I'll leave it up to Henrik to confirm and
propose a more robust solution ;-)

HTH,
Andy.

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################



More information about the Xymon mailing list