How do I fix these M4 macro errors?












4














I am trying to compile mate-desktop
but when I run ./autogen.sh the script terminates with these errors



Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
gtk-doc.m4 not found
yelp.m4 not found
***Error***: some autoconf macros required to build mate-desktop
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?


What do I need to do to get rid of these errors? I tired installing the latest versions of inittool, glib, gtk, yelp, etc... but I still get the macros errors.










share|improve this question
























  • Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
    – steeldriver
    Sep 13 '15 at 0:55










  • @steeldriver yes, the macros are in that directory, what should I do?
    – j0h
    Sep 13 '15 at 1:08






  • 1




    I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
    – steeldriver
    Sep 13 '15 at 1:32






  • 1




    You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
    – dobey
    Sep 13 '15 at 2:12










  • @steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
    – j0h
    Sep 13 '15 at 2:39
















4














I am trying to compile mate-desktop
but when I run ./autogen.sh the script terminates with these errors



Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
gtk-doc.m4 not found
yelp.m4 not found
***Error***: some autoconf macros required to build mate-desktop
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?


What do I need to do to get rid of these errors? I tired installing the latest versions of inittool, glib, gtk, yelp, etc... but I still get the macros errors.










share|improve this question
























  • Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
    – steeldriver
    Sep 13 '15 at 0:55










  • @steeldriver yes, the macros are in that directory, what should I do?
    – j0h
    Sep 13 '15 at 1:08






  • 1




    I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
    – steeldriver
    Sep 13 '15 at 1:32






  • 1




    You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
    – dobey
    Sep 13 '15 at 2:12










  • @steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
    – j0h
    Sep 13 '15 at 2:39














4












4








4







I am trying to compile mate-desktop
but when I run ./autogen.sh the script terminates with these errors



Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
gtk-doc.m4 not found
yelp.m4 not found
***Error***: some autoconf macros required to build mate-desktop
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?


What do I need to do to get rid of these errors? I tired installing the latest versions of inittool, glib, gtk, yelp, etc... but I still get the macros errors.










share|improve this question















I am trying to compile mate-desktop
but when I run ./autogen.sh the script terminates with these errors



Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
gtk-doc.m4 not found
yelp.m4 not found
***Error***: some autoconf macros required to build mate-desktop
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?


What do I need to do to get rid of these errors? I tired installing the latest versions of inittool, glib, gtk, yelp, etc... but I still get the macros errors.







software-installation compiling mate autoconf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 18 '18 at 16:33









Zanna

50.3k13133241




50.3k13133241










asked Sep 13 '15 at 0:33









j0hj0h

6,2701352113




6,2701352113












  • Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
    – steeldriver
    Sep 13 '15 at 0:55










  • @steeldriver yes, the macros are in that directory, what should I do?
    – j0h
    Sep 13 '15 at 1:08






  • 1




    I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
    – steeldriver
    Sep 13 '15 at 1:32






  • 1




    You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
    – dobey
    Sep 13 '15 at 2:12










  • @steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
    – j0h
    Sep 13 '15 at 2:39


















  • Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
    – steeldriver
    Sep 13 '15 at 0:55










  • @steeldriver yes, the macros are in that directory, what should I do?
    – j0h
    Sep 13 '15 at 1:08






  • 1




    I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
    – steeldriver
    Sep 13 '15 at 1:32






  • 1




    You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
    – dobey
    Sep 13 '15 at 2:12










  • @steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
    – j0h
    Sep 13 '15 at 2:39
















Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
– steeldriver
Sep 13 '15 at 0:55




Do the listed macros exist (in /usr/share/aclocal by default, I think) and the autogen script is simply not finding them - or are they actually missing?
– steeldriver
Sep 13 '15 at 0:55












@steeldriver yes, the macros are in that directory, what should I do?
– j0h
Sep 13 '15 at 1:08




@steeldriver yes, the macros are in that directory, what should I do?
– j0h
Sep 13 '15 at 1:08




1




1




I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
– steeldriver
Sep 13 '15 at 1:32




I don't know why it wouldn't be finding macros in (what I believe is) the standard directory, however you could try ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh. If you installed mate-common in /usr/local you may need to add that as well i.e. ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh
– steeldriver
Sep 13 '15 at 1:32




1




1




You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
– dobey
Sep 13 '15 at 2:12




You are missing the development packages for some of the dependencies. You'll need to install the appropriate -dev packages that provide those files.
– dobey
Sep 13 '15 at 2:12












@steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
– j0h
Sep 13 '15 at 2:39




@steeldriver That did it! Thanks! If you want to mark that in as answer I'll give it to you and this question can be solved!
– j0h
Sep 13 '15 at 2:39










1 Answer
1






active

oldest

votes


















8














By default, aclocal should search the /usr/share/aclocal directory for macros - as indicated by the --print-ac-dir option:



$ aclocal --print-ac-dir 
/usr/share/aclocal


However, if for some reason yours is failing to search there, you can add an explicit search path via the ACLOCAL_FLAGS environment variable e.g.



ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh


Note that both the mate-common and gtk-doc installations from github default to installing their m4 macros into /usr/local/share/aclocal which isn't searched by default even with a "working" aclocal; you can add this path the same way i.e.



ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh





share|improve this answer





















    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%2f673502%2fhow-do-i-fix-these-m4-macro-errors%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









    8














    By default, aclocal should search the /usr/share/aclocal directory for macros - as indicated by the --print-ac-dir option:



    $ aclocal --print-ac-dir 
    /usr/share/aclocal


    However, if for some reason yours is failing to search there, you can add an explicit search path via the ACLOCAL_FLAGS environment variable e.g.



    ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh


    Note that both the mate-common and gtk-doc installations from github default to installing their m4 macros into /usr/local/share/aclocal which isn't searched by default even with a "working" aclocal; you can add this path the same way i.e.



    ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh





    share|improve this answer


























      8














      By default, aclocal should search the /usr/share/aclocal directory for macros - as indicated by the --print-ac-dir option:



      $ aclocal --print-ac-dir 
      /usr/share/aclocal


      However, if for some reason yours is failing to search there, you can add an explicit search path via the ACLOCAL_FLAGS environment variable e.g.



      ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh


      Note that both the mate-common and gtk-doc installations from github default to installing their m4 macros into /usr/local/share/aclocal which isn't searched by default even with a "working" aclocal; you can add this path the same way i.e.



      ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh





      share|improve this answer
























        8












        8








        8






        By default, aclocal should search the /usr/share/aclocal directory for macros - as indicated by the --print-ac-dir option:



        $ aclocal --print-ac-dir 
        /usr/share/aclocal


        However, if for some reason yours is failing to search there, you can add an explicit search path via the ACLOCAL_FLAGS environment variable e.g.



        ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh


        Note that both the mate-common and gtk-doc installations from github default to installing their m4 macros into /usr/local/share/aclocal which isn't searched by default even with a "working" aclocal; you can add this path the same way i.e.



        ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh





        share|improve this answer












        By default, aclocal should search the /usr/share/aclocal directory for macros - as indicated by the --print-ac-dir option:



        $ aclocal --print-ac-dir 
        /usr/share/aclocal


        However, if for some reason yours is failing to search there, you can add an explicit search path via the ACLOCAL_FLAGS environment variable e.g.



        ACLOCAL_FLAGS="-I /usr/share/aclocal" ./autogen.sh


        Note that both the mate-common and gtk-doc installations from github default to installing their m4 macros into /usr/local/share/aclocal which isn't searched by default even with a "working" aclocal; you can add this path the same way i.e.



        ACLOCAL_FLAGS="-I /usr/share/aclocal -I /usr/local/share/aclocal" ./autogen.sh






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 13 '15 at 14:32









        steeldriversteeldriver

        66k11105178




        66k11105178






























            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%2f673502%2fhow-do-i-fix-these-m4-macro-errors%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

            Mont Emei

            Province de Neuquén

            Soliste