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?
Barry
---------------- build-svn.sh ---------------
#!/bin/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
X=/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/pysvn/
P=/usr/local/svn140-pad-pad-pad-pad-pad-pad-pad-pad-pad-pad-pad-pad-
pad-pad-pad-pad-pad-pad-pad-pad-pad
cd subversion-${SVNVER}
(
# make sure that only Mac OS X components are found
# by limiting the PATH. e.g. no /usr/local/bin etc
PATH=/bin:/usr/bin
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