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

Re: Make fails to embed using libtool with -Ltrue/lib

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 22 Oct 2008 18:15:14 -0500

On Oct 22, 2008, at 13:38, John Szakmeister wrote:

> On Tue, Oct 21, 2008 at 4:06 AM, Daniel Bryar wrote:
>
>> I was hoping someone might be able to point me in the right
>> direction as
>> even the best google fu will not find and answer when your error
>> is base
>> around two words: true lib
>> Quite possibly the two most common arguments in a command, thus I
>> turn to
>> you, the good people of the user mailing list...
>>
>> I am trying to build a Subversion service on Mac OS X 10.4 Server
>> following
>> this:
>> http://developer.apple.com/tools/subversionxcode.html
>>
>> Apache2 is fine, but SVN fails to 'make'
>>
>> $ ./configure --prefix=/usr/local \
>> --mandir=/usr/local/share/man --with-ssl \
>> --with-apxs=/usr/local/apache2/bin/apxs --with-zlib=true \
>> --enable-swig-bindings=no --without-berkeley-db \
>> --with-apr=/usr/local/apache2 \
>> --with-apr-util=/usr/local/apache2
>>
>> Returns an error that "--enable-swig-bindings=no" is an unknown
>> option, but
>> configures make files ok.
>
> The problem is your configure statement. --with-zlib by itself
> enables zlib. --with-zlib=PATH points to where to look for the zlib
> libraries. You also don't want --enable-swig-bindings=no. You want
> to use --disable-swig-bindings.
>
> Not sure about the '-lexpat' error. That may go away when you get the
> other stuff right. But it seems like something may not be quite right
> with your apr-utils (I believe that parameter is picked up from
> apu-config).

You should point the --with-apr parameter at your apr-config program
(e.g. --with-apr=/usr/local/apache2/bin/apr-1-config) and point the --
with-apr-util parameter at your apu-config program.

You may want to also consider letting MacPorts compile this for you.
MacPorts makes it easy to compile a lot of different software
packages. Once you install MacPorts, it's as easy as typing

sudo port install subversion +tools +mod_dav_svn

This gets you Subversion and Apache 2 and apr and apr-util and
BerkeleyDB and all the other dependencies.

http://www.macports.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-23 01:15:36 CEST

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

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