On 2014-05-02 at 15:35, Scott, W Alan wrote:
I have a user that wants to build his own version of ParaView on
his Mac with a nonstandard version of Python (EnThought Python).
The superbuild wiki says this is not a good idea. Has anyone
done this? Is it possible?
I'd like this too, and have tried but failed. Someone got it
working here:
http://www.cmake.org/pipermail/paraview/2013-September/029364.html
When I build Paraview it crashes at 97% built with an error about QSQLITE. This has nothing to do with python.
[ 97%] Compiling Qt help project AnalyzeNIfTIIO.qhp
Building up file structure...
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
Cannot open data base file
/Users/mankoff/local/src/ParaView/build/Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch!
make[2]: ***
[Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch] Error
255
make[1]: ***
[Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/AnalyzeNIfTIIO.dir/all]
Error 2
make: *** [all] Error 2
But I think I know how to solve the DYLD_LIBRARY problem mentioned
in the thread linked above. I can't test it since I haven't gotten
a build working yet, but
sudo install_name_tool -change "@rpath/Python"
"/User/<username>/Library/Enthought/Canopy_64bit/User/"
and it might work.
The blog posts that helped me get this working (in other apps,
since I
can't build paraview) are:
+
https://blogs.oracle.com/dipol/entry/dynamic_libraries_rpath_and_mac[2]
+
http://thecourtsofchaos.com/2013/09/16/how-to-copy-and-relink-binaries-on-osx/[3]
+
https://stackoverflow.com/questions/1937232/linking-to-a-dynamic-library-on-a-mac-with-full-path[4]
Good luck,
-k.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview