[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] Re: Unable to install
Okay... got the header files installed.
Now it gets this far before stopping,
make[1]: Entering directory `/home/webadmin/ossec-hids-0.9-3/src/os_maild'
gcc -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-lsocket -lnsl -lresolv -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-maild\"
-DXML_VAR=\"var\" -DOSSECHIDS maild.c config.c os_maild_client.c
sendmail.c mail_list.c ../config/*.c ../shared/lib_shared.a
../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-maild
/usr/local/sparc-sun-solaris2.8/bin/ld: cannot open values-Xa.o: No such
file or directory
collect2: ld returned 1 exit status
make[1]: *** [addclient] Error 1
make[1]: Leaving directory `/home/webadmin/ossec-hids-0.9-3/src/os_maild'
Error Making os_maild
make: *** [all] Error 1
Error 0x5.
Building error. Unable to finish the installation.
So now what?
Brian Avis wrote:
> Sorry it took so long to get back. I injured myself at work, who knew
> being a computer geek was dangerous. :)
>
> Anyway, I checked and I don't have that package installed. Guess I need
> to start hunting down the gcc 2.95.3 devel headers.
>
>
>
> McClinton, Rick wrote:
>> No wait, not the libraries, the header files. Brian, use pkginfo to see
>> if you have package "SUNWhea" installed.
>>
>> Rick
>>
>>
>>
>>> -----Original Message-----
>>> From: ossec-list@xxxxxxxxxxxxxxxx [mailto:ossec-list@xxxxxxxxxxxxxxxx]
>> On
>>> Behalf Of Daniel Cid
>>> Sent: Sunday, October 29, 2006 8:03 AM
>>> To: ossec-list@xxxxxxxxxxxxxxxx
>>> Cc: Brian Avis
>>> Subject: [ossec-list] Re: Unable to install
>>> Importance: Low
>>>
>>>
>>> Hi Brian,
>>>
>>> You are missing the C libraries. I don't know exactly how Solaris
>> manages
>>> the packages, but you need libc installed. This is the only
>> requirement to
>>> run ossec.
>>>
>>> Hope it helps.
>>>
>>> --
>>> Daniel B. Cid
>>> dcid ( at ) ossec.net
>>>
>>> On 10/27/06, Brian Avis <brian@xxxxxxxxxx> wrote:
>>>> I have run into an installation problem on one of our servers.
>>>>
>>>> It's Solaris 8 with gcc 2.95.3 installed.
>>>>
>>>> Just like another of our servers that installed just fine. So I
>> guess I
>>>> need to know what else ossec needs installed for it to install? For
>>>> example it is trying to make zlib... should I install zlib by hand
>> and
>>>> run install.sh again?
>>>>
>>>> When I run install.sh, answer the questions that come up, it starts
>> to
>>>> compile... I get this.
>>>>
>>>>
>>>> *** Making zlib (by Jean-loup Gailly and Mark Adler) ***
>>>> make[1]: Entering directory
>>>> `/home/webadmin/ossec-hids-0.9-2/src/external/zlib-1.2.3'
>>>> gcc -c -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\"
>>>> -DCLIENT -lsocket -lnsl -lresolv -DSOLARIS -DHIGHFIRST
>> -DARGV0=\"zlib\"
>>>> -DXML_VAR=\"var\" -DOSSECHIDS *.c
>>>> In file included from crc32.c:29:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from
>>>> /usr/local/lib/gcc-lib/sparc-sun-
>>> solaris2.8/2.95.3/include/syslimits.h:7,
>>>> from
>>>>
>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/limits.h:11,
>>>> from crc32.c:36:
>>>>
>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/limits.h:117:
>>>> limits.h: No such file or directory
>>>> In file included from deflate.h:16,
>>>> from deflate.c:52:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> gzio.c:10: stdio.h: No such file or directory
>>>> In file included from gzio.c:12:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from infback.c:13:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from inffast.c:6:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from inflate.c:83:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from inftrees.c:6:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from deflate.h:16,
>>>> from trees.c:36:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> In file included from zutil.c:8:
>>>> zutil.h:23: string.h: No such file or directory
>>>> zutil.h:24: stdlib.h: No such file or directory
>>>> zutil.h:38: errno.h: No such file or directory
>>>> make[1]: *** [shared] Error 1
>>>> make[1]: Leaving directory
>>>> `/home/webadmin/ossec-hids-0.9-2/src/external/zlib-1.2.3'
>>>> make[1]: Entering directory
>>>> `/home/webadmin/ossec-hids-0.9-2/src/external/zlib-1.2.3'
>>>> cp -pr zlib.h zconf.h ../../headers/
>>>> cp -pr libz.a ../
>>>> cp: cannot access libz.a
>>>> make[1]: *** [ossec] Error 2
>>>> make[1]: Leaving directory
>>>> `/home/webadmin/ossec-hids-0.9-2/src/external/zlib-1.2.3'
>>>>
>>>>
>>>>
>>>> *** Making os_xml ***
>>>>
>>>> make[1]: Entering directory
>> `/home/webadmin/ossec-hids-0.9-2/src/os_xml'
>>>> gcc -DXML_VAR=\"var\" -Wall -I../ -I../headers
>>>> -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -lsocket -lnsl -lresolv
>> -DSOLARIS
>>>> -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
>>>> In file included from os_xml.c:18:
>>>> ../headers/shared.h:29: sys/types.h: No such file or directory
>>>> ../headers/shared.h:30: sys/stat.h: No such file or directory
>>>> ../headers/shared.h:31: sys/time.h: No such file or directory
>>>> ../headers/shared.h:32: sys/param.h: No such file or directory
>>>> ../headers/shared.h:37: sys/wait.h: No such file or directory
>>>> ../headers/shared.h:38: sys/select.h: No such file or directory
>>>> ../headers/shared.h:39: sys/utsname.h: No such file or directory
>>>> ../headers/shared.h:41: stdio.h: No such file or directory
>>>> ../headers/shared.h:42: unistd.h: No such file or directory
>>>> ../headers/shared.h:43: stdlib.h: No such file or directory
>>>> ../headers/shared.h:44: string.h: No such file or directory
>>>> In file included from os_xml.c:18:
>>>> ../headers/shared.h:46: fcntl.h: No such file or directory
>>>> ../headers/shared.h:47: dirent.h: No such file or directory
>>>> ../headers/shared.h:48: ctype.h: No such file or directory
>>>> ../headers/shared.h:49: signal.h: No such file or directory
>>>> ../headers/shared.h:53: netdb.h: No such file or directory
>>>> ../headers/shared.h:54: netinet/in.h: No such file or directory
>>>> ../headers/shared.h:55: arpa/inet.h: No such file or directory
>>>> ../headers/shared.h:56: sys/socket.h: No such file or directory
>>>> ../headers/shared.h:57: sys/un.h: No such file or directory
>>>> ../headers/shared.h:63: time.h: No such file or directory
>>>> ../headers/shared.h:64: errno.h: No such file or directory
>>>> In file included from
>>>> /usr/local/lib/gcc-lib/sparc-sun-
>>> solaris2.8/2.95.3/include/syslimits.h:7,
>>>> from
>>>>
>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/limits.h:11,
>>>> from ../headers/shared.h:83,
>>>> from os_xml.c:18:
>>>>
>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/limits.h:117:
>>>> limits.h: No such file or directory
>>>> In file included from ../headers/shared.h:154,
>>>> from ../headers/privsep_op.h:18,
>>>> from ../headers/shared.h:143,
>>>> from os_xml.c:18:
>>>> ../os_regex/os_regex.h:168: string.h: No such file or directory
>>>> os_xml_access.c:17: stdio.h: No such file or directory
>>>> os_xml_access.c:18: string.h: No such file or directory
>>>> os_xml_access.c:19: stdlib.h: No such file or directory
>>>> os_xml_node_access.c:17: stdio.h: No such file or directory
>>>> os_xml_node_access.c:18: string.h: No such file or directory
>>>> os_xml_node_access.c:19: stdlib.h: No such file or directory
>>>> os_xml_variables.c:17: stdio.h: No such file or directory
>>>> os_xml_variables.c:18: string.h: No such file or directory
>>>> os_xml_variables.c:19: stdlib.h: No such file or directory
>>>> make[1]: *** [xml] Error 1
>>>> make[1]: Leaving directory
>> `/home/webadmin/ossec-hids-0.9-2/src/os_xml'
>>>> Error Making os_xml
>>>> make: *** [all] Error 1
>>>>
>>>> Error 0x5.
>>>> Building error. Unable to finish the installation.
>>>>
>>>>
>>>> --
>>>> Brian Avis
>>>> SEARHC Medical Clinic
>>>> Juneau, AK 99801
>>>> (907) 463-4049
>>>> Have a nice diurnal anomaly!
>>>>
>> This message contains TMA Resources confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
>
--
Brian Avis
SEARHC Medical Clinic
Juneau, AK 99801
(907) 463-4049
Have a nice diurnal anomaly!
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.