Hi, it's probably to late to be of help but I had this same problem. Fixed it by changing the 1st line of the install script to "#!/bin/bash"
cheers On Wednesday, 30 January 2013 20:16:46 UTC+3, brownwrap wrote: > > I have download the package, and although it says it will run on Solaris, > I immediately received an error in trying to install. Since I see messages > here regarding Solaris, I know it must run. I first tried the install > script: > > OSSEC HIDS v2.7 Installation Script - http://www.ossec.net > > You are about to start the installation process of the OSSEC HIDS. > You must have a C compiler pre-installed in your system. > If you have any questions or comments, please send an e-mail > to [email protected] <javascript:> (or [email protected] <javascript:>). > > - System: SunOS hostname 5.10 > - User: root > - Host: hostname > > > -- Press ENTER to continue or Ctrl-C to abort. -- > > ./install.sh: syntax error at line 142: `$' unexpected > > Then I tried to compile it myself: > > csyslogd.c: In function `field_add_string': > csyslogd.c:117: warning: implicit declaration of function `strnlen' > Undefined first referenced > symbol in file > strnlen /var/tmp//cc76p1AS.o > ld: fatal: symbol referencing errors. No output written to ossec-csyslogd > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `default' > Current working directory > /export/home/ramosg/ossec/ossec-hids-2.7/src/os_csyslogd > > Error Making os_csyslogd > *** Error code 1 > The following command caused the error: > /bin/sh ./Makeall all > make: Fatal error: Command failed for target `all' > > > Anyone here familiar with the above error? Thanks. > > > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
