Error: install Mustache PHP Extension error











up vote
-3
down vote

favorite












When I install "mustache" PHP extension with "pecl install mustache" command I get a error like "configure: error: libmustache not found" .



My PHP version is : PHP Version 7.2.11
My Mac version is : High Sierra (10.13.6)



[Error Detail is here][1]



`checking for libmustache files... configure: error: libmustache not 
found
ERROR: `/private/tmp/pear/temp/mustache/configure --with-php-
config=/usr/local/opt/php/bin/php-config' failed`









share|improve this question




























    up vote
    -3
    down vote

    favorite












    When I install "mustache" PHP extension with "pecl install mustache" command I get a error like "configure: error: libmustache not found" .



    My PHP version is : PHP Version 7.2.11
    My Mac version is : High Sierra (10.13.6)



    [Error Detail is here][1]



    `checking for libmustache files... configure: error: libmustache not 
    found
    ERROR: `/private/tmp/pear/temp/mustache/configure --with-php-
    config=/usr/local/opt/php/bin/php-config' failed`









    share|improve this question


























      up vote
      -3
      down vote

      favorite









      up vote
      -3
      down vote

      favorite











      When I install "mustache" PHP extension with "pecl install mustache" command I get a error like "configure: error: libmustache not found" .



      My PHP version is : PHP Version 7.2.11
      My Mac version is : High Sierra (10.13.6)



      [Error Detail is here][1]



      `checking for libmustache files... configure: error: libmustache not 
      found
      ERROR: `/private/tmp/pear/temp/mustache/configure --with-php-
      config=/usr/local/opt/php/bin/php-config' failed`









      share|improve this question















      When I install "mustache" PHP extension with "pecl install mustache" command I get a error like "configure: error: libmustache not found" .



      My PHP version is : PHP Version 7.2.11
      My Mac version is : High Sierra (10.13.6)



      [Error Detail is here][1]



      `checking for libmustache files... configure: error: libmustache not 
      found
      ERROR: `/private/tmp/pear/temp/mustache/configure --with-php-
      config=/usr/local/opt/php/bin/php-config' failed`






      php






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 9 at 8:04

























      asked Nov 9 at 7:54









      talha

      12




      12
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You are trying to install a php extension, but you are missing the underlying library. Install libmustache first, with (as it seems you are on macOS):



          brew install libmustache


          See https://github.com/jbboehr/libmustache for reference






          share|improve this answer























          • When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
            – talha
            Nov 9 at 8:16












          • @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
            – Andrea Golin
            Nov 9 at 8:19










          • I tried update but not think is change.
            – talha
            Nov 9 at 10:36











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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: 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%2fstackoverflow.com%2fquestions%2f53221758%2ferror-install-mustache-php-extension-error%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








          up vote
          0
          down vote













          You are trying to install a php extension, but you are missing the underlying library. Install libmustache first, with (as it seems you are on macOS):



          brew install libmustache


          See https://github.com/jbboehr/libmustache for reference






          share|improve this answer























          • When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
            – talha
            Nov 9 at 8:16












          • @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
            – Andrea Golin
            Nov 9 at 8:19










          • I tried update but not think is change.
            – talha
            Nov 9 at 10:36















          up vote
          0
          down vote













          You are trying to install a php extension, but you are missing the underlying library. Install libmustache first, with (as it seems you are on macOS):



          brew install libmustache


          See https://github.com/jbboehr/libmustache for reference






          share|improve this answer























          • When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
            – talha
            Nov 9 at 8:16












          • @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
            – Andrea Golin
            Nov 9 at 8:19










          • I tried update but not think is change.
            – talha
            Nov 9 at 10:36













          up vote
          0
          down vote










          up vote
          0
          down vote









          You are trying to install a php extension, but you are missing the underlying library. Install libmustache first, with (as it seems you are on macOS):



          brew install libmustache


          See https://github.com/jbboehr/libmustache for reference






          share|improve this answer














          You are trying to install a php extension, but you are missing the underlying library. Install libmustache first, with (as it seems you are on macOS):



          brew install libmustache


          See https://github.com/jbboehr/libmustache for reference







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 9 at 8:06

























          answered Nov 9 at 7:57









          Andrea Golin

          650314




          650314












          • When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
            – talha
            Nov 9 at 8:16












          • @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
            – Andrea Golin
            Nov 9 at 8:19










          • I tried update but not think is change.
            – talha
            Nov 9 at 10:36


















          • When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
            – talha
            Nov 9 at 8:16












          • @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
            – Andrea Golin
            Nov 9 at 8:19










          • I tried update but not think is change.
            – talha
            Nov 9 at 10:36
















          When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
          – talha
          Nov 9 at 8:16






          When I run that commad I get error like that ; Error: No available formula with the name "libmustache"
          – talha
          Nov 9 at 8:16














          @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
          – Andrea Golin
          Nov 9 at 8:19




          @talha your brew manager could be outdated. Try to catch up with brew update and brew upgrade
          – Andrea Golin
          Nov 9 at 8:19












          I tried update but not think is change.
          – talha
          Nov 9 at 10:36




          I tried update but not think is change.
          – talha
          Nov 9 at 10:36


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221758%2ferror-install-mustache-php-extension-error%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