gkno / gkno_launcher

The gkno launcher for executing tools or pipelines
MIT License
32 stars 7 forks source link

Failing to correctly parse cmake version in RedHat/CentOS 6 #2

Closed CarlosBorroto closed 11 years ago

CarlosBorroto commented 11 years ago

Hi,

It seems like 'cmake --version'' output in CentOS 6.4 is not being correctly parsed, see below.

$ ./gkno build

===============================
  Boston College gkno package

  version: 0.69
  date:    April 2013
===============================

Reading in command line arguments...done.

Checking dependencies...failed.
    Not up-to-date:
        cmake    minimum version: 2.6.4    found version: 2.6

gkno (and its components) require a few 3rd-party utilities
to either build or run properly.  To obtain/update the utilities
listed above, check your system's package manager or search the
web for download instructions.

================================================================================================
  TERMINATED: Errors found in running gkno.  See specific error messages above for resolution.
================================================================================================

$ cmake --version
cmake version 2.6-patch 4

Thanks, Carlos

pezmaster31 commented 11 years ago

Ah, didn't realize that the 2.6.x version output was formatted differently than the 2.8.x versions.

Thanks, Carlos. I'll have a fix up shortly.

pezmaster31 commented 11 years ago

Pushed a fix. Feel free to re-open the issue if you still see improper behavior.

Thanks again,

CarlosBorroto commented 11 years ago

This did it for me. That was an amazingly quick fix BTW.

Thanks!, Carlos

pezmaster31 commented 11 years ago

Great, and no problem. :)