On Fri, Feb 06, 2004 at 02:37:00PM +0100, Christian Schaffner wrote:
> I am now trying to add packages for the swig perl bindings and had
> problems when building without any subversion libraries already
> installed. The build system couldn't find the libraries for ra_local
> ra_dav ra_svn during e.g 'make -f Makefile.client' in the swig/perl
> directory. It was looking in /sw/lib instead of in the place of the
> just built libraries (...../.libs). Therefore i had to add the patch:
>
>
> --- subversion-0.37.0.orig/subversion/bindings/swig/perl/Makefile.PL
> 2004-02-06 12:07:58.000000000 +0100
> +++ subversion-0.37.0/subversion/bindings/swig/perl/Makefile.PL
> 2004-01-30 09:51:16.000000000 +0100
> @@ -20,8 +20,8 @@
>
> my @modules = qw/client delta fs ra repos wc/;
> my @ldpaths = ('../.libs',
> - map {"../../../libsvn_$_/.libs"} (@modules, qw/diff
> subr/));
> -my @ldmodules = map {"-lsvn_$_-1"} (@modules, qw/diff subr/);
> + map {"../../../libsvn_$_/.libs"} (@modules, qw/diff
> subr ra_local ra_dav ra_svn/));
> +my @ldmodules = map {"-lsvn_$_-1"} (@modules, qw/diff subr ra_local
> ra_dav ra_svn/);
>
> my $apr_config = $ENV{APR_CONFIG} ||
> '/usr/local/lib/apache2/apr-config';
> $apr_config = 'apr-config' unless -e $apr_config;
>
>
> to Makefile.PL. Is this a known issue? Or did I do something wrong here?
Can you give me the configure line you're using? Are you building static
binaries? Any other information about your build environment. Want to
fix this properly. So I want to verify why this is a problem before I
make the change. But in general I think your patch is correct.
--
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 16 10:03:49 2004