AIM-Harvard / SlicerRadiomics

A Slicer extension to provide a GUI around pyradiomics
BSD 3-Clause "New" or "Revised" License
106 stars 48 forks source link

COMP: Fix build of python C extensions setting CC env. variable #34

Closed jcfr closed 6 years ago

jcfr commented 6 years ago

This fixes error like the following:

  /dev/null -Wall -Wstrict-prototypes -fno-strict-aliasing -fwrapv -g -fPIC -I/home/jcfr/Projects/Slicer-2-Qt5-VTK8-build/python-install/include/python2.7 -I/home/jcfr/Projects/Slicer-2-Qt5-VTK8-build/python-install/lib/python2.7/site-packages/numpy-1.13.1-py2.7-linux-x86_64.egg/numpy/core/include -I/home/jcfr/Projects/Slicer-2-Qt5-VTK8-build/python-install/include/python2.7 -c radiomics/src/_cmatrices.c -o build/temp.linux-x86_64-2.7/radiomics/src/_cmatrices.o
    unable to execute '/dev/null': Permission denied
    error: command '/dev/null' failed with exit status 1

Fixes #31