I installed binutils today, and still no luck. The ar tool doesn't like the .a files.
I also tried exporting my shell's $PATH to include the linux ar: /usr/linux/bin/ no luck. $ which - points to the AIX ar utility Did a "whereis ar" and two ar tools came up in separate locations. I manually did a "ar cru os_xml.a .....", basically copied the line from the install-*ossec*/src/os_xml/MakeFile. I specified the options and arguments using absolute paths for each ar binary, to no avail. They both can't read it: File os_xml.a is not an archive file. *i'm assuming that the binutils package had the ar binary, otherwise someone else installed it on this system, (i'm the new admin, other gal quit)* Any other ideas? Thanks On 07/20/11 14:45, dan (ddp) wrote: > 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 >> -- -Jon Schipp -- ----------------------------------------------------------------- "Government is the great fiction through which everybody endeavors to live at the expense of everybody else." - Frédéric Bastiat Dubois County Linux User Group - http://www.dclinux.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
