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

P2: problems with 'make' paths on OSX + workaround ...

From: OpenMacNews <subversion-dev.20.openmacnews_at_spamgourmet.com>
Date: 2004-01-01 06:21:41 CET

hi all,

i'm building subversion-0.35.1 on OSX 10.3.2 from source (rather than via Fink ...)

configure is OK as:

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

but make fails with:

        cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc -g -g -DNEON_ZLIB -DNEON_SSL
        -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow -L/usr/local/neon/lib -lneon -ldl
        -L/usr/local/lib -rpath /usr/local/subversion/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo
        config_auth.lo config_file.lo config_win.lo error.lo getdate.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo
        quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo
        /usr/lib/libaprutil-1.la -ldb-4.2 -lexpat -liconv /usr/lib/libapr-1.la -lpthread
        ./libtool: ./libtool: No such file or directory
        make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127

a workaround for me seems to be

% vi Makefile.in
        top_builddir = .
        top_srcdir = @top_srcdir@
--- abs_builddir = @abs_builddir@
--- abs_srcdir = @abs_srcdir@
+++ abs_builddir = /usr/ports/subversion
+++ abs_srcdir = /usr/ports/subversion
        VPATH = @top_srcdir@

prior to configure, where "/usr/ports/subversion" is my source & build dir ...

subsequent make & make install complete wihtout incident ...

i'm not sure how far/deep the "abs_builddir" & "abs_srcdir" definitions reach, so don't have a patch at the ready ...

hope this helps!

cheers,

richard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 1 16:04:25 2004

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

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