On Wed, Sep 28, 2016 at 12:22 PM, Aj Navarro <ajnavarro1...@gmail.com> wrote: > Do you have an example that how the makeall file is edited. > > I have OSSEC 2.8.3. and send the next line: > > # Setting SunOS path > if [ "X$OS" = "XSunOS" ]; then > > PATH=$PATH:/usr/ccs/bin:/usr/xpg4/bin:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin > export PATH > fi > > And when I run sh -x Makeall all > ARGV=all > + [ Xall = X ] > + [ Xall = Xsetmaxagents ] > CJSONV=external/cJSON/ > LUAV=external/lua/ > LUA_PLAT=posix > + uname -m > MACH=sun4v > + uname > OS=SunOS > + cat ./VERSION > VERSION=v2.8.3 > MSG= > LIBS=os_xml os_regex os_net os_crypto > SOURCES=shared config > BINARIES=os_maild os_dbd os_csyslogd agentlessd os_execd analysisd > logcollector remoted client-agent addagent util rootcheck syscheckd monitord > os_auth > ROOTCHECKBIN=rootcheck > DIRECTORIES= > + [ XSunOS = XSunOS ] > PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/xpg4/bin:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin > + export PATH > + [ Xall = Xall -o Xall = Xtest -o Xall = Xrootcheck -o Xall = Xlibs ] > + ls ./Config.OS > + [ ! 0 = 0 ] > + [ -e /usr/include/openssl/opensslconf.h ] > Makeall: test: argument expected >
Not positive, but it looks like your `sh` doesn't like the "[ -e /usr/include/openssl/opensslconf.h ]" bit. Check the shell's man page to see what the correct format should be for that line. > > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ossec-list+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.