Thanks Jeremy, it worked after pointing it to the path of gcc install

--- On Wed, 7/28/10, Jeremy Rossi <jer...@jeremyrossi.com> wrote:

> From: Jeremy Rossi <jer...@jeremyrossi.com>
> Subject: Re: [ossec-list] Error Installing OSSEC Agent on HP-UX
> To: "ossec-list@googlegroups.com" <ossec-list@googlegroups.com>
> Cc: "ossec-list@googlegroups.com" <ossec-list@googlegroups.com>
> Date: Wednesday, July 28, 2010, 4:46 PM
> For some reason the ossec installer
> is not finding your gcc install. Can you check that gcc is
> in your path and the path of the user you are installing
> with (guessing root) 
> 
> Sent from my iPhone
> 
> On Jul 28, 2010, at 3:45 AM, George Ochola <georgeoch...@yahoo.com>
> wrote:
> 
> > 
> > Dear All
> > 
> > I have installed GNU gcc compilers on HP-UX box but
> when run OSSEC agent installation i get the error below; Is
> any body has fix for this problem ?
> > 
> > 5- Installing the system
> > 
> > - Running the Makefile
> > 
> > 
> > 
> > *** Making zlib (by Jean-loup Gailly and Mark
> Adler)  ***
> > 
> >        cc -c -g -Wall -I../../
> -I../../headers  -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
> -DUSE_OPENSSL -DHPUX -D_XOPEN_SOURCE_EXTENDED -DHIGHFIRST
> -D_REENTRANT    -DARGV0=\"zlib\" -DXML_VAR=\"var\"
> -DOSSECHIDS *.c
> > 
> > (Bundled) cc: warning 922: "-g" is unsupported in the
> bundled compiler, ignored.
> > 
> > (Bundled) cc: error 1914: bad form for `-W' option
> > 
> > *** Error exit code 1
> > 
> > 
> > 
> > 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=\"/var/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_variables.c os_xml_writer.c
> > 
> > (Bundled) cc: warning 922: "-g" is unsupported in the
> bundled compiler, ignored.
> > 
> > (Bundled) cc: error 1914: bad form for `-W' option
> > 
> > *** Error exit code 1
> > 
> > 
> > 
> > Stop.
> > 
> > 
> > 
> > Error Making os_xml
> > 
> > *** Error exit code 1
> > 
> > 
> > 
> > Stop.
> > 
> > 
> > 
> > Error 0x5.
> > 
> > Building error. Unable to finish the installation.
> > 
> > 
> > 
> > 
> > 
> > Thanks
> > George O
> > 
> > 
> > 
> 



Reply via email to