[svk-devel] Trying to get svk working on Mac OS X

Daniel J. Luke dluke at geeklair.net
Thu Jan 18 08:32:41 EST 2007


On Jan 17, 2007, at 3:49 PM, Mark Lundquist wrote:
>> Macports (what used to be Dariwnports) is also a good option.
>
> Thanks :-)... I use fink for self-contained little tools and stuff  
> like that, but not for Apache and Subversion, because I need to  
> control my build-time options for those.

If you don't have extremely strange requirements, and they're not  
already available in the MacPorts port, they could probably be added  
for you.

> I did just use fink to get the latest available Perl (5.8.6),

perl 5.8.8 has been out for a while ...

> and reran configure in subversion with PERL=/sw/bin/perl.  After  
> rebuilding swig-pl, I did "make check-swig-pl", and now I get this  
> error:
>
> ---------------------------------------
> /sw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/ 
> lib', 'blib/arch')" ../../../../../subversion/bindings/swig/perl/ 
> native/t/*.t../../../../../subversion/bindings/swig/perl/native/t/ 
> 0use.............#     Failed test (../../../../../subversion/ 
> bindings/swig/perl/native/t/0use.t at line 6)
> #     Tried to use 'SVN::Repos'.
> #     Error:  Can't locate loadable object for module SVN::_Repos  
> in @INC (@INC contains: /Volumes/codeshack-data1/ml/software/ 
> Subversion/subversion-1.4.2/subversion/bindings/swig/perl/native/ 
> blib/lib /Volumes/codeshack-data1/ml/software/Subversion/ 
> subversion-1.4.2/subversion/bindings/swig/perl/native/blib/arch /sw/ 
> lib/perl5 /sw/lib/perl5/darwin /sw/lib/perl5-core/5.8.6/darwin- 
> thread-multi-2level /sw/lib/perl5-core/5.8.6/darwin-thread- 
> multi-2level /sw/lib/perl5-core/5.8.6 /sw/lib/perl5/site_perl/5.8.6/ 
> darwin-thread-multi-2level /sw/lib/perl5/site_perl/5.8.6/darwin- 
> thread-multi-2level /sw/lib/perl5/site_perl/5.8.6 /sw/lib/perl5/ 
> site_perl/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/site_perl/ 
> 5.8.6 /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level /sw/ 
> lib/perl5/site_perl . /sw/lib/perl5-core/5.8.6/darwin-thread- 
> multi-2level /sw/lib/perl5-core/5.8.6 /sw/lib/perl5/site_perl/5.8.6/ 
> darwin-thread-multi-2level /sw/lib/perl5/site_perl/5.8.6 /sw/lib/ 
> perl5/site_perl/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/ 
> site_perl .) at /Volumes/codeshack-data1/ml/software/Subversion/ 
> subversion-1.4.2/subversion/bindings/swig/perl/native/blib/lib/SVN/ 
> Base.pm line 59
> # BEGIN failed--compilation aborted at /Volumes/codeshack-data1/ml/ 
> software/Subversion/subversion-1.4.2/subversion/bindings/swig/perl/ 
> native/blib/lib/SVN/Repos.pm line 5.
> # Compilation failed in require at (eval 4) line 2.
> ----------------------------------------
>
> Now, my subversion/bindings/perl/native/blib/lib contains Base.pm,  
> Repos.pm, Ra.pm, etc...

Perl is looking for the corresponding .bundle (there should be a  
_Repos.bundle file that got built).

> Any idea what the problem might be?  I know this probably isn't the  
> right place to ask, but I thought somebody might just know — if  
> not, I'll try to find the appropriate forum to post my  
> question :-/  I had everything else working before my upgrade to  
> perl 5.8.6, except that "svk" itself printed error messages that  
> looked to me that they might be related to an old version of perl,  
> so at that point I decided to quit screwing around with this perl  
> 5.8.1 that came with the OS X distribution.  The problems with  
> "make check-swig-pl" are all since I upgraded, so I must have  
> botched something.  Note, I did "make clean-swig-pl" before trying  
> to rebuild.

Subversion can be kind of finicky when building. If you haven't  
already, it would be easy to just blow away your build directory and  
untar a new one from the subversion distribution and try building again.

... but if you can get away with it, it sure is a lot easier to just  
run 'port install svk' ;-)
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/svk-devel/attachments/20070118/97eaa430/PGP.pgp


More information about the svk-devel mailing list