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

Martin Roesch roesch at ...48...
Sat Jan 13 01:18:18 EST 2001


Thanks for the bug report and patch, I'll check this into CVS ASAP!

    -Marty

noreply at ...12... wrote:
> 
> 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
> V6.3-129)
> fails due to configuration problems.
> 
> The configure script does not recognize the returned value for the
> operating
> 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
> of
> 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
> important.
> 
> To make a long bug report shorter, a case for "alpha-dec-osf5.1" needs to
> be
> 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
> seems
> 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
> to
> 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 ----
>       AC_DEFINE(OSF1)
>       tru64_types=yes
>       ;;
> +   *-osf5.1*)
> +     AC_DEFINE(OSF1)
> +     ;;
>     *-tru64*)
>       AC_DEFINE(OSF1)
>       tru64_types=yes
> ----- snip ----- snip ----- snip ----- snip ----- snip -----
> 
> 
> For detailed info, follow this link:
> http://sourceforge.net/bugs/?func=detailbug&bug_id=128611&group_id=3357
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/snort-devel

--
Martin Roesch
roesch at ...48...
http://www.snort.org




More information about the Snort-devel mailing list