DiltheyLab / MetaMaps

Long-read metagenomic analysis
Other
98 stars 23 forks source link

Configure issue (usability) #29

Closed ArnieBerg closed 4 years ago

ArnieBerg commented 4 years ago

I have the same symptom as https://github.com/DiltheyLab/MetaMaps/issues/20, except I don't use conda. I am running Ubuntu 18.04. The configure command I use is:

./configure --with-boost=/media/analynano/Data500GB/ArnieFiles/boost_1_71_0/boost --prefix=/media/analynano/Data500GB/ArnieFiles/MetaMaps

The error lines are:

checking boost/math/distributions/binomial.hpp usability... no checking boost/math/distributions/binomial.hpp presence... no checking for boost/math/distributions/binomial.hpp... no

What does this error indicate?

ArnieBerg commented 4 years ago

Is this product still supported? We will not be able to use this product unless issues can be resolved.

AlexanderDilthey commented 4 years ago

Yes, it is. I have been traveling a lot over the last weeks. Hope to get back to you early next week.

Get Outlook for iOShttps://aka.ms/o0ukef


From: ArnieBerg notifications@github.com Sent: Thursday, December 12, 2019 4:35:46 PM To: DiltheyLab/MetaMaps MetaMaps@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [DiltheyLab/MetaMaps] Configure issue (usability) (#29)

Is this product still supported? We will not be able to use this product unless issues can be resolved.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/DiltheyLab/MetaMaps/issues/29?email_source=notifications&email_token=ABQWY2OIBHYOYVZ45NRAGI3QYJK5FA5CNFSM4JUGOFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXBUPA#issuecomment-565058108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQWY2MMQF2EIPRI3D7FMUTQYJK5FANCNFSM4JUGOFLA.

AlexanderDilthey commented 4 years ago

Have you tried calling the configure script with

--with-boost=/media/analynano/Data500GB/ArnieFiles/boost_1_71_0

?

Get Outlook for iOShttps://aka.ms/o0ukef


From: ArnieBerg notifications@github.com Sent: Thursday, December 12, 2019 4:35:46 PM To: DiltheyLab/MetaMaps MetaMaps@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [DiltheyLab/MetaMaps] Configure issue (usability) (#29)

Is this product still supported? We will not be able to use this product unless issues can be resolved.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/DiltheyLab/MetaMaps/issues/29?email_source=notifications&email_token=ABQWY2OIBHYOYVZ45NRAGI3QYJK5FA5CNFSM4JUGOFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXBUPA#issuecomment-565058108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQWY2MMQF2EIPRI3D7FMUTQYJK5FANCNFSM4JUGOFLA.

ArnieBerg commented 4 years ago

Thanks for responding.

I did try --with-boost=/media/analynano/Data500GB/ArnieFiles/boost_1_71_0 with the same result.

The last lines of the output are:

checking boost/math/distributions/binomial.hpp usability... no checking boost/math/distributions/binomial.hpp presence... no checking for boost/math/distributions/binomial.hpp... no configure: error: Boost Library headers not found.

AlexanderDilthey commented 4 years ago

Hmmm... but you confirm that /media/analynano/Data500GB/ArnieFiles/boost_1_71_0/boost/math/distributions/binomial.hpp exists on your machine?

Get Outlook for iOShttps://aka.ms/o0ukef


From: ArnieBerg notifications@github.com Sent: Thursday, December 12, 2019 6:02:56 PM To: DiltheyLab/MetaMaps MetaMaps@noreply.github.com Cc: Alexander Dilthey alexanderdilthey@outlook.com; Comment comment@noreply.github.com Subject: Re: [DiltheyLab/MetaMaps] Configure issue (usability) (#29)

Thanks for responding.

I did try --with-boost=/media/analynano/Data500GB/ArnieFiles/boost_1_71_0 with the same result.

The last lines of the output are:

checking boost/math/distributions/binomial.hpp usability... no checking boost/math/distributions/binomial.hpp presence... no checking for boost/math/distributions/binomial.hpp... no configure: error: Boost Library headers not found.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/DiltheyLab/MetaMaps/issues/29?email_source=notifications&email_token=ABQWY2LOH7MERZHVPFM7VMTQYJVEBA5CNFSM4JUGOFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXKTSI#issuecomment-565094857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQWY2PVBQDPPXZCYV72TLTQYJVEBANCNFSM4JUGOFLA.

ArnieBerg commented 4 years ago

Yes, this is the path to binomial.hpp: /media/analynano/Data500GB/ArnieFiles/boost_1_71_0/boost/math/distributions/binomial.hpp

AlexanderDilthey commented 4 years ago

I now believe the issue has to do with a missing include subdirectory.

One of my colleagues writes:

Assuming boost is installed properly: Suppose path=folder is given, then the folder should have include, bin, and lib folders in it The error indicates that the config is not able to locate folder/include/boost/math/distributions/binomial.hpp

ArnieBerg commented 4 years ago

Yes! There was no 'include' folder in 'boost_1_71_0', so I created one and copied the 'boost' folder and all its contents into the created 'include' folder, and now configure runs without error.

AlexanderDilthey commented 4 years ago

Super! Thank you for your patience and your feedback!

dportik commented 3 years ago

Ran into the exact same issue. I installed boost (1.75.0) in a custom path did not create an include/ folder. Running ./configure resulted in errors. I copied the boost/ folder into a manually created folder called include/ and ./configure completed without error.