alachins / raisd

RAiSD: software to detect positive selection based on multiple signatures of a selective sweep and SNP vectors
33 stars 13 forks source link

About declared error gsl/gsl_errno.h #33

Open diegohernansanchez opened 2 years ago

diegohernansanchez commented 2 years ago

Hi, I guess it is a silly question. I wanted to install RAiSD in my Linux Ubuntu 16, but Im no expert in Linux. First I installed the GNU Scientific Library with: $ aptitude install gsl-bin ... $ aptitude show gsl-bin Package: gsl-bin State: installed Automatically installed: no Multi-Arch: foreign Version: 2.1+dfsg-2 Priority: optional Section: universe/math Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 63.5 k Depends: libc6 (>= 2.7), libgsl2 Conflicts: gsl, gsl-bin:i386 Replaces: gsl Provides: gsl-bin:i386 (= 2.1+dfsg-2) Provided by: gsl-bin:i386 (2.1+dfsg-2) Description: GNU Scientific Library (GSL) -- binary package ...

Then I try to install RAiSD as declared in the installation guide, but the system did raised the error.:

$ ~/RAiSD/raisd-master$ ./install-RAiSD.sh Deleting RAiSD symlink Deleting directories Creating directories Beginning release build Compiling: sources/RAiSD.c -> build/release/RAiSD.o In file included from sources/RAiSD.c:22:0: sources/RAiSD.h:30:27: fatal error: gsl/gsl_errno.h: No such file or directory compilation terminated. Makefile:237: recipe for target 'build/release/RAiSD.o' failed make[1]: [build/release/RAiSD.o] Error 1 Makefile:168: recipe for target 'release' failed make: [release] Error 2

So I guess there is some problems with finding the library? Any tip how to tackle this? Thanks d!!!

alachins commented 2 years ago

Hello Diego, Sorry for the late reply. You can check this: https://github.com/alachins/raisd#download-and-compile I hope it helps. If you have GSL installed, check if it is installed in the expected directory: /usr/include/gsl Also, there is a specific install file called install-RAiSD-GSL.sh. If you want to use a locally installed version, you will need to use this script and change the gsl version in the makefile. I can walk you through it if needed. Just let me know. Best regards, Nikos A.

On Mon, Apr 18, 2022 at 12:15 AM diegohernansanchez < @.***> wrote:

Hi, I guess it is a silly question. I wanted to install RAiSD in my Linux Ubuntu 16, but Im no expert in Linux. First I installed the GNU Scientific Library with: $ aptitude install gsl-bin ... $ aptitude show gsl-bin Package: gsl-bin State: installed Automatically installed: no Multi-Arch: foreign Version: 2.1+dfsg-2 Priority: optional Section: universe/math Maintainer: Ubuntu Developers @.*** Architecture: amd64 Uncompressed Size: 63.5 k Depends: libc6 (>= 2.7), libgsl2 Conflicts: gsl, gsl-bin:i386 Replaces: gsl Provides: gsl-bin:i386 (= 2.1+dfsg-2) Provided by: gsl-bin:i386 (2.1+dfsg-2) Description: GNU Scientific Library (GSL) -- binary package ...

Then I try to install RAiSD as declared in the installation guide, but the system did raised the error.:

$ ~/RAiSD/raisd-master$ ./install-RAiSD.sh Deleting RAiSD symlink Deleting directories Creating directories Beginning release build Compiling: sources/RAiSD.c -> build/release/RAiSD.o In file included from sources/RAiSD.c:22:0: sources/RAiSD.h:30:27: fatal error: gsl/gsl_errno.h: No such file or directory compilation terminated. Makefile:237: recipe for target 'build/release/RAiSD.o' failed make[1]: [build/release/RAiSD.o] Error 1 Makefile:168: recipe for target 'release' failed make: [release] Error 2

So I guess there is some problems with finding the library? Any tip how to tackle this? Thanks d!!!

— Reply to this email directly, view it on GitHub https://github.com/alachins/raisd/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALKWCQWK6XYY3NONHXHGELVFSEPPANCNFSM5TUOUQUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Nikolaos Alachiotis