Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

subversion Perl bindings installed in the wrong place #41310

Closed
rcaputo opened this issue Jul 3, 2015 · 4 comments
Closed

subversion Perl bindings installed in the wrong place #41310

rcaputo opened this issue Jul 3, 2015 · 4 comments
Assignees

Comments

@rcaputo
Copy link

rcaputo commented Jul 3, 2015

I'm pretty sure this isn't intended and is at least one cause of persistent git-svn problems:

% find /usr/local/Cellar -name Core.pm
/usr/local/Cellar/subversion/1.8.13/usr/local/Cellar/perl/5.20.2/lib/site_perl/5.20.2/darwin-thread-multi-2level/SVN/Core.pm

@rcaputo
Copy link
Author

rcaputo commented Jul 3, 2015

Some part of homebrew thinks the bindings were installed in the correct location.

This file:

/usr/local/Cellar/subversion/1.8.13/usr/local/Cellar/perl/5.20.2/lib/5.20.2/darwin-thread-multi-2level/perllocal.pod

Says this:

installed into: /usr/local/Cellar/perl/5.20.2/lib/site_perl/5.20.2

@DomT4
Copy link
Member

DomT4 commented Jul 3, 2015

It seems to depend on what your PERL_MM_OPT is.

Mine is /Users/Dominyk/perl5 and it thinks I've installed the perl bindings into C<installed into: /Users/Dominyk/perl5/lib/perl5> consequently.

We may need to more manually tell it where to stick the Perl elements, rather than letting it sniff the environment so much, although that could be fun given we're running subversion under userpaths.

@rcaputo
Copy link
Author

rcaputo commented Jul 3, 2015

I've verified that copying subversion's perl bindings into perl's library solves git-svn problems finding Svn::Core:

cd /usr/local/Cellar/subversion/1.8.13/usr/local/Cellar/perl/5.20.2
pax -rw . /usr/local/Cellar/perl/5.20.2

@DomT4 DomT4 self-assigned this Jul 30, 2015
@DomT4
Copy link
Member

DomT4 commented Nov 26, 2015

Should have been fixed by adaf83b.

@DomT4 DomT4 closed this as completed Nov 26, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants