The error is coming from zlib, not even from the OSSEC code. Can you
install gcc in there to try?

thanks,

On Fri, Apr 1, 2011 at 11:44 AM, Mike Disley
<mike.a.dis...@tpsgc-pwgsc.gc.ca> wrote:
> OK, my bad.  How's this?
>
>
> 5- Installing the system
>  - Running the Makefile
>
>  *** Making zlib (by Jean-loup Gailly and Mark Adler)  ***
>        cc -c -g -Wall -I../../ -I../../headers  -DDEFAULTDIR=\"/opt/ossec\" 
> -DCLIENT -DUSE_OPENSSL -DHPUX -D_XOPEN_SOURCE_EXTENDED -DHIGHFI
> RST -D_REENTRANT    -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C 
> product; ignored.
> adler32.c:
> (Bundled) cc: "adler32.c", line 72: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 73: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 75: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 76: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 90: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 91: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 92: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 104: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 105: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 119: error 1701: Unsigned suffix is an  ANSI 
> feature.
> (Bundled) cc: "adler32.c", line 120: error 1701: Unsigned suffix is an  ANSI 
> feature
>
> <snip>
>
> (Bundled) cc: "inftrees.c", line 314: error 1701: Unsigned suffix is an  ANSI 
> feature.
> trees.c:
> uncompr.c:
> zutil.c:
> *** Error exit code 7
>
> Stop.
>        cp -pr zlib.h zconf.h ../../headers/
>        cp -pr libz.a ../
> cp: cannot access libz.a: No such file or directory
> *** Error exit code 1
>
> Stop.
>
>  *** Making os_xml ***
>
>        cc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers  
> -DDEFAULTDIR=\"/opt/ossec\" -DCLIENT -DUSE_OPENSSL -DHPUX 
> -D_XOPEN_SOURCE_EXTENDED
>  -DHIGHFIRST -D_REENTRANT    -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS 
> -c os_xml.c os_xml_access.c os_xml_node_access.c os_xml_variab
> les.c os_xml_writer.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C 
> product; ignored.
> os_xml.c:
> (Bundled) cc: "/usr/include/time.h", line 472: error 1000: Unexpected symbol: 
> "d".
> (Bundled) cc: "/usr/include/time.h", line 472: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 63: error 1000: Unexpected symbol: 
> "d".
> (Bundled) cc: "../headers/defs.h", line 79: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 83: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 87: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 91: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 105: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 106: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 107: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 108: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 158: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/defs.h", line 166: error 1004: Unexpected end of 
> line.
>
> <snip>
>
> (Bundled) cc: "../headers/defs.h", line 265: error 1004: Unexpected end of 
> line.
> (Bundled) cc: "../headers/help.h", line 18: warning 5: "const" will become a 
> keyword.
> (Bundled) cc: "../headers/help.h", line 18: error 1000: Unexpected symbol: 
> "char".
> (Bundled) cc: "../headers/help.h", line 18: error 1506: Parameters allowed in 
> function definition only.
> (Bundled) cc: "../headers/shared.h", line 122: error 1000: Unexpected symbol: 
> "u_int32_t".
> (Bundled) cc: "../headers/shared.h", line 122: error 1584: Inconsistent type 
> declaration: "uint32_t".
> (Bundled) cc: "../headers/shared.h", line 122: warning 525: Redeclaration of 
> identifier "uint32_t".
> (Bundled) cc: "../headers/shared.h", line 191: error 1000: Unexpected symbol: 
> "d".
> (Bundled) cc: "../headers/debug_op.h", line 33: warning 5: "const" will 
> become a keyword.
> (Bundled) cc: "../headers/debug_op.h", line 33: error 1000: Unexpected 
> symbol: "char".
> (Bundled) cc: "../headers/debug_op.h", line 35: warning 5: "const" will 
> become a keyword.
> (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
> *** Error exit code 5
>
> Stop.
>
> Error Making os_xml
> *** Error exit code 1
>
> Stop.
>
>  Error 0x5.
>  Building error. Unable to finish the installation.
>
>
>
>
>
>
>
>
>
> ________________________________
>
> From: ossec-list@googlegroups.com [mailto:ossec-list@googlegroups.com] On 
> Behalf Of dan (ddp)
> Sent: Friday, April 01, 2011 10:06 AM
> To: ossec-list@googlegroups.com
> Subject: Re: [ossec-list] HPUX 11 Install Problem
>
>
>
> We'll need the actual errors to try and troubleshoot this. You snipped too 
> much. :)
>
> On Apr 1, 2011 10:04 AM, "Mike Disley" <mike.a.dis...@tpsgc-pwgsc.gc.ca> 
> wrote:
>>
>> Greetings,
>> Having trouble installing OSSEC on HPUX 11. Searched the archives and tried 
>> the snapshot (ossec-hids-101014) as well as ver 2.5.1 but no joy. Tried 
>> editing the install.sh script to force the loc for CC ("CC=/usr/bin/cc") but 
>> no joy.
>>
>> <snip>
>> os_xml_writer.c:
>> *** Error exit code 5
>>
>> Error Making os_xml
>> *** Error exit code 1
>>
>> Error 0x5.
>> Building error. Unable to finish the installation
>>
>>
>> HP-UX localhost B.11.11 U 9000/800 1563716526 unlimited-user license
>>
>> Any assistance from HPUX folks would be appreciated.
>>
>> Mike
>>
>
>

Reply via email to