[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rejection of Orthanc



> It somehow smells like an attempt to access some remote location.  Given
> that you have somehow build this before in a restricted chroot is there
> any trick I can prevent this? 

I confirm that the CMake of civetweb by default requires access to
Internet. After some testing, here is the proper way of invoking CMake
to avoid such access:

$ cd civetweb-1.12
$ mkdir Build
$ cd Build
$ cmake .. -DCMAKE_BUILD_TYPE=None -DCIVETWEB_BUILD_TESTING=OFF
-DBUILD_SHARED_LIBS=ON

I have set the "CMAKE_BUILD_TYPE" is set to "None" for reasons explained
by Mathieu Malaterre in the following Debian issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711515

After building, here is what I would expect as the main content of the
binary packages:

- "civetweb" package (standalone executable, unused by Orthanc) =>
civetweb-1.12/Build/src/civetweb
- "libcivetweb1" => civetweb-1.12/Build/src/libcivetweb.so.1.11.0
- "libcivetweb-dev" => civetweb-1.12/include/civetweb.h

HTH,
Sébastien-


Reply to: