You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Cristiano Paris <pa...@disp.uniroma2.it> on 2004/02/26 18:18:33 UTC

Problems building Perl binding

I'm having trouble building the Perl binding in subversion 1.0.0. Here's
my configure command line:

./configure --with-ssl --with-berkeley-db --with-python=/usr/bin/python
--with-swig --enable-swig-bindings=perl --with-neon=/usr
--disable-experimental-libtool --disable-mod-activation

After make, make install, I followed the instructions ginve in the README
file in the swig directory. 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

Any hint?

Cristiano

----
Web: http://www.disp.uniroma2.it/users/paris

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

Re: Problems building Perl binding

Posted by John Peacock <jp...@rowman.com>.
John Peacock wrote:

That's of course

>   $ ls /usr/local/lib/swig1.3/perl5

stupid mouse! ;~)

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems building Perl binding

Posted by John Peacock <jp...@rowman.com>.
Cristiano Paris wrote:

> swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Core -o core.c ../core.i

That all looks OK, i.e. you have the swiglib perl5 directory and you are not 
getting errors until the linker.  However, this looks odd to me:

	-I/usr/include/apr-0

It's in most of the compile lines.  Are you sure that you gave the proper path 
to APR_CONFIG?  Did you build Apache or are you relying on a prebuilt one?

I'm at the limit of my knowledge; you may need more detailed help than I can 
currently provide.  Perhaps Ben Reser (who has been performing massive rewrites 
of the Perl swig bindings) can chime in here...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems building Perl binding

Posted by Cristiano Paris <pa...@disp.uniroma2.it>.
On Thu, Feb 26, 2004 at 02:56:03PM -0500, John Peacock wrote:
> Cristiano Paris wrote:
> 
> >swig 1.3.19 from the Gentoo ebuild.
> >perl v5.8.2
> >
> >How can I tell if swig has Perl bindings?
> 
> Try this (showing my answers):
> 
>   $ swig -swiglib
>   /usr/local/lib/swig1.3
> 
>   $ ls /usr/local/lib/swig1.3
>   Makefile.pl  perlmain.i     std_common.i  std_string.i
>   noembed.h    perlrun.swg    std_map.i     std_vector.i
>   perl5.swg    precommon.swg  std_pair.i    typemaps.i

Here are mine:

sackville perl # ls `swig -swiglib`
_std_deque.i  chicken     constraints.i  cstring.i    java
ocaml         pike        ruby           swig.swg     carrays.i
cmalloc.i     cpointer.i  exception.i    math.i       perl5
pointer.i     std_deque.i tcl            cdata.i      common.swg  
csharp        guile       mzscheme       php4         python
stl.i

Yours seems different.

> If you don't have those files, there may be another package you need to 
> load. You should also see if there is a 5.8.3 update; there are some 
> important fixes that went in after 5.8.2.

Upgrading right now...

> As far as the _Client.so file is concerned, you need to do a 'make clean' 
> followed by a rerunning of the Makefile.PL, then 'make' in order to see all 
> of the "interesting" messages:
> 
>   $ env APR_CONFIG=/usr/local/apache2/bin/apr-config perl Makefile.PL
>   Writing Makefile for SVN::_Core
>   Writing Makefile.client for SVN::_Client
>   Writing Makefile.delta for SVN::_Delta
>   Writing Makefile.fs for SVN::_Fs
>   Writing Makefile.ra for SVN::_Ra
>   Writing Makefile.repos for SVN::_Repos
>   Writing Makefile.wc for SVN::_Wc
> 
>   $ make
> ...snip...
>   swig -c -nopm -perl -I.. -I../../../include  -I/usr/local/apache2/include 
> -module SVN::_Client -o svn_client.c ../svn_client.i
> ...snip...
>   gcc -c   -I/usr/local/apache2/include    -D_REENTRANT -D_GNU_SOURCE 
> -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
> -I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE   -I.. 
> -I../../../include -g -g -fomit-frame-pointer -pipe -march=i586 
> -mcpu=pentiumpro   -DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
> "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" svn_client.c
>   Running Mkbootstrap for SVN::_Client ()
> 
> etc.  I suspect you are missing the SWIG support for Perl and you should 
> see multiple warnings/errors in the log file.

Here's the complete log (sorry, I forgot to run make clean):

cp Fs.pm blib/lib/SVN/Fs.pm
cp Delta.pm blib/lib/SVN/Delta.pm
cp Ra.pm blib/lib/SVN/Ra.pm
cp Repos.pm blib/lib/SVN/Repos.pm
cp Wc.pm blib/lib/SVN/Wc.pm
cp Core.pm blib/lib/SVN/Core.pm
cp Client.pm blib/lib/SVN/Client.pm
cp Base.pm blib/lib/SVN/Base.pm
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Core -o core.c ../core.i
gcc -c   -I/usr/include/apr-0   -I/usr/include/apr-0   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.2/i686-linux/CORE   -I.. -I../../../include -g -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.2/i686-linux/CORE"   core.c
Running Mkbootstrap for SVN::_Core ()
chmod 644 _Core.bs
rm -f blib/arch/auto/SVN/_Core/_Core.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 core.o  -o blib/arch/auto/SVN/_Core/_Core.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   
chmod 755 blib/arch/auto/SVN/_Core/_Core.so
cp _Core.bs blib/arch/auto/SVN/_Core/_Core.bs
chmod 644 blib/arch/auto/SVN/_Core/_Core.bs
Manifying blib/man3/SVN::Delta.3pm
Manifying blib/man3/SVN::Repos.3pm
Manifying blib/man3/SVN::Ra.3pm
Manifying blib/man3/SVN::Core.3pm
Manifying blib/man3/SVN::Wc.3pm
Manifying blib/man3/SVN::Client.3pm
Manifying blib/man3/SVN::Base.3pm
/usr/bin/perl h2i.pl ../../../include/svn_ra.h svn_ra_plugin_t > ra_plugin.hi
/usr/bin/perl h2i.pl ../../../include/svn_ra.h svn_ra_reporter_t > ra_reporter.hi
/usr/bin/perl h2i.pl ../../../include/svn_delta.h svn_delta_editor_t > delta_editor.hi
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Client -o svn_client.c ../svn_client.i
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Delta -o svn_delta.c ../svn_delta.i
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Fs -o svn_fs.c ../svn_fs.i
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Ra -o svn_ra.c ../svn_ra.i
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Repos -o svn_repos.c ../svn_repos.i
swig -c -nopm -perl -I.. -I../../../include  -I/usr/include/apr-0  -module SVN::_Wc -o svn_wc.c ../svn_wc.i
make -f Makefile.client
make[1]: Entering directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
gcc -c   -I/usr/include/apr-0   -I/usr/include/apr-0   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.2/i686-linux/CORE   -I.. -I../../../include -g -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.2/i686-linux/CORE"   svn_client.c
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs
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   
make[1]: Leaving directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
/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'

Cristiano

----
Web: http://www.disp.uniroma2.it/users/paris

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

Re: Problems building Perl binding

Posted by John Peacock <jp...@rowman.com>.
Cristiano Paris wrote:

> swig 1.3.19 from the Gentoo ebuild.
> perl v5.8.2
> 
> How can I tell if swig has Perl bindings?

Try this (showing my answers):

   $ swig -swiglib
   /usr/local/lib/swig1.3

   $ ls /usr/local/lib/swig1.3
   Makefile.pl  perlmain.i     std_common.i  std_string.i
   noembed.h    perlrun.swg    std_map.i     std_vector.i
   perl5.swg    precommon.swg  std_pair.i    typemaps.i

If you don't have those files, there may be another package you need to load. 
You should also see if there is a 5.8.3 update; there are some important fixes 
that went in after 5.8.2.

As far as the _Client.so file is concerned, you need to do a 'make clean' 
followed by a rerunning of the Makefile.PL, then 'make' in order to see all of 
the "interesting" messages:

   $ env APR_CONFIG=/usr/local/apache2/bin/apr-config perl Makefile.PL
   Writing Makefile for SVN::_Core
   Writing Makefile.client for SVN::_Client
   Writing Makefile.delta for SVN::_Delta
   Writing Makefile.fs for SVN::_Fs
   Writing Makefile.ra for SVN::_Ra
   Writing Makefile.repos for SVN::_Repos
   Writing Makefile.wc for SVN::_Wc

   $ make
...snip...
   swig -c -nopm -perl -I.. -I../../../include  -I/usr/local/apache2/include 
-module SVN::_Client -o svn_client.c ../svn_client.i
...snip...
   gcc -c   -I/usr/local/apache2/include    -D_REENTRANT -D_GNU_SOURCE 
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE   -I.. -I../../../include -g 
-g -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro   -DVERSION=\"\" 
-DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" 
svn_client.c
   Running Mkbootstrap for SVN::_Client ()

etc.  I suspect you are missing the SWIG support for Perl and you should see 
multiple warnings/errors in the log file.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems building Perl binding

Posted by Cristiano Paris <pa...@disp.uniroma2.it>.
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....@email.it>
     Key fingerprint = 3BFD 9884 230A 1F17 391C  1434 80CB 2C7A 32CA 6D54
----

Re: Problems building Perl binding

Posted by John Peacock <jp...@rowman.com>.
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?

> 
> 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.

> 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...

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org