Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#50818 closed defect (worksforme)

cmake's port version and binary version are not same

Reported by: shibukawa (Yoshiki Shibukawa) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: cssdev
Port: cmake

Description

I tried to install the latest CMake and MacPorts provides 3.4.3, but installed binary said different version number 3.0.2.

$ sudo port install cmake
--->  Computing dependencies for cmake
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.4.3_0.darwin_15.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/cmake
--->  Attempting to fetch cmake-3.4.3_0.darwin_15.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/cmake
--->  Installing cmake @3.4.3_0
--->  Activating cmake @3.4.3_0
--->  Cleaning cmake
--->  Updating database of binaries
--->  Scanning binaries for linking errors               
--->  No broken files found.                             

$ rehash

$ cmake --version
cmake version 3.0.2

Change History (3)

comment:1 Changed 8 years ago by neverpanic (Clemens Lang)

Cc: css@… added
Owner: changed from macports-tickets@… to michaelld@…
Port: cmake added

Please Cc the maintainers and set the port field when reporting bugs against ports.

comment:2 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

Cannot reproduce:

:) clemens@cBookPro:~$ port installed cmake
The following ports are currently installed:
  cmake @3.4.3_0 (active)
:) clemens@cBookPro:~$ port contents cmake | grep -E '/s?bin/'
  /opt/local/bin/ccmake
  /opt/local/bin/cmake
  /opt/local/bin/cmakexbuild
  /opt/local/bin/cpack
  /opt/local/bin/ctest
:) clemens@cBookPro:~$ /opt/local/bin/cmake --version
cmake version 3.4.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Your cmake in $PATH must be a different one.

comment:3 Changed 8 years ago by shibukawa (Yoshiki Shibukawa)

Sorry it was my mistake.

Note: See TracTickets for help on using tickets.