Re: hgsubversion build issues on MacOsX - subvertpy won't build
Augie Fackler <raf@...
2014-05-26 00:14:38 GMT
On May 21, 2014, at 11:49 AM, stephanie.lyne.legault@... wrote:
> I'm trying to use hgsubversion to connect to a Subversion server at work.
> I'm working on MacOsX 10.8.5. I initially installed hgsubversion through
> MacPorts and it worked - sort of. The plugin was installed and usable.
> However, MacPorts forced an upgrade of svn from my current version (1.7.14)
> to 1.8.x. The svn server I'm connecting to is not compatible with the svn
> 1.8 client and my initial "hg clone" of a branch failed. I assume this is
> the reason why - the error was sort of cryptic about the server refusing a
> method request (sorry, I don't have the error available anymore).
> I subsequently uninstalled the MacPorts packages and decided to build
> hgsubversion myself - I figured I could build it against svn 1.7 and then
> maybe it would work.
> The first thing I did was install SWIG. The SWIG installation worked, and
> it installed SWIG into /usr/local/share/swig.
> So coming in to build hgsubversion I have the following:
> Subversion 1.7 installed in /usr/local/opt/subversion17
> SWIG 3.0.0 installed in /usr/local/share/swig/3.0.0
> hgsubversion cloned into ~/Development/hgsubversion
> At this point, I ran "sudo python ./setup.py install" from the hgsubversion
> directory. The installation script does not seem to find the SWIG
> installation and it tries to install subvertpy. The subvertpy installation
> fails with the following error:
The easiest solution is probably to use homebrew or macports to install Subversion with SWIG bindings. I
believe the incantation is 'brew install subversion --python' (or maybe subversion16 - I have some foggy
recollection of problems with getting homebrew to do the right thing with newer Subversions...)
> Searching for subvertpy>=0.7.4
> Reading https://pypi.python.org/simple/subvertpy/
> Reading http://launchpad.net/subvertpy
> Reading http://samba.org/~jelmer/subvertpy
> Best match: subvertpy 0.9.1
> Processing subvertpy-0.9.1.tar.gz
> Writing /tmp/easy_install-AqM5SP/subvertpy-0.9.1/setup.cfg
> Running subvertpy-0.9.1/setup.py -q bdist_egg --dist-dir
> clang: error: unknown argument: '-mno-fused-madd'
> clang: note: this will be a hard error (cannot be downgraded to a warning)
> in the future
> error: Setup script exited with error: command 'clang' failed with exit
> status 1
> I tried downloading subvertpy myself and building it, and get the same
> error. Unfortunately I am not a "python person" and my attempts to figure
> out where in the scripts clang is being called with this invalid option
> were fruitless.
> So I guess I'm really asking for help to get the plugin building. Is there
> something special I need to do to get the hgsubversion build scripts to
> recognize my SWIG installation? Some environment variable, or an addition
> to my PATH? Maybe if we take subvertpy out of the equation it will build…
> You received this message because you are subscribed to the Google Groups "hgsubversion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
> To post to this group, send email to hgsubversion@...
> Visit this group at http://groups.google.com/group/hgsubversion.
> For more options, visit https://groups.google.com/d/optout.