cmake error: could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite












Hi 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. Can anyone guide me how to resolve this 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



























    up vote
    4
    down vote

    favorite












    Hi 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. Can anyone guide me how to resolve this 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

























      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      Hi 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. Can anyone guide me how to resolve this 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















      Hi 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. Can anyone guide me how to resolve this 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 Feb 17 '15 at 14:25









      Stephen Kitt

      149k23328396




      149k23328396










      asked Feb 17 '15 at 4:47









      Santosh Linkha

      14319




      14319




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          7
          down vote



          accepted










          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


















          up vote
          4
          down vote













          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            7
            down vote



            accepted










            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















            up vote
            7
            down vote



            accepted










            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













            up vote
            7
            down vote



            accepted







            up vote
            7
            down vote



            accepted






            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 Kitt

            149k23328396




            149k23328396











            • 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













            up vote
            4
            down vote













            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
























              up vote
              4
              down vote













              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






















                up vote
                4
                down vote










                up vote
                4
                down vote









                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 Lakata

                3511317




                3511317



























                     

                    draft saved


                    draft discarded















































                     


                    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













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay