Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac OS Install commands - old path and missing sudo #9

Open
gramss opened this issue Apr 9, 2017 · 4 comments
Open

mac OS Install commands - old path and missing sudo #9

gramss opened this issue Apr 9, 2017 · 4 comments

Comments

@gramss
Copy link

gramss commented Apr 9, 2017

hi,

I did your tutorial for macOS on 10.12.3 from here https://gnuarmeclipse.github.io/toolchain/install/#macos

the tar command and chmod both needs a sudo in front. Maybe on older versions the shell might kept sudo rights? And the test command is linking to the old version ->2014 in the path name.

Thanks for the great write up! :) 👍

@ilg-ul
Copy link
Member

ilg-ul commented Apr 9, 2017

can you be more specific on the folder used and the exact commands? writing to the ${HOME}/opt folder should not require sudo.

@gramss
Copy link
Author

gramss commented Apr 9, 2017

the old command is

${HOME}/opt/gcc-arm-none-eabi-4_8-2014q1/bin/arm-none-eabi-gcc --version
                              ^^^^^^^^^^

should be:

${HOME}/opt/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc --version
                              ^^^^^^^^^^^^^^^^

it was maybe only touched at the first init of this page?

I did the tar without sudo in first place but it was giving me an error for every file I wanted to extract.
So I killed the process and looked int the opt folder which was empty. With sudo everything worked.

one error line out of thousands:

gcc-arm-none-eabi-6-2017-q1-update/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Output-Syntax.html: Failed to create dir 'gcc-arm-none-eabi-6-2017-q1-update'Can't create 'gcc-arm-none-eabi-6-2017-q1-update/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Output-Syntax.html'

@gramss
Copy link
Author

gramss commented Apr 9, 2017

sorry the spaces in front of my ^^^^ were optimized ....
It's about the release name of the packages

@ilg-ul
Copy link
Member

ilg-ul commented Apr 9, 2017

(for formatting, you should use code sections; I fixed your post)

as for the page, right, the instructions were wrong, the first mkdir should not use sudo at all; I updated the page, please check if it is ok now, preferably by renaming the toolchain folder and re-issuing the commands again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants