Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while installing from source 3.50 version #31

Open
shashibioinfo143 opened this issue Jul 15, 2020 · 1 comment
Open

error while installing from source 3.50 version #31

shashibioinfo143 opened this issue Jul 15, 2020 · 1 comment

Comments

@shashibioinfo143
Copy link

shashibioinfo143 commented Jul 15, 2020

Hi sir,

We have followed commands mentioned in manuel

tar xzf flexbar-3.5.0.tar.gz

tar xJf seqan-library-2.4.0.tar.xz

mv seqan-library-2.4.0/include flexbar-3.5.0

cd flexbar-3.5.0
cmake .
make

but it shows error at after make command

cmake .
-- Flexbar 64 bit architecture
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Build will not support bzip2.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ngc-bioinfo/Downloads/flexbar-3.5.0
ngc-bioinfo@ngc-bioinfo:~/Downloads/flexbar-3.5.0$ make
[ 50%] Building CXX object src/CMakeFiles/flexbar.dir/Flexbar.cpp.o
In file included from /home/ngc-bioinfo/Downloads/flexbar-3.5.0/src/Flexbar.cpp:24:0:
/home/ngc-bioinfo/Downloads/flexbar-3.5.0/src/Flexbar.h:15:10: fatal error: tbb/pipeline.h: No such file or directory
#include <tbb/pipeline.h>
^~~~~~~~~~~~~~~~
compilation terminated.
src/CMakeFiles/flexbar.dir/build.make:62: recipe for target 'src/CMakeFiles/flexbar.dir/Flexbar.cpp.o' failed
make[2]: *** [src/CMakeFiles/flexbar.dir/Flexbar.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/flexbar.dir/all' failed
make[1]: *** [src/CMakeFiles/flexbar.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

we cant install latest version in other way via sudo apt install flexbar
if you can please help me to resolve this

Thank you

@kashyapchhatbar
Copy link

Because latest tbb library no longer imports via

#include <tbb/pipeline.h>
#include <tbb/task_scheduler_init.h>

It should be changed to the following and flexbar devs need to update a lot of code which uses the deprecated pipeline from tbb.

#include <tbb/parallel_pipeline.h>

For a temporary solution, you can use an older version of https://github.com/oneapi-src/oneTBB like 2020.02 (which worked for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants