From: Alexei A. <ale...@gm...> - 2025-05-02 12:05:12
|
Hi Kevin and thanks ! so I managed to compile it by adding this ifdef to the sandbox.c (see below). However now make install is also failing - because I think in OmniOS this is all in /opt/local/ instead root@test:~/sshguard# make install Making install in src make[1]: Entering directory '/root/sshguard/src' Making install in blocker make[2]: Entering directory '/root/sshguard/src/blocker' make[3]: Entering directory '/root/sshguard/src/blocker' mkdir -p '/usr/local/libexec' mkdir: /usr/local: cannot create intermediate directory [No such file or directory] make[3]: *** [Makefile:325: install-libexecPROGRAMS] Error 1 make[3]: Leaving directory '/root/sshguard/src/blocker' make[2]: *** [Makefile:546: install-am] Error 2 make[2]: Leaving directory '/root/sshguard/src/blocker' make[1]: *** [Makefile:430: install-recursive] Error 1 make[1]: Leaving directory '/root/sshguard/src' make: *** [Makefile:481: install-recursive] Error 1 -- Best regards, Aleksey Anisimov root@test:~/sshguard# diff src/common/sandbox.c src/common/sandbox.c.orig 23,25c23 < #ifdef LOG_PERROR < flags |= LOG_PERROR; < #endif --- > flags |= LOG_PERROR; On Tue, 29 Apr 2025 at 09:41, Kevin Zheng <kev...@gm...> wrote: > Hi Alexei, > > Thanks for the report. > > It sounds like OmniOS requires different header files for the syslog > functions. Could you check (via man pages) what header files are > required for getenv() and the syslog stuff? > > Does OmniOS have setresgid? The version in Git now has setresgid > detection via configure, can you double check that you're using the > right version? > > Also not sure why it's complaining about missing stdlib.h, when that is > clearly included at the top of that file... > > I don't run OmniOS, but if you're able to figure out what changes are > necessary and send me a patch, I can incorporate that into the next > release. > > Regards, > Kevin > |