cmake error: could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR
I am trying to install this software called acqu-root. It depends on the main software called root. I managed to install the main software but having problems with the acqu-root. I get the following error.
[kabi@localhost build]$ cmake ..
-- *** Build Type: Debug
-- *** Compiler Flags: -g -O0 -Wall
-- *** Install libs to: /home/kabi/acqu-root/build/lib
-- *** Install bin to: /home/kabi/acqu-root/build/bin
-- Looking for ROOT...
-- Looking for ROOT... - Found /home/kabi/root/bin/root
-- Looking for ROOT... - Found version is 6.03/01
-- Configuring acqu_core...
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindLibLZMA.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
acqu_core/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kabi/acqu-root/build/CMakeFiles/CMakeOutput.log".
ubuntu fedora cmake
add a comment |
I am trying to install this software called acqu-root. It depends on the main software called root. I managed to install the main software but having problems with the acqu-root. I get the following error.
[kabi@localhost build]$ cmake ..
-- *** Build Type: Debug
-- *** Compiler Flags: -g -O0 -Wall
-- *** Install libs to: /home/kabi/acqu-root/build/lib
-- *** Install bin to: /home/kabi/acqu-root/build/bin
-- Looking for ROOT...
-- Looking for ROOT... - Found /home/kabi/root/bin/root
-- Looking for ROOT... - Found version is 6.03/01
-- Configuring acqu_core...
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindLibLZMA.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
acqu_core/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kabi/acqu-root/build/CMakeFiles/CMakeOutput.log".
ubuntu fedora cmake
add a comment |
I am trying to install this software called acqu-root. It depends on the main software called root. I managed to install the main software but having problems with the acqu-root. I get the following error.
[kabi@localhost build]$ cmake ..
-- *** Build Type: Debug
-- *** Compiler Flags: -g -O0 -Wall
-- *** Install libs to: /home/kabi/acqu-root/build/lib
-- *** Install bin to: /home/kabi/acqu-root/build/bin
-- Looking for ROOT...
-- Looking for ROOT... - Found /home/kabi/root/bin/root
-- Looking for ROOT... - Found version is 6.03/01
-- Configuring acqu_core...
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindLibLZMA.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
acqu_core/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kabi/acqu-root/build/CMakeFiles/CMakeOutput.log".
ubuntu fedora cmake
I am trying to install this software called acqu-root. It depends on the main software called root. I managed to install the main software but having problems with the acqu-root. I get the following error.
[kabi@localhost build]$ cmake ..
-- *** Build Type: Debug
-- *** Compiler Flags: -g -O0 -Wall
-- *** Install libs to: /home/kabi/acqu-root/build/lib
-- *** Install bin to: /home/kabi/acqu-root/build/bin
-- Looking for ROOT...
-- Looking for ROOT... - Found /home/kabi/root/bin/root
-- Looking for ROOT... - Found version is 6.03/01
-- Configuring acqu_core...
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindLibLZMA.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
acqu_core/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kabi/acqu-root/build/CMakeFiles/CMakeOutput.log".
ubuntu fedora cmake
ubuntu fedora cmake
edited 8 hours ago
Rui F Ribeiro
41.3k1481140
41.3k1481140
asked Feb 17 '15 at 4:47
Santosh LinkhaSantosh Linkha
143129
143129
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
Hi, I tried installing the software on the Ubuntu, but I couldn't find the packagelzma-devel, there is onlylzma-devcould you instruct me how to installlzma-develon Ubuntu? or how to removelzma-develreferences from cmake?
– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is justlzma-devorliblzma-devdepending on what your source really needs.
– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installingliblzmaresolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.
– Santosh Linkha
Feb 17 '15 at 14:15
add a comment |
Try
yum install xz-devel
on Centos to get the liblzma libraries (for Silver-searcher, for example. Also may need pcre-devel for the libpcre dependency)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f185244%2fcmake-error-could-not-find-liblzma-missing-liblzma-include-dir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
Hi, I tried installing the software on the Ubuntu, but I couldn't find the packagelzma-devel, there is onlylzma-devcould you instruct me how to installlzma-develon Ubuntu? or how to removelzma-develreferences from cmake?
– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is justlzma-devorliblzma-devdepending on what your source really needs.
– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installingliblzmaresolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.
– Santosh Linkha
Feb 17 '15 at 14:15
add a comment |
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
Hi, I tried installing the software on the Ubuntu, but I couldn't find the packagelzma-devel, there is onlylzma-devcould you instruct me how to installlzma-develon Ubuntu? or how to removelzma-develreferences from cmake?
– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is justlzma-devorliblzma-devdepending on what your source really needs.
– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installingliblzmaresolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.
– Santosh Linkha
Feb 17 '15 at 14:15
add a comment |
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
edited Feb 17 '15 at 14:04
answered Feb 17 '15 at 6:25
Stephen KittStephen Kitt
175k24400477
175k24400477
Hi, I tried installing the software on the Ubuntu, but I couldn't find the packagelzma-devel, there is onlylzma-devcould you instruct me how to installlzma-develon Ubuntu? or how to removelzma-develreferences from cmake?
– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is justlzma-devorliblzma-devdepending on what your source really needs.
– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installingliblzmaresolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.
– Santosh Linkha
Feb 17 '15 at 14:15
add a comment |
Hi, I tried installing the software on the Ubuntu, but I couldn't find the packagelzma-devel, there is onlylzma-devcould you instruct me how to installlzma-develon Ubuntu? or how to removelzma-develreferences from cmake?
– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is justlzma-devorliblzma-devdepending on what your source really needs.
– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installingliblzmaresolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.
– Santosh Linkha
Feb 17 '15 at 14:15
Hi, I tried installing the software on the Ubuntu, but I couldn't find the package
lzma-devel, there is only lzma-dev could you instruct me how to install lzma-devel on Ubuntu? or how to remove lzma-devel references from cmake?– Santosh Linkha
Feb 17 '15 at 13:45
Hi, I tried installing the software on the Ubuntu, but I couldn't find the package
lzma-devel, there is only lzma-dev could you instruct me how to install lzma-devel on Ubuntu? or how to remove lzma-devel references from cmake?– Santosh Linkha
Feb 17 '15 at 13:45
I was going by the Fedora tag; on Ubuntu it is just
lzma-dev or liblzma-dev depending on what your source really needs.– Stephen Kitt
Feb 17 '15 at 14:01
I was going by the Fedora tag; on Ubuntu it is just
lzma-dev or liblzma-dev depending on what your source really needs.– Stephen Kitt
Feb 17 '15 at 14:01
thanks .. installing
liblzma resolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.– Santosh Linkha
Feb 17 '15 at 14:15
thanks .. installing
liblzma resolved the error. earlier I had tried installing this on fedora, now I am trying this on ubuntu.– Santosh Linkha
Feb 17 '15 at 14:15
add a comment |
Try
yum install xz-devel
on Centos to get the liblzma libraries (for Silver-searcher, for example. Also may need pcre-devel for the libpcre dependency)
add a comment |
Try
yum install xz-devel
on Centos to get the liblzma libraries (for Silver-searcher, for example. Also may need pcre-devel for the libpcre dependency)
add a comment |
Try
yum install xz-devel
on Centos to get the liblzma libraries (for Silver-searcher, for example. Also may need pcre-devel for the libpcre dependency)
Try
yum install xz-devel
on Centos to get the liblzma libraries (for Silver-searcher, for example. Also may need pcre-devel for the libpcre dependency)
answered Nov 3 '16 at 17:08
Mark LakataMark Lakata
3851517
3851517
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f185244%2fcmake-error-could-not-find-liblzma-missing-liblzma-include-dir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown