You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by li...@colorjinn.com on 2008/01/29 18:34:55 UTC

install cvs2svn on mac

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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: install cvs2svn on mac

Posted by Blair Zajac <bl...@orcaware.com>.
lia@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org