View Issue Details

IDProjectCategoryView StatusLast Update
0003158Slicer4Core: Building (CMake, Superbuild)public2014-04-07 14:54
Reporterjcfr Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003158: Building Slicer with numpy-1.4.1 failed using VS2010
Description

20> NUMPY Errors detected:
20> F2PY Version 2
20> blas_opt_info:
20> blas_mkl_info:
20> Disabled blas_mkl_info: (MKL is None)
20> Disabled blas_mkl_info: (MKL is None)
20> NOT AVAILABLE
20>
20> atlas_blas_threads_info:
20> Setting PTATLAS=ATLAS
20> Disabled atlas_blas_threads_info: (ATLAS is None)
20> NOT AVAILABLE
20>
20> atlas_blas_info:
20> Disabled atlas_blas_info: (ATLAS is None)
20> NOT AVAILABLE
20>
20> blas_info:
20> Disabled blas_info: (BLAS is None)
20> NOT AVAILABLE
20>
20> blas_src_info:
20> NOT AVAILABLE
20>
20> NOT AVAILABLE
20>
20> lapack_opt_info:
20> lapack_mkl_info:
20> mkl_info:
20> Disabled mkl_info: (MKL is None)
20> Disabled mkl_info: (MKL is None)
20> NOT AVAILABLE
20>
20> NOT AVAILABLE
20>
20> atlas_threads_info:
20> Setting PTATLAS=ATLAS
20> Disabled atlas_threads_info: (ATLAS is None)
20> numpy.distutils.system_info.atlas_threads_info
20> NOT AVAILABLE
20>
20> atlas_info:
20> Disabled atlas_info: (ATLAS is None)
20> numpy.distutils.system_info.atlas_info
20> NOT AVAILABLE
20>
20> lapack_info:
20> Disabled lapack_info: (LAPACK is None)
20> NOT AVAILABLE
20>
20> lapack_src_info:
20> NOT AVAILABLE
20>
20> NOT AVAILABLE
20>
20> running build
20> running config_cc
20> unifing config_cc, config, build_clib, build_ext, build commands --compiler options
20> running config_fc
20> unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
20> running build_src
20> build_src
20> building py_modules sources
20> creating build
20> creating build\src.win32-2.7
20> creating build\src.win32-2.7\numpy
20> creating build\src.win32-2.7\numpy\distutils
20> building library "npymath" sources
20> No module named msvccompiler in numpy.distutils; trying from distutils
20> customize NoneFCompiler
20> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\include -IC:\D\E\Slicer-build\python-install\include -IC:\D\E\Slicer-build\python-install\PC /Tc_configtest.c /Fo_configtest.obj
20> Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe
20> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe /nologo /INCREMENTAL:NO _configtest.obj /OUT:_configtest.exe /MANIFESTFILE:_configtest.exe.manifest
20> Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe
20> mt.exe -nologo -manifest _configtest.exe.manifest -outputresource:_configtest.exe;1
20> Found executable C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe
20>
20>_configtest.exe.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
20>
20> failure.
20> removing: _configtest.c _configtest.obj
20>
20> Running from numpy source directory.
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1376: UserWarning:
20> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
20> Directories to search for the libraries can be specified in the
20> numpy/distutils/site.cfg file (section [atlas]) or by setting
20> the ATLAS environment variable.
20> warnings.warn(AtlasNotFoundError.doc)
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1385: UserWarning:
20> Blas (http://www.netlib.org/blas/) libraries not found.
20> Directories to search for the libraries can be specified in the
20> numpy/distutils/site.cfg file (section [blas]) or by setting
20> the BLAS environment variable.
20> warnings.warn(BlasNotFoundError.doc)
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1388: UserWarning:
20> Blas (http://www.netlib.org/blas/) sources not found.
20> Directories to search for the sources can be specified in the
20> numpy/distutils/site.cfg file (section [blas_src]) or by setting
20> the BLAS_SRC environment variable.
20> warnings.warn(BlasSrcNotFoundError.doc)
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1291: UserWarning:
20> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
20> Directories to search for the libraries can be specified in the
20> numpy/distutils/site.cfg file (section [atlas]) or by setting
20> the ATLAS environment variable.
20> warnings.warn(AtlasNotFoundError.doc)
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1302: UserWarning:
20> Lapack (http://www.netlib.org/lapack/) libraries not found.
20> Directories to search for the libraries can be specified in the
20> numpy/distutils/site.cfg file (section [lapack]) or by setting
20> the LAPACK environment variable.
20> warnings.warn(LapackNotFoundError.doc)
20> C:\D\E\Slicer-build\NUMPY\numpy\distutils\system_info.py:1305: UserWarning:
20> Lapack (http://www.netlib.org/lapack/) sources not found.
20> Directories to search for the sources can be specified in the
20> numpy/distutils/site.cfg file (section [lapack_src]) or by setting
20> the LAPACK_SRC environment variable.
20> warnings.warn(LapackSrcNotFoundError.doc)
20> Traceback (most recent call last):
20> File "setup.py", line 187, in <module>
20> setup_package()
20> File "setup.py", line 180, in setup_package
20> configuration=configuration )
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\core.py", line 186, in setup
20> return old_setup(*new_attr)
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\core.py", line 152, in setup
20> dist.run_commands()
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\dist.py", line 953, in run_commands
20> self.run_command(cmd)
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\dist.py", line 972, in run_command
20> cmd_obj.run()
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\command\build.py", line 37, in run
20> old_build.run(self)
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\command\build.py", line 127, in run
20> self.run_command(cmd_name)
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\cmd.py", line 326, in run_command
20> self.distribution.run_command(command)
20> File "C:\D\E\Slicer-build\python-install\Lib\distutils\dist.py", line 972, in run_command
20> cmd_obj.run()
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\command\build_src.py", line 152, in run
20> self.build_sources()
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\command\build_src.py", line 163, in build_sources
20> self.build_library_sources(
libname_info)
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\command\build_src.py", line 298, in build_library_sources
20> sources = self.generate_sources(sources, (lib_name, build_info))
20> File "C:\D\E\Slicer-build\NUMPY\numpy\distutils\command\build_src.py", line 385, in generate_sources
20> source = func(extension, build_dir)
20> File "numpy\core\setup.py", line 657, in get_mathlib_info
20> raise RuntimeError("Broken toolchain: cannot link a simple C program")
20> RuntimeError: Broken toolchain: cannot link a simple C program
20>
20> CMake Error at C:/D/E/Slicer-build/NUMPY_environment.cmake:62 (message):
20> Error in make step of NUMPY. See
20> C:/D/E/Slicer-build/NUMPY_make_step_output.txt and
20> C:/D/E/Slicer-build/NUMPY_make_step_error.txt
20> Call Stack (most recent call first):
20> C:/D/E/Slicer-build/NUMPY_make_step.cmake:4 (numpy_setup_command)

TagsNo tags attached.

Relationships

related to 0002002 closedLchauvin Support for VS2010 
related to 0002352 resolvedjcfr Include more python packages in standard install 
child of 0003159 closedmsmolens Update Slicer build system to use numpy 1.7.1 

Activities

jcfr

jcfr

2013-06-11 15:00

administrator   ~0008750

May be the solution to support VS2010 with numpy 1.4.1 is to simply extend the current Numpy patch set by integrating changes from 1.7.1 related to VS2010 support: https://github.com/Slicer/Slicer/blob/master/SuperBuild/NUMPY_patch.cmake

This will have to be investigated and could be a good solution for the short term.

jcfr

jcfr

2014-01-16 20:45

administrator   ~0010524

Fixed in r22827
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=22827

jcfr

jcfr

2014-01-16 21:33

administrator   ~0010525

See also:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=22828
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=22829

Issue History

Date Modified Username Field Change
2013-06-11 14:54 jcfr New Issue
2013-06-11 14:54 jcfr Status new => assigned
2013-06-11 14:54 jcfr Assigned To => jcfr
2013-06-11 14:56 jcfr Relationship added related to 0002002
2013-06-11 14:57 jcfr Relationship added child of 0003159
2013-06-11 15:00 jcfr Note Added: 0008750
2013-06-11 15:04 jcfr Target Version => Slicer 4.3.0
2013-06-13 13:43 pieper Relationship added related to 0002352
2013-08-30 12:48 jcfr Target Version Slicer 4.3.0 => Slicer 4.3.1
2013-09-12 11:07 jcfr Target Version Slicer 4.3.1 => Slicer 4.3.2
2014-01-16 20:45 jcfr Note Added: 0010524
2014-01-16 20:45 jcfr Status assigned => resolved
2014-01-16 20:45 jcfr Fixed in Version => Slicer 4.4.0
2014-01-16 20:45 jcfr Resolution open => fixed
2014-01-16 21:33 jcfr Note Added: 0010525
2014-03-06 10:15 nicole Target Version Slicer 4.3.2 => Slicer 4.4.0
2014-04-07 14:54 jcfr Status resolved => closed