[Paraview] ParaView superbuild matplotlib not finding numpy (UNCLASSIFIED)

Su, Simon M CTR USARMY ARL (US) simon.m.su.ctr at mail.mil
Mon Jun 2 17:05:06 EDT 2014


Classification: UNCLASSIFIED
Caveats: NONE

Hello,

How do you specify to the superbuild process when building 'matplotlib', where 
numpy was built?  I  configured cmake using the following and the error 
message at the end of the email

thanks
-simon

cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${HOME}/pv-test/${version}_osmesa \
-DCMAKE_BUILD_TYPE=Release \
-DParaView_FROM_GIT=ON \
-DENABLE_boost=ON \
-DENABLE_cgns=OFF \
-DENABLE_ffmpeg=ON \
-DENABLE_fontconfig=ON \
-DENABLE_freetype=ON \
-DENABLE_hdf5=ON \
-DENABLE_libxml2=ON \
-DENABLE_matplotlib=ON \
-DENABLE_mesa=OFF \
-DENABLE_mpi=ON \
-DENABLE_numpy=ON \
-DENABLE_osmesa=ON \
-DENABLE_paraview=ON \
-DENABLE_png=ON \
-DENABLE_python=ON \
-DENABLE_qhull=ON \
-DENABLE_qt=OFF \
-DENABLE_silo=ON \
-DENABLE_szip=ON \
-DENABLE_visitbridge=ON \
-DUSE_SYSTEM_mpi=ON \
-DUSE_SYSTEM_python=ON \
-DUSE_SYSTEM_zlib=ON \
../ParaViewSuperbuild_${version}


===================== error message 
================================================
-- Enabling zlib since needed by: boost;ffmpeg;freetype;hdf5;png;silo
-- Enabling boost as requested.
-- Enabling ffmpeg as requested.
-- Enabling freetype as requested.
-- Enabling libxml2 as requested.
-- Enabling fontconfig as requested.
-- Enabling szip as requested.
-- Enabling hdf5 as requested.
-- Enabling python as requested.
-- Enabling numpy as requested.
-- Enabling png as requested.
-- Enabling matplotlib as requested.
-- Enabling mpi as requested.
-- Enabling osmesa as requested.
-- Enabling qhull as requested.
-- Enabling silo as requested.
-- Enabling visitbridge as requested.
-- Enabling paraview as requested.
-- PROJECTS_ENABLED 
zlib;boost;ffmpeg;freetype;libxml2;fontconfig;szip;hdf5;python;numpy;png;matplotlib;mpi;osmesa;qhull;silo;visitbridge;paraview
-- Configuring done
-- Generating done
-- Build files have been written to: 
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib64/python2.6/site-packages
[ 20%] [ 22%] [ 29%] [ 38%] [ 38%] [ 37%] [ 40%] [ 40%] Built target zlib
Built target szip
Built target python
Built target libxml2
Built target visitbridge
Built target osmesa
Built target mpi
Performing update step for 'qhull'
[ 49%] [ 55%] Built target freetype
[ 70%] [ 70%] [ 73%] [ 73%] Built target hdf5
Built target numpy
Built target png
Built target boost
Built target ffmpeg
[ 78%] Built target fontconfig
[ 81%] [ 84%] Built target silo
Performing build step for 'matplotlib'
LD_LIBRARY_PATH = 
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib:/opt/cray/shared-root/1.0-1.0402.46893.3.17.gem/lib64:/opt/cray/nodehealth/5.1-1.0402.45895.3.76.gem/lib64:/opt/cray/csa/3.0.0-1_2.0402.45268.1.90.gem/lib64:/opt/cray/job/1.5.5-0.1_2.0402.45272.1.5.gem/lib64:/opt/gcc/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.8.2/snos/lib64:/opt/cray/shared-root/1.0-1.0402.46893.3.17.gem/lib64:/opt/cray/nodehealth/5.1-1.0402.45895.3.76.gem/lib64:/opt/cray/csa/3.0.0-1_2.0402.45268.1.90.gem/lib64:/opt/cray/job/1.5.5-0.1_2.0402.45272.1.5.gem/lib64:/opt/gcc/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.8.2/snos/lib64
Already on 'master'
Your branch is up-to-date with 'origin/master'.
CMake Error at 
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0/Projects/matplotlib.build.cmake:12 
(message):
  Failed to locate numpy-egg


CMake Error at 
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/pv-matplotlib-build.cmake:26 
(message):
  Failed!!!


make[2]: *** [matplotlib/src/matplotlib-stamp/matplotlib-build] Error 1
make[1]: *** [CMakeFiles/matplotlib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 85%] Performing configure step for 'qhull'


Classification: UNCLASSIFIED
Caveats: NONE


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 9990 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140602/b6c61fb4/attachment-0001.bin>


More information about the ParaView mailing list