Created
October 17, 2013 17:37
-
-
Save markjaquith/7029068 to your computer and use it in GitHub Desktop.
How to get git-svn working in OS X Mavericks with Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo xcodebuild -license | |
xcode-select --install # There will be a GUI prompt | |
sudo cpan SVN::Core # use the "sudo" method when prompted | |
# Then add this to your ~/.profile: | |
# export PATH=/Library/Developer/CommandLineTools/usr/bin:$PATH | |
# Then probably: | |
brew reinstall git | |
brew reinstall subversion |
sudo cpan SVN::Core # use the "sudo" method when prompted
I didn't use the sudo
Then I find that I can't re install perl for sudo, what should I do?
Thanks, worked on my el capitan
Hack for macOS Catalina:
sudo bash -c 'PATH=$PATH:/usr/local/opt/apr-util/bin:/usr/local/opt/apr/bin LD_LIBRARY_PATH="${LD_LIBRARY_PATH}":/usr/local/opt/apr/libexec/lib cpan SVN::Core'
export PERL5LIB="/usr/local/opt/subversion/lib/perl5/site_perl/5.30.1/darwin-thread-multi-2level/${PERL5LIB+:}${PERL5LIB}"
- Fix problem with hardcoded perl Homebrew/homebrew-core#52490 (comment)
Thanks Grigory works like a charm.
Thanks Grigory works like a charm.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this worked for me like a charm :)