I am trying to install cvs2svn on a Solaris 10 machine. It has Python 2.4.4 on it. I do not have root access. When I downloaded cvs2svn and tried to start it, he said
ERROR: cvs2svn uses the anydbm package, which depends on the lower level dbm libraries. Your system has dbm, which cvs2svn is known to have problems with. To use cvs2svn, you must install a Python dbm library other than dumbdbm or dbm. See http://python.org/doc/current/lib/module-anydbm.html for more details .
I downloaded gdbm, compiled and installed it in my home directory. How can I install the Python gdbm module that works with anydbm? Google doesn't help ...
I downloaded Python 2.5.1 and compiled it from the source. I made sure my gdbm libraries are in the appropriate paths and use altinstall in my home directory. Now I can run cvs2svn with my personal copy of python.
Set the environment variable $PYTHONPATHto indicate where you installed gdbm. Then, when you run cvs2svn, the anybdm module should find gdbmsuccessfully.
$PYTHONPATH
gdbm
cvs2svn
To install gdbm for Python, try:
pip install gdbm
If pipnot, install it by: easy_install pip.
pip
easy_install pip
On OSX, you can try (if installed brew):
brew
brew install gdbm
Source: https://habr.com/ru/post/1713699/More articles:Confirm Gridview - c #Visual Studio 2008 & Override LanguageService для существующего расширения файла - javascriptScrolling to Range in UITextView - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1713697/alternative-to-cvs2svn-for-performing-cvs-to-svn-migration&usg=ALkJrhhP-vQgtKSDiYbKyPQrYtEDI2VHbQText in HTTP headers - httpAre column ordering taken into account when creating statistics for Microsoft SQL Server? - databaseHow can I make comments, for example in stackoverflow? - commentsHow to implement the spectrum core function in MATLAB? - matlabWhat happens when you run out of ram with mlockall set? - c ++Выполнение текущего Python script в Emacs в Windows - pythonAll Articles