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

Re: Compiling Static Subversion Binaries on RHEL

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2007-04-14 18:39:11 CEST

Hi All,
    I found the culprit but I'm not sure why. When I pass the
"--enable-all-static" to configure for Subversion, that is what causes the
problem. The exact version of RHELS is "Red Hat Enterprise Linux ES release
4 (Nahant)", as per the /etc/redhat-release. If anyone has any input,
advice or suggestions, please let me know. At least I can build a partially
static Subversion instance which works for now.

Take care,

Jeremy

On 4/14/07, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
>
> David,
> Thanks for the input. As for the ELF interpreter, I'm not sure what
> the problem is. When I build everything shared, the ELF interpreter is fine
> because the Subversion executables are linked with libc.so.6 , which is
> available. When I change things to more of a static build, libc.so.1 is
> used and is not present on the system. I've started with fresh builds
> everytime it has filed. I even remove all sources and reextract the
> tarballs. I am at a loss. I may have found something but I don't want to
> discuss until I prove/disprove it.
>
> Take care,
>
> Jeremy
>
> On 4/14/07, David James <james@cs.toronto.edu> wrote:
> >
> > On 4/13/07, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
> > > Hi All,
> > > I have spent over 12 hours today trying to build a static
> > Subversion
> > > binary, and static binary dependencies of Subversion, on RHEL. After
> > > fighting with apr-util and OpenLDAP, I finally decided to stop
> > building
> > > OpenLDAP statically and got Apache compiled and running. The problem
> > is
> > > when I build Subversion statically on RHEL, I get the following error:
> >
> >
> > Hi Jeremy,
> >
> > If you're trying to build Subversion statically, a good place to start
> > is with D.J. Hagberg's static build. If you look inside the
> > svn-linux-build.zip file you'll see that D.J. has scripts which
> > carefully configure all of the dependencies.
> > http://svn.haxx.se/dev/archive-2007-02/0046.shtml
> >
> > I recommend starting with his script and adding any additional
> > dependencies to that.
> >
> > If you got a bad ELF interpreter error, it likely means that one of
> > the files in your build got corrupted somehow, or that you built some
> > of the binaries on a different processor architecture. That's my
> > experience anyway. To avoid this error, it would be a good idea to
> > start fresh with a clean build.
> >
> > Cheers,
> >
> > David
> >
>
>
Received on Sat Apr 14 18:39:33 2007

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.