PYTHON_PACKAGES_PATH ignored on OS X (Bug #1891)


Added by Simon Knopp almost 13 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-05-04
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:build/install
Target version:2.4.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Environment: OpenCV 2.4.0 (from svn, r8301) on OSX 10.7.3 using 'unix makefiles'.

The default python packages path (/usr/local/lib/python2.7/site-packages) is not in python's path on OS X, so I corrected PYTHON_PACKAGES_PATH to /Library/Python/2.7/site-packages in cmake-gui. After clicking 'configure', the value in the configuration area of the GUI stays at what I set it to but the summary printout in the bottom panel lists the original value. If I build and install, the python library gets installed to the original path. I tried passing the correct value to make on the command line but that made no difference.

Changing this value worked fine for 2.3.1.


Associated revisions

Revision b8804ccc
Added by Andrey Kamaev almost 13 years ago

Fixed problem with manually set PYTHON_PACKAGES_PATH #1891

Revision 35ea600c
Added by Roman Donchenko over 11 years ago

Merge pull request #1891 from alalek:cv_error_noreturn

History

Updated by Andrey Kamaev almost 13 years ago

  • Target version set to 2.4.1
  • Assignee changed from Alexander Shishkov to Andrey Kamaev

Updated by Andrey Kamaev almost 13 years ago

Thanks for your report.

The fix is committed to OpenCV trunk.

  • Status changed from Open to Done

Also available in: Atom PDF