Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Error when doing make install' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Error when doing make install
Authored by: PimpDaddy on Jan 15, '03 11:26:52PM

I get the following error when doing the make install:

[BigPimp:~/Desktop/nullidentd-1.0] bryan% sudo make install
egrep "^Version" README | sed 's/Version //' > .version
echo "const char VERSION[] = \"`cat .version`\";" > version.h
gcc -O2 -o nullidentd nullidentd.c
rm -f /usr/local/sbin/nullidentd
cp nullidentd /usr/local/sbin/nullidentd
chown root.root /usr/local/sbin/nullidentd
chown: root: invalid group name
make: *** [install] Error 1


Any ideas? I'd love to take advantage of this.



[ Reply to This | # ]
Error when doing make install
Authored by: sardu_mac on Jan 16, '03 12:52:49AM
Edit the Makefile and make these changes (around line 24): install: nullidentd +  mkdir -p $(INSTALL)   rm -f $(INSTALL)/nullidentd   cp nullidentd $(INSTALL)/nullidentd -  chown root.root $(INSTALL)/nullidentd +  chown root.admin $(INSTALL)/nullidentd   chmod a-rw $(INSTALL)/nullidentd   chmod a+x $(INSTALL)/nullidentd For those who've never seen a patchfile before, the line with the - is the line to look for, the + is what to change it to... don't actually put the -/+ at the beginning of the line. Basically, add the 'mkdir -p' command and change 'root.root' to 'root.admin'. Keep the lines prefixed with whitespace or a tab. You might also want to make a more optimized build (also a change to the Makefile) -  gcc -O2 -o nullidentd nullidentd.c +  gcc -O3 -prebind -arch ppc -Wl,-no_arch_warnings -o nullidentd nullidentd.c Note that you'll also want to open up port 113 if you use any firewall software (Apple's or otherwise).

[ Reply to This | # ]
Error when doing make install
Authored by: sardu_mac on Jan 16, '03 12:56:56AM

Oops...
Looking at the permissions of Apple-installed daemons, that should probably be 'root.wheel', not 'root.admin'.

YMMV



[ Reply to This | # ]
Error when doing make install
Authored by: yosithezet on Jan 16, '03 03:03:05AM

Apple set up group 'wheel' instead of group 'root'. If you go in and look at the installed nullidentd file with ls -l you will see that it is owned by root and group wheel. So ignore the error, it is set up fine.



[ Reply to This | # ]