[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: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2004-02-19 12:01:54 CET

Hi Ben

Thanks for getting back to me. It is important to note that this
problem only occurs if i haven't already installed svn libraries in
/sw/lib . And the patch below fixes this problem.

On 19.02.2004, at 11:10, Ben Reser wrote:
> On Fri, Feb 06, 2004 at 02:37:00PM +0100, Christian Schaffner wrote:
>> 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?

Sure. I attached it at the end of the mail together with some info
about the perl and gcc used. Please tell me if you need more
information.

I then also get crash reports for each library which (e.g.) say:

************************************************************************
***
Date/Time: 2004-02-19 11:56:09 +0100
OS Version: 10.3.2 (Build 7D24)
Report Version: 2

Command: perl5.8.1
Path: /usr/bin/perl5.8.1
Version: ??? (???)
PID: 10267
Thread: Unknown

Link (dyld) error:

dyld: perl5.8.1 can't open library: /sw/lib/libsvn_ra_local-1.0.dylib
(No such file or directory, errno = 2)
************************************************************************
***

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

% grep APR_HAS_DSO `apr-config --includes | sed -e 's/ -I//; s/
$//'`/apr.h
#define APR_HAS_DSO 1

Hope that helps, and thanks for your help,
Chris.

PS: The 'make swig-pl-lib' output:
************************************************************************
***
...
  make swig-pl-lib
/bin/sh /sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/libtool --silent
--mode=compile gcc -I/sw/include/db4 -no-cpp-precomp -I/sw/include
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -g -O2 -DNEON_ZLIB
-DNEON_SSL
-I/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig
-I/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/include
-I/sw/lib/swig1.3 -DSVN_SWIG_VERSION=103020 -I/sw/include/apr-0
-I/sw/include/apr-0 -I/sw/include -g -pipe -pipe -fno-common
-DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include
  -I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE
-I./subversion/include -I. -I/sw/include/neon -I/sw/include/apr-0
-I/sw/include/apr-0 -I/sw/include -o
subversion/bindings/swig/swigutil_pl.lo -c
/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
swigutil_pl.c
cd subversion/bindings/swig && /bin/sh
/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/libtool --silent
--mode=link gcc -g -O2 -g -O2 -DNEON_ZLIB -DNEON_SSL -L/sw/lib
-L/sw/lib -rpath /sw/lib -o libsvn_swig_perl-1.la swigutil_pl.lo
/sw/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2 -lexpat -liconv
/sw/lib/libapr-0.la -lresolv
ld: warning -dylib_install_name /sw/lib/libsvn_swig_perl-1.0.dylib not
found in segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
  (cd subversion/bindings/swig/perl && APR_CONFIG=/sw/bin/apr-config &&
export APR_CONFIG && perl5.8.1 Makefile.PL PERL=perl5.8.1
FULLPERL=perl5.8.1 INSTALLDIRS=vendor PREFIX=/sw
LIB=/sw/lib/perl5/5.8.1
INSTALLBIN=/sw/src/root-svn-ssl-0.37.0-12/sw/bin
INSTALLSCRIPT=/sw/src/root-svn-ssl-0.37.0-12/sw/bin
INSTALLPRIVLIB=/sw/lib/perl5/5.8.1
INSTALLARCHLIB=/sw/lib/perl5/5.8.1/darwin-thread-multi-2level
INSTALLSITELIB=/sw/lib/perl5/5.8.1
INSTALLSITEARCH=/sw/lib/perl5/5.8.1/darwin-thread-multi-2level
INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3
INSTALLSITEMAN1DIR=/sw/share/man/man1
INSTALLSITEMAN3DIR=/sw/share/man/man3
INSTALLVENDORMAN1DIR=/sw/share/man/man1
INSTALLVENDORMAN3DIR=/sw/share/man/man3 && make all test)
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile for SVN::_Core
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.client for SVN::_Client
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.delta for SVN::_Delta
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.fs for SVN::_Fs
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.ra for SVN::_Ra
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.repos for SVN::_Repos
Unrecognized argument in LIBS ignored: '-g'
Unrecognized argument in LIBS ignored: '-O2'
Writing Makefile.wc for SVN::_Wc
cp Base.pm blib/lib/SVN/Base.pm
cp Client.pm blib/lib/SVN/Client.pm
cp Core.pm blib/lib/SVN/Core.pm
cp Repos.pm blib/lib/SVN/Repos.pm
cp Delta.pm blib/lib/SVN/Delta.pm
cp Wc.pm blib/lib/SVN/Wc.pm
cp Ra.pm blib/lib/SVN/Ra.pm
cp Fs.pm blib/lib/SVN/Fs.pm
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Core -o core.c ../core.i
../../../include/svn_props.h:282: Warning(305): Bad constant value
(ignored).
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" core.c
Running Mkbootstrap for SVN::_Core ()
chmod 644 _Core.bs
rm -f blib/arch/auto/SVN/_Core/_Core.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib core.o -o
blib/arch/auto/SVN/_Core/_Core.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Core/_Core.bundle
cp _Core.bs blib/arch/auto/SVN/_Core/_Core.bs
chmod 644 blib/arch/auto/SVN/_Core/_Core.bs
Manifying blib/man3/SVN::Client.3pm
Manifying blib/man3/SVN::Delta.3pm
Manifying blib/man3/SVN::Wc.3pm
Manifying blib/man3/SVN::Ra.3pm
Manifying blib/man3/SVN::Base.3pm
Manifying blib/man3/SVN::Repos.3pm
Manifying blib/man3/SVN::Core.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 -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Client -o svn_client.c
../svn_client.i
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Delta -o svn_delta.c ../svn_delta.i
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Fs -o svn_fs.c ../svn_fs.i
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Ra -o svn_ra.c ../svn_ra.i
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Repos -o svn_repos.c ../svn_repos.i
swig -noruntime -noproxy -nopm -perl -I.. -I../../../include
-I/sw/include/apr-0 -module SVN::_Wc -o svn_wc.c ../svn_wc.i
make -f Makefile.client
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_client.c
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs
rm -f blib/arch/auto/SVN/_Client/_Client.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_client.o -o
blib/arch/auto/SVN/_Client/_Client.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Client/_Client.bundle
cp _Client.bs blib/arch/auto/SVN/_Client/_Client.bs
chmod 644 blib/arch/auto/SVN/_Client/_Client.bs
make -f Makefile.delta
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_delta.c
Running Mkbootstrap for SVN::_Delta ()
chmod 644 _Delta.bs
rm -f blib/arch/auto/SVN/_Delta/_Delta.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_delta.o -o
blib/arch/auto/SVN/_Delta/_Delta.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Delta/_Delta.bundle
cp _Delta.bs blib/arch/auto/SVN/_Delta/_Delta.bs
chmod 644 blib/arch/auto/SVN/_Delta/_Delta.bs
make -f Makefile.fs
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_fs.c
svn_fs.c: In function `_wrap_svn_fs_file_length':
svn_fs.c:4402: warning: assignment from incompatible pointer type
Running Mkbootstrap for SVN::_Fs ()
chmod 644 _Fs.bs
rm -f blib/arch/auto/SVN/_Fs/_Fs.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_fs.o -o
blib/arch/auto/SVN/_Fs/_Fs.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Fs/_Fs.bundle
cp _Fs.bs blib/arch/auto/SVN/_Fs/_Fs.bs
chmod 644 blib/arch/auto/SVN/_Fs/_Fs.bs
make -f Makefile.ra
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_ra.c
Running Mkbootstrap for SVN::_Ra ()
chmod 644 _Ra.bs
rm -f blib/arch/auto/SVN/_Ra/_Ra.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_ra.o -o
blib/arch/auto/SVN/_Ra/_Ra.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Ra/_Ra.bundle
cp _Ra.bs blib/arch/auto/SVN/_Ra/_Ra.bs
chmod 644 blib/arch/auto/SVN/_Ra/_Ra.bs
make -f Makefile.repos
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_repos.c
Running Mkbootstrap for SVN::_Repos ()
chmod 644 _Repos.bs
rm -f blib/arch/auto/SVN/_Repos/_Repos.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_repos.o -o
blib/arch/auto/SVN/_Repos/_Repos.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Repos/_Repos.bundle
cp _Repos.bs blib/arch/auto/SVN/_Repos/_Repos.bs
chmod 644 blib/arch/auto/SVN/_Repos/_Repos.bs
make -f Makefile.wc
cc -c -I/sw/include/apr-0 -I/sw/include/apr-0 -I/sw/include -g
-pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -I..
-I../../../include -g -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
svn_wc.c
Running Mkbootstrap for SVN::_Wc ()
chmod 644 _Wc.bs
rm -f blib/arch/auto/SVN/_Wc/_Wc.bundle
LD_RUN_PATH="/sw/lib:/usr/lib:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs:/
sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib svn_wc.o -o
blib/arch/auto/SVN/_Wc/_Wc.bundle -L/sw/lib -lapr-0 -lresolv
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/bindings/swig/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_client/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_delta/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_fs/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/
.libs
-L/sw/src/svn-ssl-0.37.0-12/subversion-0.37.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/sw/lib
-lswigpl
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library:
/sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_dav-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: warning can't open dynamic library: /sw/lib/libsvn_ra_svn-1.0.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
chmod 755 blib/arch/auto/SVN/_Wc/_Wc.bundle
cp _Wc.bs blib/arch/auto/SVN/_Wc/_Wc.bs
chmod 644 blib/arch/auto/SVN/_Wc/_Wc.bs
PERL_DL_NONLAZY=1
DYLD_LIBRARY_PATH=/sw/src/svn-ssl-0.37.0-12/subversion-0.37.0/
subversion/bindings/swig/.libs:/sw/src/svn-ssl-0.37.0-12/subversion
-0.37.0/subversion/libsvn_client/.libs:/sw/src/svn-ssl-0.37.0-12/
subversion-0.37.0/subversion/libsvn_delta/.libs:/sw/src/svn-ssl-0.37.0
-12/subversion-0.37.0/subversion/libsvn_fs/.libs:/sw/src/svn-ssl
-0.37.0-12/subversion-0.37.0/subversion/libsvn_ra/.libs:/sw/src/svn-
ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_repos/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_wc/.libs:/sw/src/
svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_diff/.libs:/sw/
src/svn-ssl-0.37.0-12/subversion-0.37.0/subversion/libsvn_subr/.libs
perl5.8.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/0use.......dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/0use.......dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-7
         Failed 7/7 tests, 0.00% okay
t/1repos.....dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/1repos.....dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-5
         Failed 5/5 tests, 0.00% okay
t/2fs........dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/2fs........dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-10
         Failed 10/10 tests, 0.00% okay
t/3client....dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/3client....dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-112
         Failed 112/112 tests, 0.00% okay
t/4pool......dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/4pool......dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-6
         Failed 6/6 tests, 0.00% okay
t/5delta.....dyld: perl5.8.1 can't open library:
/sw/lib/libsvn_ra_local-1.0.dylib (No such file or directory, errno =
2)
t/5delta.....dubious
         Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-2
         Failed 2/2 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/0use.t 0 5 7 7 100.00% 1-7
t/1repos.t 0 5 5 5 100.00% 1-5
t/2fs.t 0 5 10 10 100.00% 1-10
t/3client.t 0 5 112 112 100.00% 1-112
t/4pool.t 0 5 6 6 100.00% 1-6
t/5delta.t 0 5 2 2 100.00% 1-2
Failed 6/6 test scripts, 0.00% okay. 142/142 subtests failed, 0.00%
okay.
make: *** [test_dynamic] Error 2
### execution of failed, exit code 2
Failed: compiling svn-ssl-0.37.0-12 failed

************************************************************************
***

PS2: Some info about the build system:
Mac OS X 10.3.2

% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3)
configuration:
   Platform:
     osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level
     uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25
16:58:41 pdt 2003;
root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh
powerpc '
     config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe
-Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
     optimize='-Os',
     cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
1495)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib
     libs=-ldbm -ldl -lm -lc
     perllibs=-ldl -lm -lc
     libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup
-L/usr/local/lib'

Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
   Locally applied patches:
         RC3
   Built under darwin
   Compiled at Sep 12 2003 19:50:49
   %ENV:
     PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin"
   @INC:
     /sw/lib/perl5/5.8.1/darwin-thread-multi-2level
     /sw/lib/perl5/5.8.1
     /sw/lib/perl5
     /sw/lib/perl5/darwin
     /System/Library/Perl/5.8.1/darwin-thread-multi-2level
     /System/Library/Perl/5.8.1
     /Library/Perl/5.8.1/darwin-thread-multi-2level
     /Library/Perl/5.8.1
     /Library/Perl
     /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
     /Network/Library/Perl/5.8.1
     /Network/Library/Perl
     .

% apr-config --version
0.9.5

% apachectl -v
Server version: Apache/2.0.48
Server built: Feb 17 2004 18:43:52

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 19 12:02:29 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.