Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is build error when compiling , please help. #161

Closed
MohdNasir997 opened this issue May 14, 2023 · 2 comments
Closed

there is build error when compiling , please help. #161

MohdNasir997 opened this issue May 14, 2023 · 2 comments
Labels
question Further information is requested

Comments

@MohdNasir997
Copy link

MohdNasir997 commented May 14, 2023

terminal output!
.......................................................................->
cmake -DCMAKE_BUILD_TYPE=Release ..;
cmake --build . -j
-- The CXX compiler identification is GNU 13.1.1
-- The C compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JsonC (missing: JsonC_LIBRARY JsonC_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindJsonC.cmake:6 (find_package_handle_standard_args)
CMakeLists.txt:135 (find_package)

-- Configuring incomplete, errors occurred!
gmake[1]: Entering directory '/home/mohammadnasir/Downloads/Memento-1.1.0/build'
gmake[1]: Makefile: No such file or directory
gmake[1]: *** No rule to make target 'Makefile'. Stop.
gmake[1]: Leaving directory '/home/mohammadnasir/Downloads/Memento-1.1.0/build'
make: *** [Makefile:4: release] Error 2
[mohammadnasir@fedora Memento-1.1.0]$ sudo rm -rf build
[mohammadnasir@fedora Memento-1.1.0]$ sudo make
mkdir -p build
cd build;
cmake -DCMAKE_BUILD_TYPE=Release ..;
cmake --build . -j
-- The CXX compiler identification is GNU 13.1.1
-- The C compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JsonC (missing: JsonC_LIBRARY JsonC_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindJsonC.cmake:6 (find_package_handle_standard_args)
CMakeLists.txt:135 (find_package)

-- Configuring incomplete, errors occurred!
gmake[1]: Entering directory '/home/mohammadnasir/Downloads/Memento-1.1.0/build'
gmake[1]: Makefile: No such file or directory
gmake[1]: *** No rule to make target 'Makefile'. Stop.
gmake[1]: Leaving directory '/home/mohammadnasir/Downloads/Memento-1.1.0/build'
make: *** [Makefile:4: release] Error 2

......................................................................................................................................................................->
info: fedora 38.

@MohdNasir997 MohdNasir997 changed the title there is make error, please help. there is build error when compiling , please help. May 14, 2023
@ripose-jp
Copy link
Owner

Run this command and build again

sudo dnf install json-c-devel sqlite-devel mpv-devel mecab-devel libzip-devel qt5-qtbase-devel qt5-qtbase-private-devel qt5-qtsvg-devel qt5-qtx11extras-devel

@ripose-jp ripose-jp added the question Further information is requested label May 14, 2023
@MohdNasir997
Copy link
Author

thanks, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants