On Feb 16, 2005, at 9:59 AM, Mario Ruggier wrote:
> I configure subversion with
> $ ./configure --without-berkeley-db PYTHON=/usr/bin/python
>
> and it seems to build ok, but gives the following warning when
> installing:
> *** Warning: This system can not link to static lib archive
> /Users/admin/Desktop/downloads/subversion-1.1.3/neon/src/libneon.la.
> *** I have the capability to make that library automatically link in
> when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
This message is a problem with the neon configure script for OS X /
darwin. The configure script has a section for non-gnu ld linkers
(which is the case on OS X) but has no entry for darwin so it disables
shared library support even if you try to enable it. I do not know how
to fix this the "right" way in autoconf land but, before building
Subversion, you can hack the neon configure script like so:
# PORTME fill in a description of your system's linker (not GNU ld)
case $host_os in
>> add the following three lines
darwin* | rhapsody*)
ld_shlibs=yes
;;
>>
Then, you need to pass the "--enable-shared=yes" configure option into
neon b/c shared is disabled by default. My config line is as follows
(for my purposes, modify as appropriate):
./configure --without-apxs --without-berkeley-db --with-zlib
--enable-shared=yes --enable-swig-bindings=no --with-ssl
stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 16 22:27:58 2005