Closed dancesWithCycles closed 1 year ago
Hello @dancesWithCycles ,
It seems that you try to build the example programs with an old version of the library.
You should try instead to build the example programs provided by the libulfius-dev package in your /usr/share/doc/libulfius-dev/examples/ulfius/example_programs/
, or install the last version of ulfius provided the github repository, and build the example programs from there too.
The issue is similar to #248 so I won't copy paste the same answer, just FYI.
Hi @babelouest , Thank you so much for the advice. It sounds like I was comparing applies with oranges.
Now, I removed the distribution package and head for the manual installation. Anyhow, I am struggling with the yder
build process.
This is where I am stuck.
$ mkdir build
$ cd build/
$ cmake ..
-- The C compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for __GNU_LIBRARY__
-- Looking for __GNU_LIBRARY__ - found
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find Systemd (missing: SYSTEMD_LIBRARY SYSTEMD_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
cmake-modules/FindSystemd.cmake:47 (find_package_handle_standard_args)
CMakeLists.txt:105 (find_package)
-- Configuring incomplete, errors occurred!
...
Any idea?
Cheers!
Some required dependencies are missing, to build yder, install libjournald-dev
or build yder without journald support, check yder documentation: https://github.com/babelouest/yder#prerequisites
Then, check in the documentation if all Ulfius' dependencies are installed: https://github.com/babelouest/ulfius/blob/master/INSTALL.md#prerequisites
Hi @babelouest ,
journald
was not part of the dependencies list. That is why I missed it. I build yder
without journald
. Finally, also the example_programs
are build on my host and the simple_example
server is acting as expected.
Cheers mate for your help! That is very much appreciated!
Hi folks, Thank you so much for maintaining this repository. May I share the following issue with you?
Describe the issue I am following the readme for the example programs but end up with failure.
To Reproduce
Cmake replies with the following response.
Make replies with the following response.
Expected behavior I expected
make
to build the example programs.System (please complete the following information):
I am happy with each and every hint in the right direction.
Cheers!