grenaud / glactools

command-line tools for the management of genotype likelihoods and allele counts
http://grenaud.github.io/glactools/
GNU General Public License v3.0
29 stars 2 forks source link

installation trouble #27

Closed DcornishUCL closed 2 years ago

DcornishUCL commented 2 years ago

Hi,

I am attempting to compile your package from github however, I am receiving the following error messages (below). Do you know the meaning of these or how to rectify the problem? Any help would be much appreciated.

Thank you and best wishes,

Dean

.../glactools/tabixpp/htslib/cram/cram_codecs.c:1768: undefined reference to __intel_sse2_strlen' htslib/libhts.a(cram_codecs.o): In functioncram_byte_array_stop_decode_block': .../glactools/tabixpp/htslib/cram/cram_codecs.c:1682: undefined reference to _intel_fast_memcpy' collect2: error: ld returned 1 exit status make[2]: *** [tabix++] Error 1 make[2]: Leaving directory.../glactools/tabixpp' make[1]: [all-recur] Error 1 make[1]: Leaving directory `.../glactools/tabixpp' make: [tabixpp/tabix.o] Error 2

grenaud commented 2 years ago

Just a question can you compile tabixpp?

tir. d. 15. feb. 2022 3.13 PM skrev Dean Cornish @.***>:

Hi,

I am attempting to compile your package from github however, I am receiving the following error messages (below). Do you know the meaning of these or how to rectify the problem? Any help would be much appreciated.

Thank you and best wishes,

Dean

.../glactools/tabixpp/htslib/cram/cram_codecs.c:1768: undefined reference to __intel_sse2_strlen' htslib/libhts.a(cram_codecs.o): In function cram_byte_array_stop_decode_block': .../glactools/tabixpp/htslib/cram/cram_codecs.c:1682: undefined reference to _intel_fast_memcpy' collect2: error: ld returned 1 exit status make[2]: [tabix++] Error 1 make[2]: Leaving directory .../glactools/tabixpp' make[1]: [all-recur] Error 1 make[1]: Leaving directory `.../glactools/tabixpp' make: *** [tabixpp/tabix.o] Error 2

— Reply to this email directly, view it on GitHub https://github.com/grenaud/glactools/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQRNI42S4OVS4F46GT5V2LU3JNO5ANCNFSM5OOUWWRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

DcornishUCL commented 2 years ago

Hi,

I just tried to compile tabixpp but that also produces an error:

git clone https://github.com/ekg/tabixpp

cd tabixpp

make

*** No rule to make target htslib/htslib/bgzf.h', needed bytabix.o'. Stop.

Best,

Dean

grenaud commented 2 years ago

ok can you build htslib?

On Wed, Feb 16, 2022 at 12:01 PM Dean Cornish @.***> wrote:

Hi,

I just tried to compile tabixpp but that also produces an error:

git clone https://github.com/ekg/tabixpp

cd tabixpp

make

*** No rule to make target htslib/htslib/bgzf.h', needed by tabix.o'. Stop.

Best,

Dean

— Reply to this email directly, view it on GitHub https://github.com/grenaud/glactools/issues/27#issuecomment-1041366607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQRNIZI2OYJYMYON3BSJCTU3N7XRANCNFSM5OOUWWRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

DcornishUCL commented 2 years ago

Hi,

I built htslib and attempted to make glactools again and this successfully completed. Thanks so much for your help.

Dean