Why I obtain this error message when I try to compile cgminer? autoreconf error











up vote
0
down vote

favorite












I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0



In particular the installation steps are these:



git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make


I have some problem when I try to execute the third step infact when I try to execute the autoreconf command I obtain the following error message:



pi@raspberrypi ~/download/usb-miner/software/cgminer $ autoreconf -i
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


Why? What can I do to solve this issue?



What exactly do the autoreconf command? and what is the autom4te.cache?



Tnx










share|improve this question






















  • Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
    – Ramhound
    Jun 2 '14 at 12:35










  • mmm and what can I try to do to solve this issue?
    – AndreaNobili
    Jun 2 '14 at 12:41










  • create the folder with the correct permissions
    – Ramhound
    Jun 2 '14 at 12:57






  • 1




    mmm but what folder? and where?
    – AndreaNobili
    Jun 2 '14 at 13:29










  • rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
    – AndreaNobili
    Jun 2 '14 at 13:30















up vote
0
down vote

favorite












I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0



In particular the installation steps are these:



git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make


I have some problem when I try to execute the third step infact when I try to execute the autoreconf command I obtain the following error message:



pi@raspberrypi ~/download/usb-miner/software/cgminer $ autoreconf -i
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


Why? What can I do to solve this issue?



What exactly do the autoreconf command? and what is the autom4te.cache?



Tnx










share|improve this question






















  • Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
    – Ramhound
    Jun 2 '14 at 12:35










  • mmm and what can I try to do to solve this issue?
    – AndreaNobili
    Jun 2 '14 at 12:41










  • create the folder with the correct permissions
    – Ramhound
    Jun 2 '14 at 12:57






  • 1




    mmm but what folder? and where?
    – AndreaNobili
    Jun 2 '14 at 13:29










  • rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
    – AndreaNobili
    Jun 2 '14 at 13:30













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0



In particular the installation steps are these:



git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make


I have some problem when I try to execute the third step infact when I try to execute the autoreconf command I obtain the following error message:



pi@raspberrypi ~/download/usb-miner/software/cgminer $ autoreconf -i
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


Why? What can I do to solve this issue?



What exactly do the autoreconf command? and what is the autom4te.cache?



Tnx










share|improve this question













I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0



In particular the installation steps are these:



git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make


I have some problem when I try to execute the third step infact when I try to execute the autoreconf command I obtain the following error message:



pi@raspberrypi ~/download/usb-miner/software/cgminer $ autoreconf -i
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


Why? What can I do to solve this issue?



What exactly do the autoreconf command? and what is the autom4te.cache?



Tnx







linux debian raspberry-pi make autoconf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 2 '14 at 12:31









AndreaNobili

2,36282028




2,36282028












  • Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
    – Ramhound
    Jun 2 '14 at 12:35










  • mmm and what can I try to do to solve this issue?
    – AndreaNobili
    Jun 2 '14 at 12:41










  • create the folder with the correct permissions
    – Ramhound
    Jun 2 '14 at 12:57






  • 1




    mmm but what folder? and where?
    – AndreaNobili
    Jun 2 '14 at 13:29










  • rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
    – AndreaNobili
    Jun 2 '14 at 13:30


















  • Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
    – Ramhound
    Jun 2 '14 at 12:35










  • mmm and what can I try to do to solve this issue?
    – AndreaNobili
    Jun 2 '14 at 12:41










  • create the folder with the correct permissions
    – Ramhound
    Jun 2 '14 at 12:57






  • 1




    mmm but what folder? and where?
    – AndreaNobili
    Jun 2 '14 at 13:29










  • rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
    – AndreaNobili
    Jun 2 '14 at 13:30
















Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
– Ramhound
Jun 2 '14 at 12:35




Its a cache file. Its attempting to generate the file in that folder on your system, and either at folder does not exist or the permissions are wrong.
– Ramhound
Jun 2 '14 at 12:35












mmm and what can I try to do to solve this issue?
– AndreaNobili
Jun 2 '14 at 12:41




mmm and what can I try to do to solve this issue?
– AndreaNobili
Jun 2 '14 at 12:41












create the folder with the correct permissions
– Ramhound
Jun 2 '14 at 12:57




create the folder with the correct permissions
– Ramhound
Jun 2 '14 at 12:57




1




1




mmm but what folder? and where?
– AndreaNobili
Jun 2 '14 at 13:29




mmm but what folder? and where?
– AndreaNobili
Jun 2 '14 at 13:29












rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
– AndreaNobili
Jun 2 '14 at 13:30




rhe folder is: "/download/usb-miner/software/cgminer" or "/usr/bin/autom4te" or what else?
– AndreaNobili
Jun 2 '14 at 13:30










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache



sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer


Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f762631%2fwhy-i-obtain-this-error-message-when-i-try-to-compile-cgminer-autoreconf-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













    The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache



    sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer


    Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.






    share|improve this answer



























      up vote
      0
      down vote













      The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache



      sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer


      Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache



        sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer


        Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.






        share|improve this answer














        The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache



        sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer


        Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 30 at 19:04









        JakeGould

        30.8k1093137




        30.8k1093137










        answered Jul 4 '17 at 11:09









        dbkeys

        1012




        1012






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f762631%2fwhy-i-obtain-this-error-message-when-i-try-to-compile-cgminer-autoreconf-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







            Popular posts from this blog

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix