[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Errors in Building Perl Bindings

From: Yudong Sun <yudong_at_nag.co.uk>
Date: Tue, 22 Feb 2011 15:23:04 +0000

Hi,

I am trying to build the Perl bindings in subversion-1.6.2. The version
is old because I want to add the Perl bindings to the existing svn
installation.

I configure the subversion with the --with-swig=/path/to/swig option.
Then I get a lot of errors during 'make check-swig-perl':

... ...
cd
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native;
make test
make[1]: Entering directory
`/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/n
ative'
PERL_DL_NONLAZY=1
LD_LIBRARY_PATH=/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/p
erl/libsvn_swig_perl/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_client/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_delta/.libs:/work/z03/z03/ydsun/queries/q149
281_git_svn/subversion-1.6.2/subversion/libsvn_fs/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subv
ersion/libsvn_ra/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_repos/.libs:/work/z
03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_wc/.libs:/work/z03/z03/ydsun/queries/q149281_git_
svn/subversion-1.6.2/subversion/libsvn_diff/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion
/libsvn_subr/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_local/.libs:/work/z0
3/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_svn/.libs:/work/z03/z03/ydsun/queries/q149281_g
it_svn/subversion-1.6.2/subversion/libsvn_ra_neon/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subv
ersion/libsvn_ra_serf/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_base/.libs:
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_util/.libs:/work/z03/z03/ydsun/queries/
q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_fs/.libs
/usr/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.............NOK
1/7
# Failed test 'use SVN::Core;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 5.
# Tried to use 'SVN::Core'.
# Error: Can't load
'/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/nati
ve/blib/arch/auto/SVN/_Core/_Core.so' for module SVN::_Core:
libgfortran.so.3: cannot open shared object file: No such fi
le or directory at
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.
# at
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib/SVN/Base
.pm line 59
# BEGIN failed--compilation aborted at
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 5.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.............NOK
2/7
# Failed test 'use SVN::Repos;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.
# Tried to use 'SVN::Repos'.
# Error: Can't locate loadable object for module SVN::_Repos in
@INC (@INC contains: /work/z03/z03/ydsun/queries/q14
9281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib
/work/z03/z03/ydsun/queries/q149281_git_svn/s
ubversion-1.6.2/subversion/bindings/swig/perl/native/blib/arch
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/p
erl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /us
r/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /
usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .
  /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-threa
d-multi /usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor
_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bin
dings/swig/perl/native/blib/lib/SVN/Base.pm line 59
# BEGIN failed--compilation aborted at
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.
# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at (eval 5) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.............NOK
3/7
# Failed test 'use SVN::Fs;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 7.
# Tried to use 'SVN::Fs'.
# Error: Can't locate loadable object for module SVN::_Fs in @INC
(@INC contains: /work/z03/z03/ydsun/queries/q14928
1_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib
/work/z03/z03/ydsun/queries/q149281_git_svn/subv
ersion-1.6.2/subversion/bindings/swig/perl/native/blib/arch
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl
5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/l
ib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86
_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr
/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl . /u
sr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-m
ulti /usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_pe
rl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindin
gs/swig/perl/native/blib/lib/SVN/Base.pm line 59
# BEGIN failed--compilation aborted at
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 7.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.............NOK
4/7
# Failed test 'use SVN::Delta;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 8.
# Tried to use 'SVN::Delta'.
# Error: Can't locate loadable object for module SVN::_Delta in
@INC (@INC contains:
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/arch
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib/SVN/Base.pm
line 59
# BEGIN failed--compilation aborted at
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 8.
# Compilation failed in require at (eval 12) line 2.
# BEGIN failed--compilation aborted at (eval 12) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.............NOK
5/7

... ...

I can fix the first libgfortran.so.3 not found error by adding the path
to the LD_LIBRARY_PATH in ./subversion/bindings/swig/perl/native/Makefile.

What about the following 'Can't locate loadable object for module
SVN::_Repos' etc? What are the loadable object needed?

Thanks,

Yudong

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
Received on 2011-02-22 16:35:12 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.