Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 28824 invoked from network); 25 Feb 2011 13:23:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 13:23:44 -0000 Received: (qmail 99081 invoked by uid 500); 25 Feb 2011 13:23:43 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 98905 invoked by uid 500); 25 Feb 2011 13:23:41 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 98894 invoked by uid 99); 25 Feb 2011 13:23:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 13:23:40 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.158.139.19] (HELO mail178.messagelabs.com) (85.158.139.19) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 25 Feb 2011 13:23:30 +0000 X-VirusChecked: Checked X-Env-Sender: yudong@nag.co.uk X-Msg-Ref: server-9.tower-178.messagelabs.com!1298640189!34062296!1 X-StarScan-Version: 6.2.9; banners=nag.co.uk,-,- X-Originating-IP: [86.188.197.178] Received: (qmail 12558 invoked from network); 25 Feb 2011 13:23:09 -0000 Received: from unknown (HELO nagmx1.nag.co.uk) (86.188.197.178) by server-9.tower-178.messagelabs.com with SMTP; 25 Feb 2011 13:23:09 -0000 Received: from [192.156.217.123] (shanghai.nag.co.uk [192.156.217.123]) by nagmx1.nag.co.uk (Postfix) with ESMTP id E4A2D120160 for ; Fri, 25 Feb 2011 13:22:59 +0000 (GMT) Message-ID: <4D67AD31.3080200@nag.co.uk> Date: Fri, 25 Feb 2011 13:22:57 +0000 From: Yudong Sun User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@subversion.apache.org Subject: Re: Errors in Building Perl Bindings References: <4D639286.8000004@ann.jussieu.fr> <4D63D4D8.4070809@nag.co.uk> <20110222154748.GP11578@ted.stsp.name> <4D63DE94.5020603@nag.co.uk> <20110222162624.GQ11578@ted.stsp.name> In-Reply-To: <20110222162624.GQ11578@ted.stsp.name> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Stefan Sperling wrote, On 22/02/2011 16:26: > > On Tue, Feb 22, 2011 at 04:04:36PM +0000, Yudong Sun wrote: >> Stefan Sperling wrote, On 22/02/2011 15:47: >>> On Tue, Feb 22, 2011 at 03:23:04PM +0000, Yudong Sun wrote: >>>> 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 >>> >>> You probably need the path to the installed libsvn_* libraries in >>> LD_LIBRARY_PATH, too. See the bottom of this post: >>> http://svn.haxx.se/users/archive-2011-02/0300.shtml >>> What is said there about python bindings applies to the perl bindings >>> as well (and the ruby bindings, too). >>> >>> ________________________________________________________________________ >>> This e-mail has been scanned for all viruses by Star. >>> ________________________________________________________________________ >>> >> >> Hi Stefan, >> >> I have included the subversion lib path >> '/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib' to the >> LD_LIBRARY_PATH (the last entry). However, the errors complain >> 'can't locate loadable object in @INC'. I can't figure out where >> @INC is set: > > > Try this: > export PERL5LIB=/path/to/perl/libs > >> >> 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/nati >> ve' >> PERL_DL_NONLAZY=1 LD_LIBRARY_PATH=/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl >> /libsvn_swig_perl/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_client/.libs:/work/z0 >> 3/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_delta/.libs:/work/z03/z03/ydsun/queries/q149281_git_s >> vn/subversion-1.6.2/subversion/libsvn_fs/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsv >> n_ra/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_repos/.libs:/work/z03/z03/ydsun/qu >> eries/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:/w >> ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_local/.libs:/work/z03/z03/ydsun/queries/q149 >> 281_git_svn/subversion-1.6.2/subversion/libsvn_ra_svn/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub >> version/libsvn_ra_neon/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_serf/.libs:/w >> ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_base/.libs:/work/z03/z03/ydsun/queries/q1492 >> 81_git_svn/subversion-1.6.2/subversion/libsvn_fs_util/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub >> version/libsvn_fs_fs/.libs:/opt/cray/mpt/5.1.2/xt/gemini/mpich2-gnu/lib:/opt/cray/pmi/1.0-1.0000.8160.39.2.gem/lib64:/opt/gc >> c/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.5.1/snos/lib64:/opt/cray/xpmem/0.1-2.0301.24037.4. >> 2.gem/lib64:/opt/cray/dmapp/2.2-1.0301.2594.5.7.gem/lib64:/opt/cray/ugni/2.0-1.0301.2648.4.4.gem/lib64:/opt/cray/udreg/1.3-1 >> .0301.2732.4.1.gem/lib64:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem/lib64/mysql:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem >> /lib64:/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib >> /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 >> 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/q14928 >> 1_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib >> /work/z03/z03/ydsun/queries/q149281_git_svn/subvers >> ion-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-th >> read-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/vend >> or_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/s >> ite_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/li >> b/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 8) line 2. >> # BEGIN failed--compilation aborted at (eval 8) line 2. >> ../../../../../subversion/bindings/swig/perl/native/t/0use.............NOK >> 3/7 >> I am still having lots of 'Can't locate loadable object for module SVN::_Repos' etc errors in 'make chech-swig-pl' when building the perl binding. I find the ./subversion/bindings/swig/perl/native/blib/arch/auto/SVN/_Core/_Core.so. I presume that the make is looking for similar libraries such as ./SVN/_Repos/_Repos.so. However, /subversion/bindings/swig/perl/native/blib/arch/auto/SVN only contains ./_Core. The probable _Repos/, _FS/ etc are missing. I ran 'make swig-pl' and the 'make check-swig-pl'. Do you have any suggestions on how to fix these errors? Thanks, Yudong >> >> 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. ________________________________________________________________________