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

Re: Note regarding --disable-static on trunk

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 23 Mar 2009 12:26:50 +0000

On Mon, Mar 23, 2009 at 12:02:09PM +0000, Stefan Sperling wrote:
> On Wed, Mar 11, 2009 at 11:08:39AM -0700, Justin Erenkrantz wrote:
> > If you use --disable-static on trunk right now and try to run svn
> > binary, you may end up with a binary that segfaults.
>
> So my trunk build is now unusable. I will try jlibtool as a short-term
> fix, but would greatly appreciate a fix that makes things work out of
> the box again. After all, we still claim to support GNU libtool, so
> this problem is a real regression.

Well, jlibtool does not work for me.

After applying this patch to make it build:

--- build/jlibtool.c.orig Mon Mar 23 12:08:48 2009
+++ build/jlibtool.c Mon Mar 23 12:09:03 2009
@@ -75,7 +75,7 @@
 # define LD_LIBRARY_PATH "DYLD_LIBRARY_PATH"
 #endif
 
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 # define SHELL_CMD "/bin/sh"
 # define DYNAMIC_LIB_EXT "so"
 # define MODULE_LIB_EXT "so"

... building apr-util fails like this:

/home/stsp/svn/objdir/apr-1.3.3/libtool --silent --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -L/usr/local/lib -release 1 -module -rpath /home/stsp/svn/prefix/apr/lib/apr-util-1 -o dbd/apr_dbd_pgsql.la dbd/apr_dbd_pgsql.lo -L/usr/local/lib -lpq
gcc: 1: No such file or directory
*** Error code 1

I have no idea how to fix it.

I can't do any svn development now.
I don't want to have to remove packages provided by the OS.
Can you please help me to get my build working again?

Thanks,
Stefan
Received on 2009-03-23 13:29:34 CET

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.