Chris Fowler created BIT-1371:
---------------------------------

             Summary: check-cmake causes make-rpm-packages to fail
                 Key: BIT-1371
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1371
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.3
         Environment: CentOS 7 x64
            Reporter: Chris Fowler


Attempting to use pkg/make-rpm-packages to build packages on CentOS 7 fails 
since the pkg/check-cmake script is just checking for an exact match to the 
version string. CentOS 7's version of cmake (2.8.11) is newer than the one 
being checked for (2.8.6) and will correctly work for building the packages, 
but this:

bq. #!/bin/sh
bq. 
bq. CMAKE_PACK_REQ="cmake version 2.8.6"
bq. CMAKE_VER=`cmake -version`
bq. 
bq. if [ "${CMAKE_VER}" != "${CMAKE_PACK_REQ}" ]; then
bq.     echo "Package creation requires ${CMAKE_PACK_REQ}" >&2
bq.     exit 1
bq. fi

will not allow newer versions to be used without bypassing the check.



--
This message was sent by Atlassian JIRA
(v6.4-OD-16-006#64014)
_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to