You may need gnu binutils installed as well.

On Thu, Jul 14, 2011 at 11:36 AM, Jon Schipp <[email protected]> wrote:
> Hello all,
>
> I've installed OSSEC successfully on other operating systems (FreeBSD,
> Linux, OSX) but I'm having trouble with AIX 5.3.
>
> I'm trying to install it as an Agent.
>
> uname -a
> AIX ibm52a 3 5 00007578D700
>
> I just installed gcc, make, and libgcc.
>
> I believe the problem has something to do with the ar program (i don't
> know much about AIX)
>
> Hopefully, someone can point me in the right direction.
>
> (after running the install.sh - continuing from step 5)
>
> 5- Installing the system
>  - Running the Makefile
>
>  *** Making zlib (by Jean-loup Gailly and Mark Adler)  ***
>        gcc -c -g -Wall -I../../ -I../../headers
> -DDEFAULTDIR=\"/usr/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST
>  -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c
>        ar cru libz.a *.o
> ar: 0707-108 File libz.a is not an archive file.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>        cp -pr zlib.h zconf.h ../../headers/
>        cp -pr libz.a ../
>
>
>
>  *** Making os_xml ***
>
>        gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers
> -DDEFAULTDIR=\"/usr/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST
>  -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c
> os_xml_access.c os_xml_node_access.c os_xml_variables.c
> os_xml_writer.c
>        ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o
> os_xml_variables.o os_xml_writer.o
> ar: 0707-108 File os_xml.a is not an archive file.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> Error Making os_xml
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
>  Error 0x5.
>  Building error. Unable to finish the installation.
>
> Any help is appreciated,
> Thanks
>
> --
> - Jon
> --
> ------------------------------------------------------------------
>
> VMB: 812-682-0231
>
> Dubois County Linux User Group - http://www.dclinux.org<http://www.dclug.org>
> Southern Indiana Computer Klub - http://sickbits.networklabs.org
> BloomingLabs -  http://www.bloominglabs.org
> ISSA-Kentuckiana  -  http://issa-kentuckiana.org
>
> GPG Key ID: 810903CB
> Key fingerprint = 0069 ED69 EABB DF84 5983  AD3C 6C20 BEFD 8109 03CB
>

Reply via email to