Homebrew aspell directory not writable










0















I am having some difficulties. This started with a broader question but I seem (with some help from this list) to have narrowed things down a bit. My original query is at Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery



(And, yes, I am embarrassed at the spelling error in the title).



I have narrowed (with some help from that question) to narrow my problem down to the Homebrew installation of aspell. The command brew install aspell gives the following error.



Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink lib/aspell-0.60/american-variant_0.alias
/usr/local/lib/aspell-0.60 is not writable.

You can try again using:
brew link aspell


If I try brew link aspell I get the following error:



Linking /usr/local/Cellar/aspell/0.60.6.1_1... 
Error: Could not symlink lib/aspell-0.60/american-variant_0.alias
/usr/local/lib/aspell-0.60 is not writable.


File permissions on aspell are



drwxr-xr-x 89 root wheel 2848 7 Nov 2016 aspell-0.60


brew doctor gives



Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that
depend on
those kegs to fail to run properly once built. Run `brew link` on
these:
aspell


It also tells me I need to update from XCode 9.3 to XCode 10.1, but since I am still running MacOS 10.13.4, I think I do not need to do this.



Any help greatly appreciated.










share|improve this question


























    0















    I am having some difficulties. This started with a broader question but I seem (with some help from this list) to have narrowed things down a bit. My original query is at Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery



    (And, yes, I am embarrassed at the spelling error in the title).



    I have narrowed (with some help from that question) to narrow my problem down to the Homebrew installation of aspell. The command brew install aspell gives the following error.



    Error: The `brew link` step did not complete successfully
    The formula built, but is not symlinked into /usr/local
    Could not symlink lib/aspell-0.60/american-variant_0.alias
    /usr/local/lib/aspell-0.60 is not writable.

    You can try again using:
    brew link aspell


    If I try brew link aspell I get the following error:



    Linking /usr/local/Cellar/aspell/0.60.6.1_1... 
    Error: Could not symlink lib/aspell-0.60/american-variant_0.alias
    /usr/local/lib/aspell-0.60 is not writable.


    File permissions on aspell are



    drwxr-xr-x 89 root wheel 2848 7 Nov 2016 aspell-0.60


    brew doctor gives



    Warning: You have unlinked kegs in your Cellar
    Leaving kegs unlinked can lead to build-trouble and cause brews that
    depend on
    those kegs to fail to run properly once built. Run `brew link` on
    these:
    aspell


    It also tells me I need to update from XCode 9.3 to XCode 10.1, but since I am still running MacOS 10.13.4, I think I do not need to do this.



    Any help greatly appreciated.










    share|improve this question
























      0












      0








      0








      I am having some difficulties. This started with a broader question but I seem (with some help from this list) to have narrowed things down a bit. My original query is at Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery



      (And, yes, I am embarrassed at the spelling error in the title).



      I have narrowed (with some help from that question) to narrow my problem down to the Homebrew installation of aspell. The command brew install aspell gives the following error.



      Error: The `brew link` step did not complete successfully
      The formula built, but is not symlinked into /usr/local
      Could not symlink lib/aspell-0.60/american-variant_0.alias
      /usr/local/lib/aspell-0.60 is not writable.

      You can try again using:
      brew link aspell


      If I try brew link aspell I get the following error:



      Linking /usr/local/Cellar/aspell/0.60.6.1_1... 
      Error: Could not symlink lib/aspell-0.60/american-variant_0.alias
      /usr/local/lib/aspell-0.60 is not writable.


      File permissions on aspell are



      drwxr-xr-x 89 root wheel 2848 7 Nov 2016 aspell-0.60


      brew doctor gives



      Warning: You have unlinked kegs in your Cellar
      Leaving kegs unlinked can lead to build-trouble and cause brews that
      depend on
      those kegs to fail to run properly once built. Run `brew link` on
      these:
      aspell


      It also tells me I need to update from XCode 9.3 to XCode 10.1, but since I am still running MacOS 10.13.4, I think I do not need to do this.



      Any help greatly appreciated.










      share|improve this question














      I am having some difficulties. This started with a broader question but I seem (with some help from this list) to have narrowed things down a bit. My original query is at Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery



      (And, yes, I am embarrassed at the spelling error in the title).



      I have narrowed (with some help from that question) to narrow my problem down to the Homebrew installation of aspell. The command brew install aspell gives the following error.



      Error: The `brew link` step did not complete successfully
      The formula built, but is not symlinked into /usr/local
      Could not symlink lib/aspell-0.60/american-variant_0.alias
      /usr/local/lib/aspell-0.60 is not writable.

      You can try again using:
      brew link aspell


      If I try brew link aspell I get the following error:



      Linking /usr/local/Cellar/aspell/0.60.6.1_1... 
      Error: Could not symlink lib/aspell-0.60/american-variant_0.alias
      /usr/local/lib/aspell-0.60 is not writable.


      File permissions on aspell are



      drwxr-xr-x 89 root wheel 2848 7 Nov 2016 aspell-0.60


      brew doctor gives



      Warning: You have unlinked kegs in your Cellar
      Leaving kegs unlinked can lead to build-trouble and cause brews that
      depend on
      those kegs to fail to run properly once built. Run `brew link` on
      these:
      aspell


      It also tells me I need to update from XCode 9.3 to XCode 10.1, but since I am still running MacOS 10.13.4, I think I do not need to do this.



      Any help greatly appreciated.







      homebrew aspell






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 '18 at 1:03









      user1519289user1519289

      3918




      3918






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The info at Homebrew: Could not symlink, /usr/local/bin is not writable was helpful. I had to sudo chown -Rwhoami:admin /usr/local/lib. Then after unintalling and reinstalling aspell with Homebrew, I had to brew link --overwrite aspell. Everything works now.






          share|improve this answer






















            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',
            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%2fstackoverflow.com%2fquestions%2f53311005%2fhomebrew-aspell-directory-not-writable%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









            0














            The info at Homebrew: Could not symlink, /usr/local/bin is not writable was helpful. I had to sudo chown -Rwhoami:admin /usr/local/lib. Then after unintalling and reinstalling aspell with Homebrew, I had to brew link --overwrite aspell. Everything works now.






            share|improve this answer



























              0














              The info at Homebrew: Could not symlink, /usr/local/bin is not writable was helpful. I had to sudo chown -Rwhoami:admin /usr/local/lib. Then after unintalling and reinstalling aspell with Homebrew, I had to brew link --overwrite aspell. Everything works now.






              share|improve this answer

























                0












                0








                0







                The info at Homebrew: Could not symlink, /usr/local/bin is not writable was helpful. I had to sudo chown -Rwhoami:admin /usr/local/lib. Then after unintalling and reinstalling aspell with Homebrew, I had to brew link --overwrite aspell. Everything works now.






                share|improve this answer













                The info at Homebrew: Could not symlink, /usr/local/bin is not writable was helpful. I had to sudo chown -Rwhoami:admin /usr/local/lib. Then after unintalling and reinstalling aspell with Homebrew, I had to brew link --overwrite aspell. Everything works now.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 18 '18 at 23:40









                user1519289user1519289

                3918




                3918





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f53311005%2fhomebrew-aspell-directory-not-writable%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







                    這個網誌中的熱門文章

                    Barbados

                    How to read a connectionString WITH PROVIDER in .NET Core?

                    Node.js Script on GitHub Pages or Amazon S3