Re: cvs2svn zlib issue

Kevin Grover <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
On Tue, Jul 14, 2009 at 6:40 AM, <[email protected]> wrote:

> I have installed Python 2.6.2, cvs2svn 2.2, core utils and even zlib 1.2.3
> on HP UX B.11.11.
> When i executed cvs2svn i'm getting the following error, please do the
> needful and respond ASAP
>
> Traceback (most recent call last):
>  File "/usr/local/bin/cvs2svn", line 27, in <module>
>    from cvs2svn_lib.main import main
>  File "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/main.py", line
> 30, in <module>
>    from cvs2svn_lib.run_options import RunOptions
>  File "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/run_options.py",
> line 38, in <module>
>    from cvs2svn_lib.svn_output_option import DumpfileOutputOption
>  File
> "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/svn_output_option.py",
> line 43, in <module>
>    from cvs2svn_lib.repository_mirror import RepositoryMirror
>  File
> "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/repository_mirror.py",
> line 146, in <module>
>    from cvs2svn_lib.serializer import MarshalSerializer
>  File "/usr/local/lib/python2.6/site-packages/cvs2svn_lib/serializer.py",
> line 23, in <module>
>    import zlib
> ImportError: No module named zlib
>
>
> 1. I have tried compiling python -c 'import zlib' even though it gets the
> following error.
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> ImportError: No module named zlib
>
>
> Thanks in advance
> Shyam
>
> ------------------------------------------------------
>
> http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2371233
>
> To unsubscribe from this discussion, e-mail: [
> [email protected]].
>

You don't need zlib (the library), you need the Python bindings to zlib.  It
should be part of a standard install.

Did you build Python yourself and NOT have zlib installed at that time?

This command will test for the presence of the bindings

python -c "import zlib"

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2371641

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.