You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by OpenMacNews <su...@spamgourmet.com> on 2004/01/01 05:21:41 UTC

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

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

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

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Thursday, January 1, 2004 12:28 PM -0500 Greg Hudson <gh...@MIT.EDU> 
wrote:

> On Thu, 2004-01-01 at 00:21, OpenMacNews wrote:
>>         cd subversion/libsvn_subr && /bin/sh ./libtool --silent
>>         --mode=link gcc  -g -g -DNEON_ZLIB -DNEON_SSL
>
> Huh.  That's pretty odd.  abs_srcdir and abs_builddir are defined with:
>
>   abs_srcdir="`cd $srcdir && pwd`"
>   abs_builddir="`pwd`"
>
> Does "pwd" on OSX not behave in the usual fashion?

Recent versions of autoconf always override abs_srcdir and abs_builddir 
with bogus definitions.  I thought I had changed it all to use top_* 
instead, but I guess I never followed through on that.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

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

Posted by Greg Hudson <gh...@MIT.EDU>.
On Thu, 2004-01-01 at 00:21, OpenMacNews wrote:
>         cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc  -g -g -DNEON_ZLIB -DNEON_SSL

Huh.  That's pretty odd.  abs_srcdir and abs_builddir are defined with:

  abs_srcdir="`cd $srcdir && pwd`"
  abs_builddir="`pwd`"

Does "pwd" on OSX not behave in the usual fashion?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org