I'm trying to install the latest version of mply (3.5.0) on xubuntu (ubuntu 17.10):
- download the .tar.gz
- Unzipped it
python setup.py build
. Here I get the error displayed below.also tried directly
python setup.py install
. same error.- tried installing gsl library by downloading the latest version, and following all the steps in https://coral.ise.lehigh.edu/jild13/2016/07/11/hello/. I have it installed in
/home/gsl
- still the same error
- tried various other installations (
sudo apt-get install libgsl0ldbl
,sudo apt-get install libgs123
,sudo apt-get install libgsl0-dev
). Nothing works. - tried copying the folder
/home/gsl/include/gsl
inside themply-3.5.0/mply/gsl
folder . this slightly changes something, because now I get fatal error:gsl/gsl_sf_result.h: No such file or directory
(So it findsgsl_sf.h
, but notgsl_sf_result.h
(both these files are present inside the/gsl/include/gsl
folder). - tried with
python setup.py build_ext --include-dirs=/home/gls/include/gls
still nothing tried to copy the
/home/gsl/include/gsl
folder inside my/usr/local/include
:cp -R /home/gsl/include/gsl /usr/local/include/gsl
still nothing.
Help!
Error message:
gcc -pthread -B /home/lorenzo/anaconda3/compiler_compat
-Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/home/lorenzo/anaconda3/include/python3.6m
-I/home/lorenzo/anaconda3/lib/python3.6/site-packages/numpy/core/include
-I/home/lorenzo/anaconda3/include/python3.6m -c mlpy/gsl/gsl.c
-o build/temp.linux-x86_64-3.6/mlpy/gsl/gsl.o
mlpy/gsl/gsl.c:223:10: fatal error: gsl/gsl_sf.h: No such file or directory
#include "gsl/gsl_sf.h"