kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

building wsclean on kern-6 #236

Closed o-smirnov closed 3 years ago

o-smirnov commented 3 years ago

So I would have expected that apt-get build-dep wsclean would install me everything I need to build the latest wsclean from source, but not so, it can't find pybind11/embed.h. I do have pybind11-dev installed.

$ cmake .. && make
[ 11%] Building CXX object CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o
In file included from /home/oms/src/wsclean/deconvolution/pythondeconvolution.cpp:1:0:
/home/oms/src/wsclean/deconvolution/pythondeconvolution.h:9:10: fatal error: pybind11/embed.h: No such file or directory
 #include <pybind11/embed.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/wsclean-object.dir/build.make:398: recipe for target 'CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o' failed
make[2]: *** [CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/oms/src/wsclean/deconvolution/deconvolution.cpp:7:0:
/home/oms/src/wsclean/deconvolution/pythondeconvolution.h:9:10: fatal error: pybind11/embed.h: No such file or directory
 #include <pybind11/embed.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/wsclean-object.dir/build.make:230: recipe for target 'CMakeFiles/wsclean-object.dir/deconvolution/deconvolution.cpp.o' failed
make[2]: *** [CMakeFiles/wsclean-object.dir/deconvolution/deconvolution.cpp.o] Error 1
CMakeFiles/Makefile2:450: recipe for target 'CMakeFiles/wsclean-object.dir/all' failed
make[1]: *** [CMakeFiles/wsclean-object.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
oms@simon:~/src/wsclean/build$ 

What am I missing?

gijzelaerr commented 3 years ago

you are probably building a newer version of WSclean than the one that is part of KERN-6.

gijzelaerr commented 3 years ago

we will include the latest WSclean in KERN-7