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

Re: BUG: Error in the INSTALL doc

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2002-08-10 00:35:40 CEST

On Fri, Aug 09, 2002 at 03:33:58PM -0500, Karl Fogel wrote:
> Daniele Nicolodi <daniele@grinta.net> writes:
> > Better patch, same log:
>
> Sorry, what log? The subject line refers to an error in the INSTALL
> doc, but the patch below is to Makefile.in and configure.in.
>
> Threads do drift, and it's not always clear when to change the subject
> line, I understand... just trying to straighten things out here. I
> can tell this adds the `--enable-all-static' flag to configuration,
> but it would help to have your log message anyway. (Always post it
> with the patch, so everything's together in one email...)

Original bug report from Jani Averbach <jaa@cc.jyu.fi>:

> Hi!
>
> less -N INSTALL (r. 1721)
>
> 329 Unpack it, and use the standard GNU procedure to compile:
> 330
> 331 $ ./configure --enable-maintainer-mode --disable-shared
> 332 $ make
> 333
> 334 (The first switch to ./configure turns on debugging, and the
> 335 second switch builds a statically-linked client binary.)
>
> However, this produce dynamically linked binary, when there are
> subversion's libraries statically linked inside of it.
>
> Strickly speaking, this kind of binary isn't statically linked client
> binary.

Aftar that report we have agrred that this it the correct beviatour. To
produce a full static binary we need to pass the -all-static flag to
libtool. Then my patch. I haven't changed INSTALL to explain this
because me english is very bad and i can make any sort of error writing
in that language.

Here the log:

Make a new --enable-all-static configure switch to turn on the build of
full static binaries.

* configure.in
  (AC_ARG_ENABLE(all-static, ...)): New macro.

* Makefile.in
  (LINK): changed the order of variables that compose that command to
          place -all-static in the right place
  (LINK_APACHE_MOD): removed $LT_LDLIBS from that command because
                     -all-static hasen't sense here.

Attached there is the patch.

Ciao

-- 
Daniele
		    --- http://www.grinta.net ---


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

Received on Sat Aug 10 00:36:14 2002

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.