Open AlexeyStolyarov opened 7 years ago
What branch are you using, master of devel? I've just fixed devel to use git submodules correctly, but it should work on master as well (no submodules there yet).
I had tried both.
the only solution I ve found is to use
./configure --with-distro=debian --without-openssl;
in Dockerfile
Ok, thanks for information. I just realized that I did not update the docker debian:latest since jessie. Debian Stretch uses newer openssl library and needs to be told explicitly to use libssl1.0-dev package. I've updated the Dockerfile in the devel branch, could you give it a try?
`Switched to a new branch 'devel'
Making install in profiles
make[4]: Entering directory '/root/ipfixcol/base/src/utils/profiles'
depbase=echo Channel.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\
g++ -DHAVE_CONFIG_H -I. -I../../.. -fPIC -I../../../headers -I../../../src/utils/filter -I/usr/include/libxml2 -std=gnu++11 -g -O2 -MT Channel.o -MD -MP -MF $depbase.Tpo -c -o Channel.o Channel.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from profiles_internal.h:45:0,
from Channel.h:43,
from Channel.cpp:42:
../../../src/utils/filter/filter_wrapper.h:45:35: fatal error: libnf-ffilter/ffilter.h: No such file or directory
^
compilation terminated. make[4]: [Channel.o] Error 1 Makefile:427: recipe for target 'Channel.o' failed make[4]: Leaving directory '/root/ipfixcol/base/src/utils/profiles' Makefile:459: recipe for target 'install-recursive' failed make[3]: Leaving directory '/root/ipfixcol/base/src/utils' make[3]: [install-recursive] Error 1 Makefile:624: recipe for target 'install-recursive' failed make[2]: Leaving directory '/root/ipfixcol/base/src' make[2]: [install-recursive] Error 1 make[1]: [install] Error 2 Makefile:781: recipe for target 'install' failed make[1]: Leaving directory '/root/ipfixcol/base/src' Makefile:480: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1
checking for gawk... (cached) mawk checking whether CC supports -std=gnu++11... yes checking for /etc/protocols... yes checking for library containing siso_create... no configure: error: Required library siso missing make: No rule to make target 'clean'. Stop. make: No rule to make target 'install'. Stop. `
You need both
RUN git checkout devel;
RUN git submodule update --init --recursive
This problem is caused by the submodule filter not being initialized properly. Can you rebuild that image from scratch?
when compilling "base" compiller says: cannot find ssl library. adding libssl-dev and openssl into install secrion doesnt helps