I am using a Macbook. Now I want to play with GIT and the Subversion-Support of this. After some searching with Google I found this Blog-Entry. If mentioned there is is very easy to install git-svn:
- Install Darwinports
- install subversion-perlbindings
- install git-core +svn
Instead of Darwinports I want to use Macports. There is a image for SnowLeopard you can download here. After the installation it were very easy to use Macports. The next step is to uínstall the subversion-perlbindings. This is done with a
sudo port install subversion-perlbindings
and some time. This works very fine…I thought ![]()
The problem begins with the installation of git-core +svn.
sudo port install git-core +svn
stops with an error if curl should be installed:
Error: Target org.macports.destroot returned: error copying
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot"
to
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot-x86_64/destroot":
file already exists
After some searching with Google I found this Bugentry. The solution was to install zlib +universal first. But this doesn’t work for me ![]()
So I decided to uninstall all of Macport and start a new try:
sudo port -f uninstall installed
sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
At next I am reinstalling the Macport image followed by
sudo port install subversion-perlbindings
sudo port install zlib +universal
sudo port install git-core +svn
And it works