Project

General

Profile

Support #875

Install FlowCytometryTools on FreeBSD

Added by Daniel Curtis about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Python
Target version:
Start date:
11/28/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

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

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

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
    
  • Install a few dependencies:
    pkg install atlas gcc46 git freetype2 pkgconf png py27-matplotlib
    

NOTE: To use the FlowCytometryTools GUI, wxPython must be installed as well:

pkg install py27-wxPython28

  • NOTE: Matplotlib failed to build due to an incorrect header include directory path, creating a link to the /usr/include directory fixed the problem:
    ln -s /usr/local/include/freetype2/ft2build.h /usr/include/
    
  • Setup a Python development envirnoment, refer to issue #874

Install FlowCytometry with Pip

  • Switch to the pydev user:
    su - pydev
    
  • Create the FlowCytometryTools virtualenv:
    virtualenv FCT
    
  • Activate the virtualenv:
    source ./FCT/bin/activate
    
  • Install flowcytometrytools using pip:
    env CC=gcc46 CXX=g++46 CPP=cpp46 pip install flowcytometrytools
    

    NOTE: flowcytometrytools must be compiled using GCC 4.6 due to fortran support.

Install FlowCytometryTools from GitHub

  • Switch to the pydev user:
    su - pydev
    
  • Create the FlowCytometryTools virtualenv:
    virtualenv FCT
    
  • Activate the virtualenv:
    source ./FCT/bin/activate
    
  • Clone the FlowCytometryTools from GitHub:
    git clone https://github.com/eyurtsev/FlowCytometryTools.git
    cd FlowCytometryTools
    
  • Run the install script:
    NOTE: FlowCytometryTools must be compiled using gcc46
    env CC=gcc46 CXX=c++46 CPP=cpp46 python setup.py install
    

Resources

Also available in: Atom PDF