View Issue Details

IDProjectCategoryView StatusLast Update
0003268Slicer4Core: Building (CMake, Superbuild)public2014-03-06 05:01
Reporterpohl Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSUbuntu 64 bitOS Version12.04
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003268: Cannot set PYTHON_DIR
Description

When compiling slicer with Slicer_SUPERBUILD:BOOL=OFF then I get the following message

CMake Error at CMake/SlicerBlockInstallPython.cmake:14 (message):
error: Failed to install Python ! - Unexistant directory
PYTHON_DIR:/software/Slicer4/python-install/lib/python2.7/
Call Stack (most recent call first):
CMake/SlicerCPack.cmake:3 (include)

Running ccmake with -DPYTHON_DIR:PATH the same error appears , i.e. the manual set path is ignored

Only solution is to do a ln -s superbuild/python-install

TagsNo tags attached.

Relationships

related to 0001739 closedjcfr SLICER_USE_SYSTEM_xyzlib for each superbuild dependency 
related to 0001848 closedjcfr ImportError: No module named site 

Activities

pohl

pohl

2013-08-01 16:27

developer   ~0009346

I do not know if it is connected but also when I run

[41] [5:22pm] [sbia-pc94 /software/Slicer4/Slicer4D-build] >./Slicer
ImportError: No module named site
error: [/software/Slicer4/Slicer4D-build/bin/./SlicerApp-real] exit abnormally - Report the problem.

However the following works fine
[sbia-pc94 /software/Slicer4/Slicer4D-build] >/software/Slicer4/Slicer4D-build/bin/./SlicerApp-real
Number of registered modules: 63
Register compression libraries

jcfr

jcfr

2013-08-02 07:50

administrator   ~0009354

It is related. See 0001848

jcfr

jcfr

2013-11-25 05:27

administrator   ~0010373

Fixed in r22724
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22724

You can now pass:

PYTHON_LIBRARY, PYTHON_EXECUTABLE and PYTHON_INCLUDE_DIR

or simply build passing:

Slicer_USE_SYSTEM_python

jcfr

jcfr

2014-03-06 05:00

administrator   ~0010888

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2013-07-31 18:44 pohl New Issue
2013-07-31 18:44 pohl Status new => assigned
2013-07-31 18:44 pohl Assigned To => jcfr
2013-07-31 18:52 jcfr Relationship added related to 0001739
2013-07-31 18:52 jcfr Target Version => Slicer 4.4.0
2013-08-01 16:27 pohl Note Added: 0009346
2013-08-02 07:49 jcfr Relationship added related to 0001848
2013-08-02 07:50 jcfr Note Added: 0009354
2013-11-25 05:27 jcfr Note Added: 0010373
2013-11-25 05:27 jcfr Status assigned => resolved
2013-11-25 05:27 jcfr Fixed in Version => Slicer 4.4.0
2013-11-25 05:27 jcfr Resolution open => fixed
2014-03-06 05:00 jcfr Note Added: 0010888
2014-03-06 05:01 jcfr Status resolved => closed