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

'make release' throws an error at the end because it's unable to find rpmbuild (well...): #12

Open
justinotherguy opened this issue May 1, 2013 · 1 comment

Comments

@justinotherguy
Copy link

[...]
Linking CXX executable algorithmstest
/usr/bin/c++ -Wall -O3 -Wno-non-virtual-dtor -Werror CMakeFiles/algorithmstest.dir/test_algorithms.cpp.o CMakeFiles/algorithmstest.dir/main.cpp.o -o algorithmstest -rdynamic ../../libklio/libklio.a -Wl,-Bstatic -lboost_test_exec_monitor-mt -Wl,-Bdynamic -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_date_time-mt -lsqlite3 -Wl,-Bstatic -lboost_test_exec_monitor-mt -Wl,-Bdynamic -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_date_time-mt
[100%] Built target algorithmstest
Run CPack packaging tool...
CPack: Create package using STGZ
CPack: Install projects
CPack: - Run preinstall target for: libklio
CPack: - Install project: libklio
CPack: Create package
CPack: - package: /usr/local/src/libklio/build/libklio-0.2.0-Linux.sh generated.
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: libklio
CPack: - Install project: libklio
CPack: Create package
CPack: - package: /usr/local/src/libklio/build/libklio-0.2.0-Linux.tar.gz generated.
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: libklio
CPack: - Install project: libklio
CPack: Create package
CPack: - package: /usr/local/src/libklio/build/libklio-0.2.0-Linux.deb generated.
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: libklio
CPack: - Install project: libklio
CPack: Create package
CMake Error at /usr/share/cmake-2.8/Modules/CPackRPM.cmake:271 (MESSAGE):
RPM package requires rpmbuild executable

CPack Error: Error while execution CPackRPM.cmake
CPack Error: Cannot find rpmbuild
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: libklio
make[1]: *** [package] Error 1
make: *** [release] Error 2

@JulianVolodia
Copy link

Have you configured your OS build env. properly? Had you installed 'librpmbuild3' (if on Debian)? Best regards.

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

No branches or pull requests

2 participants