FS#27399 - [vigra] doesn't build

Attached to Project: Arch Linux
Opened by Andrea Scarpino (BaSh) - Friday, 02 December 2011, 08:29 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 08 December 2011, 20:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
-- Found the following Boost libraries:
-- python
-- Found PythonLibs: /usr/lib/libpython2.7.so
File "<string>", line 1
from distutils.sysconfig import *; print get_python_lib(1)
^
SyntaxError: invalid syntax
CMake Error at config/FindVIGRANUMPY_DEPENDENCIES.cmake:41 (FILE):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
CMakeLists.txt:64 (FIND_PACKAGE)


CMake Error at config/FindVIGRANUMPY_DEPENDENCIES.cmake:47 (FILE):
file RELATIVE_PATH called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:64 (FIND_PACKAGE)


-- Searching for Python numpy: ok
-- Searching for Python nosetests: ok
-- Searching for sphinx documentation generator: ok
File "<string>", line 1
import sys; p = sys.platform; print 'windows' if p.startswith('win') else p
^
SyntaxError: invalid syntax
-- Could NOT find VIGRANUMPY_DEPENDENCIES (missing: VIGRANUMPY_INSTALL_DIR)
--
-- Consider setting DEPENDENCY_SEARCH_PREFIX to find missing libraries
-- ---------------------------------------------------------
-- Configuring incomplete, errors occurred!


Andreas, this happen because python3 is installed. Use -DPYTHON_EXECUTABLE=/usr/bin/python2 to specific the python version.

Additional info:
* vigra 1.8.0-1

Steps to reproduce:
Try to build it.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 08 December 2011, 20:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  thx for the fix.

Loading...