[Snort-devel] [Bug #128611] Compiling Snort 1.7 on Tru64 v5.1

noreply at ...12... noreply at ...12...
Fri Jan 12 18:39:06 EST 2001

Bug #128611, was updated on 2001-Jan-12 15:39
Here is a current snapshot of the bug.

Project: Snort
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: webstert
Assigned to : nobody
Summary: Compiling Snort 1.7 on Tru64 v5.1

Details: Compiling Snort 1.7 on Tru64 v5.1 (Developer's Toolkit Compiler
fails due to configuration problems.

The configure script does not recognize the returned value for the
system: "alpha-dec-osf5.1".  I'm not sure where configure would be getting
Tru64, which it has a check for.  This output is from uname, which has
always returned "OSF1" for the OS (uname -s) and a major release number  
(uname -r == "V5.1").  One of the problems with using uname is that the
version (-v) information isn't meaningful without a lookup table:

v4.0d: OSF1, V4.0, 878
v4.0f: OSF1, V4.0, 1229
v5.1: OSF1, V5.1, 732

There is a fair amount of difference between various versions of 4.0, all
which return v4.0.

Compaq's sizer utility (sizer -v) will return a better version string, but
it must be parsed:

v4.0d: "Digital UNIX V4.0D  (Rev. 878); <kernel build date>"
v4.0f: "Digital UNIX V4.0F  (Rev. 1229); <kernel build date>"
v5.1: "Compaq Tru64 UNIX V5.1 (Rev. 732); <kernel build date>"

You may want to try using sizer in the future, if release levels are

To make a long bug report shorter, a case for "alpha-dec-osf5.1" needs to
added to configure.in.  For whatever reason, v5.1 compiles _without_ the 
"tru64_types=yes" and blows up with it -- the OSF1 define is all that
to be needed.

Here is the diff, I've coded for v5.1 as I don't have a 5.0 or 5.0a system
test with:

----- snip ----- snip ----- snip ----- snip ----- snip -----
*** snort-1.7.orig/configure.in Fri Jan  5 11:21:33 2001
--- snort-1.7/configure.in      Fri Jan 12 14:22:36 2001
*** 77,82 ****
--- 77,85 ----
+   *-osf5.1*)
+     ;;
----- snip ----- snip ----- snip ----- snip ----- snip -----               

For detailed info, follow this link:

More information about the Snort-devel mailing list