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

Re: problem compiling against keychain auth on mac

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-11-04 11:24:54 CET

On Oct 31, 2006, at 01:28, Ben Collins-Sussman wrote:

> On 10/30/06, Barry Scott <barry@barrys-emacs.org> wrote:
>> But XCODE g++ does not define DARWIN. How is this supposed to work?
> DARWIN is defined by APR, our portability layer. That's how it works.

I cannot find a #define for DARWIN in the APR include files.

  $ grep DARWIN /usr/local/svn140/include/apr-0/*
/usr/local/svn140/include/apr-0/apr_portable.h:#elif defined(DARWIN)
/usr/local/svn140/include/apr-0/apr_signal.h:#if defined(DARWIN) && !
defined(__cplusplus) && !defined(_ANSI_SOURCE)

I built my own SVN using your two source kits as
follows is that has any bearing on the problem.

Also isn't testing for DARWIN the wrong thing to do?
The key chain is a Mac OS X features not a Darwin feature right?


---------------- build-svn.sh ---------------

. software-version.inc

[ -e ${TARGET} ] || mkdir ${TARGET}
cd ${TARGET}
echo Info: Cleanup...
rm -rf subversion-${SVNVER}
echo Info: Extract SVN sources...
tar -xjf ${INPUT_KIT_DIR}/subversion-${SVNVER}.tar.bz2
tar -xjf ${INPUT_KIT_DIR}/subversion-deps-${SVNVER}.tar.bz2

# must make the install path P at least as long as X so that
install_name_tool will work

cd subversion-${SVNVER}
     # make sure that only Mac OS X components are found
     # by limiting the PATH. e.g. no /usr/local/bin etc
     echo Info: Configure...
     ./configure 2>&1 \
         --prefix=$P \
         --disable-mod-activation --without-apxs --with-ssl

     echo Info: Make...
     make 2>&1
) | tee subversion-${SVNVER}-${TARGET}.log
--------------- build-svn.sh ------------------

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 4 11:25:24 2006

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