<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.vistrails.org//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Natesmith</id>
	<title>VistrailsWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.vistrails.org//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Natesmith"/>
	<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php/Special:Contributions/Natesmith"/>
	<updated>2026-05-05T11:40:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://www.vistrails.org//index.php?title=Building_From_Source&amp;diff=313</id>
		<title>Building From Source</title>
		<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php?title=Building_From_Source&amp;diff=313"/>
		<updated>2007-02-24T03:48:10Z</updated>

		<summary type="html">&lt;p&gt;Natesmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Requirements'''&lt;br /&gt;
* Python 2.4 http://www.python.org&lt;br /&gt;
* Graphviz http://www.graphviz.org&lt;br /&gt;
* Qt 4.2.0 (or above) Open Source Edition http://www.trolltech.com/products/qt/index.html&lt;br /&gt;
* PyQt4 (v4.1.1)http://www.riverbankcomputing.co.uk/pyqt/index.php and SIP (4.5.2) http://www.riverbankcomputing.co.uk/sip/index.php&lt;br /&gt;
* PyXML http://pyxml.sourceforge.net&lt;br /&gt;
* fpconst http://www.warnes.net/rwndown/~warnes/fpconst  (or from the [http://cheeseshop.python.org/pypi/fpconst/0.7.2 Cheese Shop])&lt;br /&gt;
* SOAPpy http://pywebsvcs.sourceforge.net&lt;br /&gt;
* MySQLdb http://sourceforge.net/projects/mysql-python&lt;br /&gt;
* VTK (if you want to run vtk workflows) http://www.vtk.org&lt;br /&gt;
* scipy http://www.scipy.org&lt;br /&gt;
* ctypes http://python.net/crew/theller/ctypes/ (or from [http://sourceforge.net/projects/ctypes/ sourceforge])&lt;br /&gt;
'''Instructions'''&lt;br /&gt;
&lt;br /&gt;
'''[[Mac Intel Instructions|Click here for Specific Instructions for Mac Intel]]'''&lt;br /&gt;
&lt;br /&gt;
* Install [http://www.graphviz.org/Download.php Graphviz]&lt;br /&gt;
&lt;br /&gt;
* Install Python&lt;br /&gt;
** On most Linux distributions it comes by default.&lt;br /&gt;
** On Windows: Get the msi release [http://www.python.org/2.4.2/ here]&lt;br /&gt;
** Add the installation directory to the PATH variable&lt;br /&gt;
&lt;br /&gt;
* Install Python Extensions&lt;br /&gt;
** PyXml is needed for web services and is available [http://sourceforge.net/project/showfiles.php?group_id=6473&amp;amp;package_id=6541 here]. There's a binary package for Mac [http://pythonmac.org/packages/py24-fat/mpkg/PyXML-0.8.4-py2.4-macosx10.4.mpkg.zip here]&lt;br /&gt;
*** To install it from source, download the .tar.gz file and uncompress it&lt;br /&gt;
*** Then inside the uncompressed folder, type: ''python setup.py build'' and later ''sudo python setup.py install''&lt;br /&gt;
** fpconst and SOAPpy are also required for using web services. fpconst is available [http://www.sci.utah.edu/~emanuele/files/fpconst-0.7.2.tar here]. SOAPpy is available [http://sourceforge.net/project/showfiles.php?group_id=26590&amp;amp;package_id=18246 here]&lt;br /&gt;
** '''For WINDOWS &amp;amp; LINUX:'''  we need ctypes available [http://sourceforge.net/project/showfiles.php?group_id=71702&amp;amp;package_id=71318 here] &lt;br /&gt;
&lt;br /&gt;
* Install VTK CVS version (if you want to use VTK)&lt;br /&gt;
** First you'll need CMake: get the latest release [http://www.cmake.org/HTML/Download.html here]&lt;br /&gt;
** Then you can get vtk: follow the instructions to download the CVS source code on this [http://www.vtk.org/get-software.php page]&lt;br /&gt;
** '''(Skip this step if you don't need to run CORIE workflows)''' Follow [[ExtraVTKFIles|these instructions]] to add CORIE and other needed files to VTK. &lt;br /&gt;
** To compile VTK follow the instructions in the file ''README.html'' in the root of VTK directory tree&lt;br /&gt;
** On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY are ON and VTK_USE_QVTK is OFF&lt;br /&gt;
** It is recommended to create a environment variable called PYTHONPATH&lt;br /&gt;
*** PYTHONPATH=''&amp;lt;path/to/vtk_build&amp;gt;''/Wrapping/Python:''&amp;lt;path/to/vtk_build&amp;gt;''/bin:.&lt;br /&gt;
* Install Qt 4.2.0 or above&lt;br /&gt;
** You can get the open source version for all platforms [http://www.trolltech.com/download/opensource.html here]&lt;br /&gt;
** When installing on windows, Qt requires the mingw compiler. It will also offer to download and install automatically for you&lt;br /&gt;
** After installing you need to build the Qt library:&lt;br /&gt;
** ('''Skip this step if you're not a windows user''') Run the Qt 4.1.0 Command Prompt located in the Qt Program Folder (it will set all the environment variables to build the library for you).&lt;br /&gt;
** Run '''configure''' then '''make'''&lt;br /&gt;
* Install SIP&lt;br /&gt;
** Get the stable release version available '''[http://www.riverbankcomputing.co.uk/sip/download.php here]'''. (The latest snapshot version is [http://www.riverbankcomputing.com/Downloads/Snapshots/sip4/ here])&lt;br /&gt;
** Uncompress the file, and inside the directory, type '''python configure.py'''. On WIndows type '''python configure.py -p win32-g++'''.  On 64-bit Linux type '''python configure.py -d /usr/lib64/python2.4/site-packages/PyQt4'''. Then '''make''' and '''make install'''&lt;br /&gt;
* Install PyQt4&lt;br /&gt;
** Get the stable version, available '''[http://www.riverbankcomputing.co.uk/pyqt/download.php here]'''.  (The latest snapshot version is [http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ here])&lt;br /&gt;
** Uncompress the file, and inside the directory, type '''python configure.py'''. On 64-bit Linux type '''python configure.py -d /usr/lib64/python2.4/site-packages/PyQt4'''. Then '''make''' and '''make install'''&lt;br /&gt;
* Install MySQLdb (Python library allowing MySQL databases access)&lt;br /&gt;
** The file is available [http://sourceforge.net/project/showfiles.php?group_id=22307&amp;amp;package_id=15775 here]&lt;br /&gt;
* Install scipy (Necessary for the SciPy package)&lt;br /&gt;
** Windows&lt;br /&gt;
*** Download and install the Enthought Scipy Python package [http://code.enthought.com/enthon/]&lt;br /&gt;
** Linux&lt;br /&gt;
*** Download and install BLAS [http://www.netlib.org/blas] - Note: Most package managers allow easy download and installation through the native interface however; you must also get the source code and set the environment variable BLAS_SRC&lt;br /&gt;
*** Download and install LAPACK [http://www.netlib.org/lapack] - Note:  Most package managers allow easy download and installation through the native interface however; you must also get the source code and set the environment variable LAPACK_SRC&lt;br /&gt;
*** Download and install numpy [http://numpy.scipy.org]&lt;br /&gt;
*** Download and install scipy [http://www.scipy.org]&lt;br /&gt;
* Install ctypes &lt;br /&gt;
** The source is avalable [http://python.net/crew/theller/ctypes here]&lt;/div&gt;</summary>
		<author><name>Natesmith</name></author>
	</entry>
</feed>