You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi friends!
I can't compile Jannson library.
I tried different systems, different compilers, but the library does not compile.
I followed all the steps to install the library according to the instructions.
System 1:
Linux kunhab 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
System 2:
Linux fx-ThinkPad-E14 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
My installation steps:
git clone https://github.com/neugates/jansson.git
cd jansson && mkdir build && cd build
cmake -DJANSSON_BUILD_DOCS=OFF -DJANSSON_EXAMPLES=OFF ..
make
make check
98% tests passed, 5 tests failed out of 213
Total Test time (real) = 0.23 sec
The following tests FAILED:
28 - encoding-flags__real-precision (Failed)
60 - valid__real-exponent (Failed)
61 - valid__real-exponent__strip (Failed)
68 - valid__real-subnormal-number (Failed)
69 - valid__real-subnormal-number__strip (Failed)
Errors while running CTest
The libraries libjansson.so don't compiling.
The same error occurs on both systems.
I think the version libjansson on GitHub is broken.
Please tell me what I can do to compile the library?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi friends!
I can't compile Jannson library.
I tried different systems, different compilers, but the library does not compile.
I followed all the steps to install the library according to the instructions.
System 1:
Linux kunhab 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
System 2:
Linux fx-ThinkPad-E14 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
My installation steps:
git clone https://github.com/neugates/jansson.git
cd jansson && mkdir build && cd build
cmake -DJANSSON_BUILD_DOCS=OFF -DJANSSON_EXAMPLES=OFF ..
make
make check
98% tests passed, 5 tests failed out of 213
sudo make install
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libjansson.a
-- Installing: /usr/local/include/jansson_config.h
-- Installing: /usr/local/include/jansson.h
-- Installing: /usr/local/lib/pkgconfig/jansson.pc
-- Installing: /usr/local/lib/cmake/jansson/janssonConfig.cmake
-- Installing: /usr/local/lib/cmake/jansson/janssonConfigVersion.cmake
-- Installing: /usr/local/lib/cmake/jansson/janssonTargets.cmake
-- Installing: /usr/local/lib/cmake/jansson/janssonTargets-noconfig.cmake
The libraries libjansson.so don't compiling.
The same error occurs on both systems.
I think the version libjansson on GitHub is broken.
Please tell me what I can do to compile the library?
Beta Was this translation helpful? Give feedback.
All reactions