I am having issues installing on Solaris 10 (i.e. Solaris 10 8/11 s10s_u10wos_17b SPARC) and am getting the error below when it tries to finish the install.
5- Installing the system - Running the Makefile make: Fatal error in reader: Makefile, line 4: Unexpected end of line seen Error 0x5. Building error. Unable to finish the installation. The line in question is "uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') ". The output from that command is below. # sh -c 'uname -s 2>/dev/null || echo not' SunOS I tried changing the first line of the install.sh script to "#!/bin/bash" and that didn't work. I checked our compilers and we have gcc installed but not cc. Below is the gcc version. # gcc --version gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Copyright (C) 2004 Free Software Foundation, Inc. Below is the output using the following command: /bin/sh -x ./install.sh. MAKEBIN=make + [ XSunOS = XOpenBSD ] + [ XSunOS = XFreeBSD ] + [ XSunOS = XNetBSD ] + [ XSunOS = XDragonflyBSD ] + [ X%NUNAME = XBitrig ] + echo - Running the Makefile - Running the Makefile + cd ./src + [ X = X ] + make PREFIX=/var/ossec TARGET=agent build make: Fatal error in reader: Makefile, line 4: Unexpected end of line seen + [ 1 != 0 ] + cd ../ + catError 0x5-build FILE=0x5-build FILE_PATH=./etc/templates/en/errors/0x5-build.txt + isFile ./etc/templates/en/errors/0x5-build.txt FILE=./etc/templates/en/errors/0x5-build.txt + ls ./etc/templates/en/errors/0x5-build.txt + [ 0 = 0 ] + echo true + return 0 + [ true = false ] + cat ./etc/templates/en/errors/0x5-build.txt Error 0x5. Building error. Unable to finish the installation. I also tried patching our install.sh script using the patch (src_init_update_sh.diff) that was provided in another thread but that patch doesn't work. Not to mention that thread was back in 2013. Any ideas? -- --- 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.