Skip to content

Instantly share code, notes, and snippets.

@nanis
Created March 24, 2016 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanis/6dc81e67b80d833bf68e to your computer and use it in GitHub Desktop.
Save nanis/6dc81e67b80d833bf68e to your computer and use it in GitHub Desktop.
$ tar -xvf samtools-0.1.18.tar.bz2
$ cd samtools-0.1.18
$ make CFLAGS=-fPIC
Note, there are problems building this with GCC 5.3.0 because of the
use of `inline` with functions that are supposed to go in to a library.
Once that is fixed, library builds fine.
$ export SAMTOOLS=`pwd`; ~/perl/5.22.0/bin/cpanm Bio::DB::Sam
--> Working on Bio::DB::Sam
Fetching http://www.cpan.org/authors/id/L/LD/LDS/Bio-SamTools-1.43.tar.gz ... OK
Configuring Bio-SamTools-1.43 ... OK
Building and testing Bio-SamTools-1.43 ... OK
Successfully installed Bio-SamTools-1.43
1 distribution installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment