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

Apple Silicon (M1) support? #599

Closed
michaelfanta opened this issue Jan 14, 2021 · 6 comments
Closed

Apple Silicon (M1) support? #599

michaelfanta opened this issue Jan 14, 2021 · 6 comments
Labels

Comments

@michaelfanta
Copy link

Hello to everybody,

I would like to ask if there is any support for Apple Silicon (M1) processors.

Or do you have no experience with installation? My installation always fails with the unnecessary "ghc" package, which is not supported by M1 processors.

Thank you for any response.
Enjoy the rest of your day.

@mkllnk
Copy link
Member

mkllnk commented Jan 14, 2021

Hello. I think ghc is only used to produce the documentation (man file). The main script just needs bash and curl. So if you get those two binaries, you can just copy the git-ftp script without any compilation.

@michaelfanta
Copy link
Author

And can't you please advise me how to do it?

I run the installation via "brew install --build-from-source git-ftp", because classically it cannot be completed via "brew install git-ftp".

Installation via "brew install --build-from-source git-ftp" will end with error:

Installing dependencies for git-ftp: ghc@8.8, ghc, cabal-install, pandoc and libssh2
ghc@8.8: The x86_64 architecture is required for this software.
Error: An unsatisfied requirement failed this build.

I'm new to macOS, Windows is relatively easy to install, but I need it to work on my MacBook.

Thank you for any response.
Enjoy the rest of your day.

@LukasFritzeDev
Copy link
Collaborator

Just stick to installation steps for using direct download.

We use /bin as the installation location there. I’d recommend /usr/local/bin or /usr/bin, because /bin should be reserved for OS scripts. Just make sure the location is in your $path variable, so the script will be found by bash/zsh.

@michaelfanta
Copy link
Author

Thank you all very much,
but quite complicated for me at the moment, so I chose a solution for now using the GitFTP-Deploy tool:

https://gitftp-deploy.com/

For the moment, it serves a purpose. Perhaps support for the missing libraries will soon open for M1 as well.

Once again, I would like to thank you all for your help.

Good luck to everyone :)

@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have found a solution for this, it would be great if you could share it here to help others. Thank you for your question.

@stale stale bot added the stale label Jun 2, 2021
@stale
Copy link

stale bot commented Jul 2, 2021

This issue will get closed for now but please feel free to re-open it if you still have this problem with Git-ftp.

@stale stale bot closed this as completed Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants