git-ftp / git-ftp

Uses Git to upload only changed files to FTP servers.
https://git-ftp.github.io/
GNU General Public License v3.0
5.49k stars 688 forks source link

No brew bottle availabe git-ftp – macOS Big Sur #607

Open TitasBin opened 3 years ago

TitasBin commented 3 years ago

hi i have trouble to install git-ftp on mac pro 2020, m1 chip, big sur.

few commands that i google it or see on issues on this github.

brew install git-ftp
Error: git-ftp: no bottle available!
You can try to install from source with:
  brew install --build-from-source git-ftp
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
brew doctor
Your system is ready to brew.
brew config 
HOMEBREW_VERSION: 3.0.4-64-g31a4989
ORIGIN: https://github.com/Homebrew/brew
HEAD: 31a4989358f0a5bf5be3ea4695053677ab528f28
Last commit: 16 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e8d370ac4156cbae40bdebd90de9f0dfea30870b
Core tap last commit: 52 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1205
Git: 2.30.1 => /opt/homebrew/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.2-arm64
CLT: 12.5.0.0.1.1614332431
Xcode: N/A
Rosetta 2: false

it is mac or me not doing it right. Using these instructions https://github.com/git-ftp/git-ftp/blob/master/INSTALL.md#macos

TitasBin commented 3 years ago

if anyone has the same issue as me, just follow instuctions

git clone https://github.com/git-ftp/git-ftp.git
cd git-ftp
git checkout master
sudo make install

these helps me install git ftp without brew and errors.

LukasFritzeDev commented 3 years ago

As said here you can always install Git-ftp using the manual installation. It’s even possible without cloning the repo. Just follow the to installation steps for using direct download.

But I agree. It would be great to have a bottle for the new macOS architecture. I’ll rename and reopen this issue for this purpose.

TitasBin commented 3 years ago

As said here you can always install Git-ftp using the manual installation. It’s even possible without cloning the repo. Just follow the to installation steps for using direct download.

But I agree. It would be great to have a bottle for the new macOS architecture. I’ll rename and reopen this issue for this purpose.

I tried but no luck with these instructions on your link. But with these on my second comment i have successfully installed git ftp. :)

Overall my problem was solved.

LukasFritzeDev commented 3 years ago

Are you sure the directory you used to install Git-ftp is in your $path?

We use /bin as the installation location in the manual. 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. You can check what's in your $path by calling echo $path.

subdesign commented 2 years ago

It works for me at 27.02.2022. Big Sur 11.6.4.

Screenshot 2022-02-27 at 10 26 39