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

Re: Problems building swig perl bindings for fink package on MacOS X

From: Ben Reser <ben_at_reser.org>
Date: 2004-02-19 11:10:45 CET

On Fri, Feb 06, 2004 at 02:37:00PM +0100, Christian Schaffner wrote:
> Dear Fink Developers
>
>
> I am the maintainer of the fink package for svn on MacOS X:
> <http://fink.sourceforge.net/pdb/package.php/svn-ssl>
>
> 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 send me the exact error message(s) you got when trying to build?

Also can you give me the output of:
grep APR_HAS_DSO `apr-config --includes | sed -e 's/ -I//; s/ $//'`/apr.h

Thanks.

-- 
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 Thu Feb 19 11:11:12 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.