cmake error: could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR












4















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".









share|improve this question





























    4















    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".









    share|improve this question



























      4












      4








      4


      1






      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".









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 8 hours ago









      Rui F Ribeiro

      41.3k1481140




      41.3k1481140










      asked Feb 17 '15 at 4:47









      Santosh LinkhaSantosh Linkha

      143129




      143129






















          2 Answers
          2






          active

          oldest

          votes


















          8














          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.






          share|improve this answer


























          • 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













          • 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





















          5














          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)






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            8














            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.






            share|improve this answer


























            • 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













            • 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


















            8














            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.






            share|improve this answer


























            • 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













            • 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
















            8












            8








            8







            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.






            share|improve this answer















            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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 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













            • 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





















            • 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













            • 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



















            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















            5














            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)






            share|improve this answer




























              5














              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)






              share|improve this answer


























                5












                5








                5







                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)






                share|improve this answer













                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)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 3 '16 at 17:08









                Mark LakataMark Lakata

                3851517




                3851517






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Histoire des bourses de valeurs

                    Why is there Russian traffic in my log files?

                    Rename multiple files to decrement number in file name?