[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: install cvs2svn on mac

From: Blair Zajac <blair_at_orcaware.com>
Date: Tue, 29 Jan 2008 10:54:30 -0800

lia_at_colorjinn.com wrote:
> Hello,
> I am a newbie (new to Mac OS, as well as to CVS,SVN and bash/sh)
> Already I installed SVN on my Mac OS X 10.4,
> and now I am trying to install cvs2svn.
>
> Although I did read the installation documentation,
> I accidentally run 'make install' as a normal user: 'Server'
> ~ Server$ cd Desktop/cvs2svn/cvs2svn-2.0.1
> ~/Desktop/cvs2svn/cvs2svn-2.0.1 Server$ make install
>
> Lots of things were copied, and in the end:
> running install_scripts
> copying build/scripts-2.3/cvs2svn ->
> /System/Library/Frameworks/Python.framework/Versions/2.3/bin
> error:
> /System/Library/Frameworks/Python.framework/Versions/2.3/bin/cvs2svn:
> Permission denied
> make: *** [install] Error 1
>
> I corrected my mistake and run 'make install' as root:
> ~ root# cd /Users/Server/Desktop/cvs2svn/cvs2svn-2.0.1/
> /Users/Server/Desktop/cvs2svn/cvs2svn-2.0.1 root# make install
> python ./setup.py install
> running install
> running build
> running build_py
> running build_scripts
> running install_lib
> running install_scripts
> changing mode of
> /System/Library/Frameworks/Python.framework/Versions/2.3/bin/cvs2svn to 755
>
> Now everything seems fine to me, so I log in as normal user 'Server' and
> try to execute cvs2svn:
> ~ Server$ cvs2svn -h
> -bash: cvs2svn: command not found
>
> Finally I experimented: export the path to cvs2svn and execute again.
> ~ Server$ export
> PATH=/System/Library/Frameworks/Python.framework/Versions/2.3/bin:$PATH
> ~ Server$ cvs2svn -h
> ERROR: your installation of Python does not contain a suitable
> DBM module -- cvs2svn cannot continue.
> See http://python.org/doc/current/lib/module-anydbm.html to solve.
>
> Now I am wondering, do I realy need the Berkeley DB?
> I read in the svn-book that at this moment
> the newer FSFS is the default data store as of Subversion 1.2.
> Today almost everyone uses the FSFS backend when creating new repositories.
> So I assume cvs2svn also won't need it anymore?
>
> Maybe I am just making a stupid mistake, I never did install things like
> this before.
> If any of you have a suggestion or hint, I would be very grateful!
> Thanks in advance, lia

As a general principle, I don't like to drop random files into sytem locations
if I can help it.

In this case, I suggest installing MacPorts and using it to install cvs2svn.
You'll get all the dependencies you need to use it. It installs everything into
/opt/local by default.

They have a cvs2svn port for 2.0.1.

http://www.macports.org/install.php
http://guide.macports.org/

You can also use MacPorts to install svn 1.4.6.

Regards,
Blair

-- 
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-29 19:55:06 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.