Xymon Mailing List Archive search

AIX 5.2 & hobbit 4.2.0: build problem

3 messages in this thread

list Iye · Tue, 20 Nov 2007 11:23:53 +0100 ·
Hello people,

I hope someone could help me on this.

I tried to install hobbit stable release (4.2.0) on an aix machine.
Actually everything went well, until I run gmake install.
Unfortunately I don't know what I should change (regarding "chgrp",
or is "mv"?) ?
So I hope someone could explain me, how I can resolve this problem.

System:
AIX 5.2.0.6, hobbit-4.2.0.tar.gz (stable release)
user: hobbit (group: hobbit)

Makefile.AIX (partialy);
# Compile flags for normal build with gcc
CC = gcc
CFLAGS = -O -D_REENTRANT $(OSDEF)

$ MAKE=gmake ./configure.server\
--rrdinclude /opt/freeware/include --rrdlib /opt/freeware/lib \
--pcreinclude /opt/freeware/include --pcrelib /opt/freeware/lib \
--sslinclude /opt/freeware/include/openssl --ssllib /usr/linux/lib \
$ gmake (-> exit error = 0)
# gmake install
...
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/*
chgrp  /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
0481-002 chgrp: /home/hobbit/server/etc/hobbit-nkview.cfg is not a recognized group.
        Check the /etc/group file for all known groups.
gmake[1]: *** [install-cfg] Error 4
gmake[1]: Leaving directory `/home/tester/temp/hobbit-4.2.0/hobbitd'
gmake: *** [install-hobbitd] Error 2
#

Thanks in advance,
iye
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
list Daniel Hartmeier · Tue, 20 Nov 2007 14:25:36 +0100 ·
quoted from Iye
On Tue, Nov 20, 2007 at 11:23:53AM +0100, user-0fe4bb3c8ef3@xymon.invalid wrote:
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/*
chgrp  /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
0481-002 chgrp: /home/hobbit/server/etc/hobbit-nkview.cfg is not a recognized group.
        Check the /etc/group file for all known groups.
gmake[1]: *** [install-cfg] Error 4
gmake[1]: Leaving directory `/home/tester/temp/hobbit-4.2.0/hobbitd'
gmake: *** [install-hobbitd] Error 2
Do you have a user group hobbit?

If so

  # grep hobbit /etc/group

should find it, and

  # id -g hobbit

should return the numerical group id.

It seems to return an empty string in your invokation above, hence chgrp
fails with such an error message.

Daniel
list Iye · Thu, 22 Nov 2007 12:18:34 +0100 ·
Hi Daniel,

thanks for the suggestion.
The problem is solved. It was the missing HTTPDGID.

Best regards,
cipaera

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger