wallix / redemption

A GPL RDP proxy
GNU General Public License v2.0
212 stars 87 forks source link

Error when building docker image - `fatal error: hs/hs.h: No such file or directory` #154

Closed Augustin-FL closed 2 years ago

Augustin-FL commented 2 years ago

When building the docker image, the following error is raised :

#11 18.74 gcc.compile.c++ bin/gcc-9/release/src/capture/params_from_ini.o
#11 20.41 gcc.compile.c++ bin/gcc-9/release/src/capture/rail_screen_computation.o
#11 22.73 gcc.compile.c++ bin/gcc-9/release/src/capture/file_to_graphic.o
#11 23.50 gcc.compile.c++ bin/gcc-9/release/src/capture/rdp_ppocr/get_ocr_constants.o
#11 24.13 gcc.compile.c++ bin/gcc-9/release/src/capture/redis.o
#11 24.26 gcc.compile.c++ bin/gcc-9/release/src/capture/utils/pattern_searcher.o
#11 24.26 src/capture/utils/pattern_searcher.cpp:28:10: fatal error: hs/hs.h: No such file or directory
#11 24.26    28 | #include <hs/hs.h>
#11 24.26       |          ^~~~~~~~~
#11 24.26 compilation terminated.

It happens because libhyperscan-dev is missing from the Docker image.