[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: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-26 23:25:13 CET

Cristiano Paris wrote:
> It seems I'm getting through... recall 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
>
> Well, analysing that huge gcc command line I realized that it's
> complaining because no blib/arch/auto/SVN/_Client directory exists.

Ah, if it were so simple. That directory should exist, because the code further
upstream should have created it (and the _Client.so to put there). The
directory doesn't, because the Makefile didn't, so creating it won't help you.

Did you follow my [offline] suggestion to 'make install-runtime' when installing
the SWIG libraries? I don't know how to force SWIG to provide more robust
feedback when creating files.

I'm guessing that your subversion/bindings/swig/perl directory does not contain
all of these files:

> Base.pm delta_editor.hi Makefile.old ra_reporter.hi svn_ra.o
> blib/ Delta.pm Makefile.PL _Repos.bs svn_repos.c
> blibdirs _Fs.bs Makefile.ra Repos.pm svn_repos.o
> _Client.bs Fs.pm Makefile.repos svn_client.c svn_wc.c
> Client.pm h2i.pl Makefile.wc svn_client.o svn_wc.o
> _Core.bs Makefile modules svn_delta.c t/
> core.c Makefile.client pm_to_blib svn_delta.o _Wc.bs
> core.o Makefile.delta _Ra.bs svn_fs.c Wc.pm
> Core.pm Makefile.fs ra_plugin.hi svn_fs.o
> _Delta.bs makefile.log Ra.pm svn_ra.c

which would explain why you are not getting the .so files built properly. Those
*.c files are created by swig.

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
Received on Thu Feb 26 23:24:22 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.