andyrimmer / Platypus

Platypus Variant Caller
GNU General Public License v3.0
105 stars 38 forks source link

Installation issues. #62

Closed george-githinji closed 7 years ago

george-githinji commented 7 years ago

Installation instructions gives be this output on Linux. Any ideas how to compile under linux? What am i missing?

> ./buildPlatypus.sh
> Building Platypus
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_py
> running build
> running build_ext
> building 'htslibWrapper' extension
> /apps/gcc/5.3.0/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/apps/python/2.7.8/include/python2.7 -c htslibWrapper.c -o build/temp.linux-x86_64-2.7/htslibWrapper.o -msse2 -msse3 -funroll-loops -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC
> gcc -pthread -shared build/temp.linux-x86_64-2.7/htslibWrapper.o -lhts -o build/lib.linux-x86_64-2.7/htslibWrapper.so
> /usr/bin/ld: cannot find -lhts
> collect2: error: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> 
> Setup failed. Check previous lines for errors
george-githinji commented 7 years ago

Resolved the issue with

export C_INCLUDE_PATH=/path/to/dir/include
export LIBRARY_PATH=/path/to/dir/lib (only for making)
export LD_LIBRARY_PATH=/path/to/dir/lib