On Wed, Jan 30, 2013 at 3:01 PM, brownwrap <brownw...@gmail.com> wrote: > > > OK, thanks. The install.sh script still had the syntax error, but the make
Could you try running the install script like this: "/bin/sh -x ./install.sh" I'm curious as to where it's failing exactly. I didn't see anything on line 142-ish that wasn't the same as some previous elements that seemed to work. > all seems to have worked. I have a /var/ossec: > ls -larth /var/ossec/ > total 30 > drwxr-xr-x 46 root sys 1.0K Jan 30 09:47 .. > drwxr-x--- 2 ossec ossec 512 Jan 30 10:18 stats > dr-xr-x--- 11 root ossec 512 Jan 30 10:18 queue > dr-xr-x--- 2 root ossec 512 Jan 30 10:18 tmp > dr-xr-x--- 3 root ossec 512 Jan 30 10:18 var > dr-xr-x--- 3 root ossec 512 Jan 30 10:18 active-response > drwx------ 2 ossec ossec 512 Jan 30 10:18 .ssh > drwxr-x--- 5 ossec ossec 512 Jan 30 10:18 logs > dr-xr-x--- 4 root ossec 2.0K Jan 30 10:18 rules > dr-xr-x--- 14 root ossec 512 Jan 30 10:18 . > dr-xr-x--- 3 root root 512 Jan 30 10:18 usr > dr-xr-x--- 2 root ossec 512 Jan 30 10:18 bin > dr-xr-x--- 2 root ossec 512 Jan 30 10:18 agentless > dr-xr-x--- 3 root ossec 512 Jan 30 10:18 etc > > > > > On Wednesday, January 30, 2013 10:16:46 AM UTC-7, 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 d...@ossec.net (or daniel....@gmail.com). >> >> - 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 ossec-list+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- --- 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/groups/opt_out.