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

compilation errors for python bindings on os x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • unscheduled
    • bindings_swig_python
    • None
    • Mac OS X

    Description

      the ra python library won't build without explicit linking to the
      various ra libs. i realize this is a little problematic considering
      that these are compile options. but i don't think the extra linking
      args will hurt anything...
      
      anyways here's what i did to the setup.py file to make
      install-swig-py-ext work
      
                   core.Extension("_ra",
                                  [source_dir + "/svn_ra.i"],
                                  libraries=['svn_repos-1', 'svn_swig_py-1',
                                             'svn_ra-1', 'svn_ra_dav-1',
      'svn_ra_svn-1', 
                                             'svn_ra_local-1',
      				       'swigpy',]
                                  library_dirs=library_dirs,
                                  extra_compile_args=extra_compile_args,
                                  extra_link_args=extra_link_args,
                                  ),
      
      after that the python bindings installed fine.
      

      Original issue reported by hazmat

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: