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

Re: OS X client frustrations (users-subversion: addressed to exclusive sender for this address)

From: OpenMacNews <users-subversion.20.openmacnews_at_spamgourmet.com>
Date: 2004-03-10 22:16:43 CET

-- On Wednesday, March 10, 2004 11:30 AM -0600 Wade Williams <wadesworld@mac.com> wrote:

wade,

> All:
>
> I'm a bit frustrated with trying to get a user of my subversion server a working client. He's on 10.2.6, I'm on
> 10.3.2.

if you still want to roll-your-own, take a quick look at lib dependencies for the svn client with otool to determine
which dylibs you'd have to bundle ... in theory at least, you should be able to pkg the whole durn thing from *your*
box ... including the 'missing' libiconv.

% otool -L /usr/local/bin/svn

in my case, the output is:

/usr/local/bin/svn:
        /usr/local/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_wc-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_ra-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_diff-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_ra_local-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_ra_dav-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_ra_svn-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libaprutil-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libdb-4.2.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
        /usr/lib/libapr-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.0.0)
        /usr/local/neon/lib/libneon.24.dylib (compatibility version 25.0.0, current version 25.4.0)
        /usr/lib/libdl.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/ssl/lib/libssl.0.9.7.dylib (compatibility version 0.9.0, current version 0.9.7)
        /usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0, current version 0.9.7)
        /usr/lib/libz.1.2.1.dylib (compatibility version 1.2.0, current version 1.2.1)
        /usr/local/lib/libexpat.0.dylib (compatibility version 6.0.0, current version 6.0.0)

just for reference on list, the following works without a hitch on OSX 10.3.2 ... sound like *you've* got it all
working on your box already.

richard

with:
   dlcompat (cvs)
   berkeley-db-4.2.52 (w/ strong crypto)
   ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
   autoconf (GNU Autoconf) 2.59
   automake (GNU automake) 1.8.2
   Apache/2.1.0-dev (cvs: Feb 16 2004 21:50:01) MPM=Worker, threaded, forked
   OpenSSL 0.9.7c 30 Sep 2003 (NOT osx native, in /usr/local/ssl)
   expat-1.95.7 (cvs: 02/16/04 15:58:44)

############################################################
neon

wget http://www.webdav.org/neon/neon-0.24.4.tar.gz

gnutar zxf neon-0.24.4.tar.gz
cd /usr/ports/neon-0.24.4

unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LINGUAS LC_ALL LANG ;\
setenv LDFLAGS "-ldl"

glibtoolize --force --copy && aclocal -I macros && autoconf

./configure \
--prefix=/usr/local/neon \
--enable-shared --disable-static \
--with-ssl --with-libs=/usr/local/ssl \
--without-libxml2 --with-expat

make && make install

############################################################
subversion
ref:
        http://subversion.tigris.org/project_packages.html
        http://svnbook.red-bean.com/

wget http://subversion.tigris.org/tarballs/subversion-1.0.0.tar.gz

gnutar zxf subversion-1.0.0.tar.gz
mv subversion-1.0.0 subversion
cd /usr/ports/subversion

unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LINGUAS LC_ALL LANG ;\
setenv LDFLAGS "-ldl"

./autogen.sh

./configure \
--prefix=/usr/local \
--disable-maintainer-mode \
--enable-shared --disable-static \
--with-apr=/usr --with-apr-util=/usr \
--without-apache \
--with-apxs=/usr/sbin/apxs \
--with-neon=/usr/local/neon

make && make install

## ensure in /usr/libexec/apache2
# -rwxr-xr-x 1 root wheel 27660 Dec 31 21:26 mod_authz_svn.so
# -rwxr-xr-x 1 root wheel 316856 Dec 31 21:26 mod_dav_svn.so

# create startup items for server ...
mkdir /Library/StartupItems/SubVersion
------------------------------------------
(EDITOR) /Library/StartupItems/SubVersion/SubVersion
#!/bin/sh

. /etc/rc.common

if [ "${SUBVERSION:=-NO-}" = "-YES-" ]; then
        ConsoleMessage "Starting SubVersion Source Control"
        /usr/local/bin/svnserve -d
fi
------------------------------------------

------------------------------------------
(EDITOR) /Library/StartupItems/SubVersion/StartupParameters.plist
{
  Description = "SubVersion Server";
  Provides = ("SourceControl");
  Requires = ("Disks", "Resolver");
  OrderPreference = "None";
  Messages =
  {
    start = "Starting SubVersion Source Control";
    stop = "Stopping SubVersion Source Control";
  };
}
------------------------------------------

chown -R root:wheel /Library/StartupItems/SubVersion ;\
chmod 755 /Library/StartupItems/SubVersion ;\
chmod 755 /Library/StartupItems/SubVersion/SubVersion ;\
chmod 644 /Library/StartupItems/SubVersion/StartupParameters.plist

------------------------------------------
(EDITOR) /etc/hostconfig
+++ SUBVERSION=-YES-
------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 10 22:17:10 2004

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.