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

Re: [PATCH] Detect the proper shell variable to set to give path to shared libraries in Makefile.PL

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-12-05 02:56:02 CET

On Dec 4, 2003, at 8:22 PM, Ben Reser wrote:

> On Mon, Dec 01, 2003 at 12:42:47PM -0500, Garrett Rooney wrote:
>> Well, that's inconvenient... I can say for certain that without
>> --link-ld it does not even link on Mac OS X. Anyone have any ideas?
>
> Can you send me the full output of the build on OS X that doesn't work.
> Also are you using the included neon and apr source or are you using
> system installed ones? I'm wondering if this is the difference between
> what clkao is seeing and what you are seeing.

I'm using installed versions of APR and Neon.

Here's the output of the build without the --link-ld.

-garrett

[rooneg@CommandLine:~/Hacking/svn/subversion/bindings/swig/perl ] 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
[rooneg@CommandLine:~/Hacking/svn/subversion/bindings/swig/perl ] make
cp Core.pm blib/lib/SVN/Core.pm
cp Base.pm blib/lib/SVN/Base.pm
cp Wc.pm blib/lib/SVN/Wc.pm
cp Delta.pm blib/lib/SVN/Delta.pm
cp Repos.pm blib/lib/SVN/Repos.pm
cp Ra.pm blib/lib/SVN/Ra.pm
cp Client.pm blib/lib/SVN/Client.pm
cp Fs.pm blib/lib/SVN/Fs.pm
swig -c -nopm -perl -I.. -I../../../include
-I/Users/rooneg/Hacking/prefix/include/apr-1 -module SVN::_Core -o
core.c ../core.i
../../../include/svn_props.h:282: Warning(305): Bad constant value
(ignored).
cc -c -I/Users/rooneg/Hacking/prefix/include/apr-1 -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
core.c: In function `_wrap_svn_config_get_bool':
core.c:6212: warning: assignment from incompatible pointer type
core.c: In function `_wrap_svn_io_dir_empty':
core.c:6836: warning: assignment from incompatible pointer type
core.c: In function `_wrap_svn_io_is_file_executable':
core.c:6897: warning: assignment from incompatible pointer type
core.c: In function `_wrap_svn_io_file_checksum':
core.c:7043: warning: passing arg 3 of `Perl_sv_setpv' makes pointer
from integer without a cast
core.c: In function `_wrap_svn_io_files_contents_same_p':
core.c:7070: warning: assignment from incompatible pointer type
core.c: In function `_wrap_svn_stream_readline':
core.c:7856: warning: assignment from incompatible pointer type
Running Mkbootstrap for SVN::_Core ()
chmod 644 _Core.bs
rm -f blib/arch/auto/SVN/_Core/_Core.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib core.o -g -O2 -lpthread -L../.libs
-L../../../libsvn_client/.libs -L../../../libsvn_delta/.libs
-L../../../libsvn_fs/.libs -L../../../libsvn_ra/.libs
-L../../../libsvn_repos/.libs -L../../../libsvn_wc/.libs
-L../../../libsvn_diff/.libs -L../../../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/Users/rooneg/Hacking/prefix/lib -lswigpl -o
blib/arch/auto/SVN/_Core/_Core.bundle
ld: warning -L: directory name (/usr/local/lib) does not exist
ld: core.o illegal reference to symbol: _apr_file_open_stderr defined
in indirectly referenced dynamic library
/Users/rooneg/Hacking/prefix/lib/libapr-1.0.dylib
make: *** [blib/arch/auto/SVN/_Core/_Core.bundle] Error 1
[rooneg@CommandLine:~/Hacking/svn/subversion/bindings/swig/perl ] exit

Script done on Thu Dec 4 20:54:35 2003

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 5 02:56:39 2003

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.