ParBLiSS / FastANI

Fast Whole-Genome Similarity (ANI) Estimation
Apache License 2.0
368 stars 66 forks source link

configure not finding gsl_cdf.h when gsl path is given? #41

Closed jolespin closed 5 years ago

jolespin commented 5 years ago

I'm trying to install the tool from the install but it can't find my gsl. I created a new conda environment for fastani with gsl.

conda create --name fastani_env --yes
source activate fastani_env
conda install -c conda-forge gsl --yes

Now I'm trying to install the tool:

(fastani_env) -bash-4.1$ ./bootstap.sh
(fastani_env) -bash-4.1$ ls -lhtr /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/fastani_env/include/gsl/ | grep "gsl_cdf"
-rw-rw-r-- 2 jespinoz tigr 7.3K Apr 23 11:01 gsl_cdf.h
(fastani_env) -bash-4.1$ ./configure --prefix /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/fastani_env --with-gsl /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/fastani_env/include/gsl/
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++ option to support OpenMP... -fopenmp
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking gsl/gsl_cdf.h usability... no
checking gsl/gsl_cdf.h presence... no
checking for gsl/gsl_cdf.h... no
configure: error: GNU Scientific Library headers not found.

Do you know why it's not finding my gsl_cdf.h?

cjain7 commented 5 years ago

May be there is a mistake in specifying proper path of gsl.

Can you try --with-gsl /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/fastani_env/

Typically the path you specify should contain an include folder and a lib folder.

jolespin commented 5 years ago

I got installed via conda.

aberaslop commented 3 years ago

Hi cjain7, I have exactly the same problem. Do you remember how you fixed it? Thank you!!

cjain7 commented 3 years ago

@aberaslop, may be you can install FastANI directly via Conda too? Isn't it working?