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

Re: Problems building Perl binding

From: Cristiano Paris <paris_at_disp.uniroma2.it>
Date: 2004-02-26 20:41:20 CET

Hi John,

On Thu, Feb 26, 2004 at 01:58:39PM -0500, John Peacock wrote:
> Cristiano Paris wrote:
>
> >I'm having trouble building the Perl binding in subversion
1.0.0. Here's
> >my configure command line:
> >
>
> None of those configure commands should be a problem, except that
you don't
> normally need to specify "--enable-swig-bindings=perl" since this
will be
> built automatically as long as you have Perl bindings available
from SWIG
> itself. Did you build SWIG from source, or did you install it from
an RPM?
> Which version of SWIG? What version of Perl do you have installed?

Here it goes:

swig 1.3.19 from the Gentoo ebuild.
perl v5.8.2

How can I tell if swig has Perl bindings?

>
> >
> >After make, make install, I followed the instructions ginve in
the README
> >file in the swig directory.
>
> By which we can assume you did
>
> $ make swig-pl-lib
>
> from the top level subversion directory? You don't have to have
done the
> final 'make install-swig-pl-lib' in order to build/test the bindings
though.

I did make swig-pl-lib from the toplevel directory than perl Makefile.PL
from the subversion/bindings/swig/perl directory. Then make all test,
which failed.

>
> >After perl Makefile.PL, I did make and here's the error:
> >
> >
>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
> > cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such
> > file or directory
>
> Not the only error, probably. Somewhere before that final error, you
> should see some warnings that _Client.c is not able to be compiled.
> Capture the entire output of the 'make' and see if there are more
clues...

Here it is:

make -f Makefile.client
make[1]: Entering directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
rm -f blib/arch/auto/SVN/_Client/_Client.so
LD_RUN_PATH="/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_fs/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_ra/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_diff/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_subr/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/.libs:/usr/lib" gcc -shared -L/usr/local/lib svn_client.o -o blib/arch/auto/SVN/_Client/_Client.so -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_fs/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_ra/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_diff/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_subr/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn_swig_perl-1 -L/usr/lib -lswigpl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/SVN/_Client/_Client.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
make: *** [modules] Error 2

Thanks for your help!

Cristiano

----
Web: http://www.disp.uniroma2.it/users/paris
Public PGP/GnuPG key
pub  1024D/32CA6D54 2004-01-23 Cristiano Paris (RHPK) <c.paris@email.it>
     Key fingerprint = 3BFD 9884 230A 1F17 391C  1434 80CB 2C7A 32CA 6D54
----

  • application/pgp-signature attachment: stored
Received on Thu Feb 26 20:40:41 2004

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.