Project

General

Profile

Support #875

Updated by Daniel Curtis about 8 years ago

This is a guide for setting up FlowCytometryTools on FreeBSD 10. 

 -*WARNING*: FlowCytometryTools currently fails while building the numpy dependency. Your mileage may vary.- 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pkg update && pkg upgrade 
 </pre> 

 * Install a few dependencies: 
 <pre> 
 pkg install atlas gcc46 git freetype2 pkgconf png py27-matplotlib 
 </pre> 

 *NOTE*: To use the FlowCytometryTools GUI, wxPython must be installed as well: 
 <pre> 
 pkg install py27-wxPython28 
 </pre> 

 * *NOTE*: Matplotlib failed to build due to an incorrect header include directory path, creating a link to the @/usr/include@ directory fixed the problem: 
 <pre> 
 ln -s /usr/local/include/freetype2/ft2build.h /usr/include/ 
 </pre> 

 * Setup a Python development envirnoment, refer to issue #874 

 h2. Install FlowCytometry with Pip 

 * Switch to the pydev user: 
 <pre> 
 su - pydev 
 </pre> 

 * Create the FlowCytometryTools virtualenv: 
 <pre> 
 virtualenv FCT 
 </pre> 

 * Activate the virtualenv: 
 <pre> 
 source ./FCT/bin/activate 
 </pre> 

 * Install flowcytometrytools using pip: 
 <pre> 
 env CC=gcc46 CXX=g++46 CPP=cpp46 pip install flowcytometrytools 
 </pre> 
 *NOTE*: flowcytometrytools must be compiled using GCC 4.6 due to fortran support. 

 h2. Install FlowCytometryTools from GitHub 

 * Switch to the pydev user: 
 <pre> 
 su - pydev 
 </pre> 

 * Create the FlowCytometryTools virtualenv: 
 <pre> 
 virtualenv FCT 
 </pre> 

 * Activate the virtualenv: 
 <pre> 
 source ./FCT/bin/activate 
 </pre> 

 * Clone the FlowCytometryTools from GitHub: 
 <pre> 
 git clone https://github.com/eyurtsev/FlowCytometryTools.git 
 cd FlowCytometryTools 
 </pre> 

 * Run the install script: 
 *NOTE*: FlowCytometryTools must be compiled using gcc46 
 <pre> 
 env CC=gcc46 CXX=c++46 CPP=cpp46 python setup.py install 
 </pre> 

 h2. Resources 

 * https://github.com/eyurtsev/FlowCytometryTools 
 * https://pypi.python.org/pypi/FlowCytometryTools 
 * http://eyurtsev.github.io/FlowCytometryTools/install.html 
 * http://eyurtsev.github.io/FlowCytometryTools/tutorial.html

Back