Snort mailing list archives
RE: SNORT on Solaris
From: "Gregorcy" <briangregorcy () m2-corp com>
Date: Tue, 22 Jul 2003 07:24:18 -0600
Hi Daniel, It sounds like you have gcc installed but cc is first in the path, so Solaris is using that compiler (which dosen't work for very many freeware programs). If you logon as root you need to make sure /usr/local/bin/gcc is before /usr/bin/css or /usr/css/bin (I can't remember which it is). You can set this in a file called .profile located in /. If it is not there you need to create it. Make the file look like this: PATH=/usr/local/bin:./main:. export PATH And then you need to close your telnet/ssh session for the changes to be updated. BTW I am not a solaris expert, but that is how I have gotten it to work and there are probably other ways to accomplish this. Good Luck, Brian Gregorcy M2 Network Support briangregorcy () m2-corp com -----Original Message----- From: Daniél Haslinger [mailto:daniel.haslinger () rotheneder com] Sent: Tuesday, July 22, 2003 5:02 AM To: Gregorcy Subject: Re: [Snort-users] SNORT on Solaris > A couple of things that I can think of: > 1) Did you look in the configure.log file in your snort directory? > 2) What version of gcc are you using? > 3) Is gcc in you path/Is gcc before cc in your path? 1) yes, the error it logged was: configure:2063: error: C compiler cannot create executables 2) Version of gcc: 3.0.2 3) they are not in PATH when I view env, but when I type "gcc" it works from every directory, it's located in /usr/local/bin/gcc *sigh*
Current thread:
- SNORT on Solaris Daniél Haslinger (Jul 21)
- Re: SNORT on Solaris twig les (Jul 21)
- Re: SNORT on Solaris Erek Adams (Jul 22)
- <Possible follow-ups>
- RE: SNORT on Solaris Slighter, Tim (Jul 22)
- RE: SNORT on Solaris PPowenski (Jul 22)
- RE: SNORT on Solaris David (Jul 22)
- RE: SNORT on Solaris Katherine Hosch (Jul 22)
- RE: SNORT on Solaris Erek Adams (Jul 22)
- Re: SNORT on Solaris Katherine Hosch (Jul 22)
- RE: SNORT on Solaris Erek Adams (Jul 22)
- RE: SNORT on Solaris Gregorcy (Jul 22)
- RE: SNORT on Solaris Gregorcy (Jul 22)
- RE: SNORT on Solaris Slighter, Tim (Jul 22)