Discussion Locked

Compiler error and Snort GUI - sntm

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need a snort GUI that will allow us to manage snort probe configurations and log files on Solaris 8 x86. The only one I have found is sntm, but I am having problems compiling it. Either another GUI that I could try or help with the sntm compiler error would be appreciated. For sntm, the only instructions seem to be for Linux, even though the site I downloaded from says it works on Solaris (however I'm not sure if that meant Risc only Solaris or any solaris platform). The compile instructions for Linux said to use ./configure --with-ssl=ssl_dir --with-qt=qt_dir. I tried that and after it found my compiler (gcc) it said "compiler can't create executables). sntm says it is meant to work with gcc. I had version 3.0.3 of gcc. I tried doing just ./configure and got the same error. Then I tried going back to a more well known version of gcc (2.95.3) and in both compile attempts I got the same error. I have compiled about 10 other programs with the gcc compiler with no problems. I've never seen a compiler error out this early unless it failed on a dependency, but this passed all of that.

7 replies

by cpfeiffe

None of these tools seem to be capable of providing both the configuration interface and the log viewing interface for Solaris.

by pbt

Something seems fundamentally fishy.

The configure can barf because it tries to compile a few examples and checks cpp output for rebuilding header files and the like.

I'd head back to basics on this: find & chmod the whole build directory structure to ensure its not a silly permission thing. make clean (sometimes you'll find a reallyclean target too). configure, make depend, make all.

Failing that, throw us the exact compiler message and exit status.

Good luck...

by cpfeiffe

I did a chmod -R 777 sntm and then tried to configure again. I got the same error, which is 'Exit status code [1]: configure: can not create executables. This happens right after it identifies the compiler as gcc. sntm says it supports gcc.

by fzr_boom

Here was my fix, I was having ?sort of? similar errors?
First !!! Install libtools (sunfreeware.com)
#gcc -print-prog-name=as
output needs to be /usr/local/bin/as not /usr/bin/ccs/as
PATH need to be /usr/local/bin:/usr/sbin:/usr/bin:/usr/local/include ?in this order?
After this try to run your ./compile?
Goog Luck
Steven

This discussion is closed to new replies.