libnotify, PKG_CONFIG_PATH












1














I am installing spidermonkey on Ubuntu 11.10. When running ./configure I receive a dependency error that libnotify >= 0.4 is not met.



Located the package in Ubuntu as



gir1.2-notify-0.7


So then I found out where it was installed.



renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ dpkg -L gir1.2-notify-0.7
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/gir1.2-notify-0.7
/usr/share/doc/gir1.2-notify-0.7/copyright
/usr/lib
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Notify-0.7.typelib
/usr/share/doc/gir1.2-notify-0.7/AUTHORS
/usr/share/doc/gir1.2-notify-0.7/NEWS.gz
/usr/share/doc/gir1.2-notify-0.7/changelog.Debian.gz


So then I have attempted to add this to PKG_CONFIG_PATH with



export PKG_CONFIG_PATH=/usr/lib/:/usr/lib/girepository-1.0/Notify-0.7.typelib


However I still receive the error.



configure: error: Library requirements (libnotify >= 0.4) not met;


How can I get ./configure to see libnotify as gir1.2-notify-0.7?










share|improve this question





























    1














    I am installing spidermonkey on Ubuntu 11.10. When running ./configure I receive a dependency error that libnotify >= 0.4 is not met.



    Located the package in Ubuntu as



    gir1.2-notify-0.7


    So then I found out where it was installed.



    renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ dpkg -L gir1.2-notify-0.7
    /.
    /usr
    /usr/share
    /usr/share/doc
    /usr/share/doc/gir1.2-notify-0.7
    /usr/share/doc/gir1.2-notify-0.7/copyright
    /usr/lib
    /usr/lib/girepository-1.0
    /usr/lib/girepository-1.0/Notify-0.7.typelib
    /usr/share/doc/gir1.2-notify-0.7/AUTHORS
    /usr/share/doc/gir1.2-notify-0.7/NEWS.gz
    /usr/share/doc/gir1.2-notify-0.7/changelog.Debian.gz


    So then I have attempted to add this to PKG_CONFIG_PATH with



    export PKG_CONFIG_PATH=/usr/lib/:/usr/lib/girepository-1.0/Notify-0.7.typelib


    However I still receive the error.



    configure: error: Library requirements (libnotify >= 0.4) not met;


    How can I get ./configure to see libnotify as gir1.2-notify-0.7?










    share|improve this question



























      1












      1








      1


      1





      I am installing spidermonkey on Ubuntu 11.10. When running ./configure I receive a dependency error that libnotify >= 0.4 is not met.



      Located the package in Ubuntu as



      gir1.2-notify-0.7


      So then I found out where it was installed.



      renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ dpkg -L gir1.2-notify-0.7
      /.
      /usr
      /usr/share
      /usr/share/doc
      /usr/share/doc/gir1.2-notify-0.7
      /usr/share/doc/gir1.2-notify-0.7/copyright
      /usr/lib
      /usr/lib/girepository-1.0
      /usr/lib/girepository-1.0/Notify-0.7.typelib
      /usr/share/doc/gir1.2-notify-0.7/AUTHORS
      /usr/share/doc/gir1.2-notify-0.7/NEWS.gz
      /usr/share/doc/gir1.2-notify-0.7/changelog.Debian.gz


      So then I have attempted to add this to PKG_CONFIG_PATH with



      export PKG_CONFIG_PATH=/usr/lib/:/usr/lib/girepository-1.0/Notify-0.7.typelib


      However I still receive the error.



      configure: error: Library requirements (libnotify >= 0.4) not met;


      How can I get ./configure to see libnotify as gir1.2-notify-0.7?










      share|improve this question















      I am installing spidermonkey on Ubuntu 11.10. When running ./configure I receive a dependency error that libnotify >= 0.4 is not met.



      Located the package in Ubuntu as



      gir1.2-notify-0.7


      So then I found out where it was installed.



      renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ dpkg -L gir1.2-notify-0.7
      /.
      /usr
      /usr/share
      /usr/share/doc
      /usr/share/doc/gir1.2-notify-0.7
      /usr/share/doc/gir1.2-notify-0.7/copyright
      /usr/lib
      /usr/lib/girepository-1.0
      /usr/lib/girepository-1.0/Notify-0.7.typelib
      /usr/share/doc/gir1.2-notify-0.7/AUTHORS
      /usr/share/doc/gir1.2-notify-0.7/NEWS.gz
      /usr/share/doc/gir1.2-notify-0.7/changelog.Debian.gz


      So then I have attempted to add this to PKG_CONFIG_PATH with



      export PKG_CONFIG_PATH=/usr/lib/:/usr/lib/girepository-1.0/Notify-0.7.typelib


      However I still receive the error.



      configure: error: Library requirements (libnotify >= 0.4) not met;


      How can I get ./configure to see libnotify as gir1.2-notify-0.7?







      libnotify pkg-config






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 11 at 9:41









      muru

      1




      1










      asked Jan 27 '12 at 0:00









      sayth

      65921227




      65921227






















          1 Answer
          1






          active

          oldest

          votes


















          6














          You need to install the *-dev packages if you need to compile something using that library.



          In your case you need libnotify-dev. Install it (sudo apt install libnotify-dev) and run ./configure again.






          share|improve this answer























          • For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
            – Noam Manos
            Jun 24 at 13:04











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f98868%2flibnotify-pkg-config-path%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6














          You need to install the *-dev packages if you need to compile something using that library.



          In your case you need libnotify-dev. Install it (sudo apt install libnotify-dev) and run ./configure again.






          share|improve this answer























          • For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
            – Noam Manos
            Jun 24 at 13:04
















          6














          You need to install the *-dev packages if you need to compile something using that library.



          In your case you need libnotify-dev. Install it (sudo apt install libnotify-dev) and run ./configure again.






          share|improve this answer























          • For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
            – Noam Manos
            Jun 24 at 13:04














          6












          6








          6






          You need to install the *-dev packages if you need to compile something using that library.



          In your case you need libnotify-dev. Install it (sudo apt install libnotify-dev) and run ./configure again.






          share|improve this answer














          You need to install the *-dev packages if you need to compile something using that library.



          In your case you need libnotify-dev. Install it (sudo apt install libnotify-dev) and run ./configure again.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 11 at 9:39









          M-Razavi

          1086




          1086










          answered Jan 27 '12 at 0:38









          Bruno Pereira

          59.4k26179206




          59.4k26179206












          • For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
            – Noam Manos
            Jun 24 at 13:04


















          • For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
            – Noam Manos
            Jun 24 at 13:04
















          For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
          – Noam Manos
          Jun 24 at 13:04




          For RHEL I got it from here: yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libnotify-devel-0.7.7-1.el7.x86_64.rpm
          – Noam Manos
          Jun 24 at 13:04


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


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





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2faskubuntu.com%2fquestions%2f98868%2flibnotify-pkg-config-path%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei