Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1243

Documentation for cvs2svn needs to explain about python module path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: unscheduled
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Solaris

      Description

      We do everything with --prefix here, using a symlink system from
      /opt/depot.
      
      The instructions in tools/cvs2svn/README make no mention of the fact
      that the 'svn' directory needs to be in some python path so that the
      cvs2svn.py script can import the svn modules.  Presumably when
      everything is installed into the default locations under /usr/local
      this happens 'automagically', but I had to manually symlink 
      
        /opt/depot/subversion-0.20.1/lib/svn-python/svn
      
      to
      
       svn
      
      in the tools/cvs2svn directory.  Once the svn link was in . (and after
      I resolved the APR problem with gcc on Solaris), I was able to run the
      script.
      
      It would have been nice if the documentation had mentioned this, or
      otherwise gave advice on how to make python find the svn shared libs
      built by swig.
      

      Original issue reported by jonabbey

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: