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

Re: subversion 1.4.5 compile on centos 5 - x86_64 - can't figure it out

From: Charlie Reddington <charlie.reddington_at_gmail.com>
Date: 2007-11-07 21:17:52 CET

How exactly would I go about compiling this for 32 bit? I imagine it'd be
something like this? --> ./configure --host=<whatgoeshere?>

When I read the config.log, it shows subversion configured as -->
--host=x86_64-redhat-linux

So what would I put to try to compile as a 32bit linux?

On Nov 6, 2007 6:39 PM, David Chapman <dcchapman@earthlink.net> wrote:

> Charlie Reddington wrote:
> > Hi everyone,
> >
> > I'm pulling my hair out here. I'm trying to compile subversion. My end
> > goal is to have svn + apache.
> >
> > I installed apache 2.2.4 on a cent os 5 64 bit machine.
> >
> > I'm compiling svn as such.
> >
> > ./configure --prefix=/usr/local/subversion
> > --with-apxs=/usr/local/apache2/bin/apxs --without-berkely-db
> > --with-ssl --enable-shared
> >
> > I get this error at the end of the make
> >
> > /bin/sh /root/subversion-1.4.5/libtool --tag=CC --silent
> > --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g
> > -O2 -pthread -I./subversion/include -I./subversion
> > -I/usr/local/apache2/include -I/usr/local/apache2/include -o
> > subversion/libsvn_subr/xml.lo -c subversion/libsvn_subr/xml.c
> > cd subversion/libsvn_subr && /bin/sh /root/subversion-1.4.5/libtool
> > --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -rpath
> > /usr/local/subversion/lib -o libsvn_subr-1.la auth.lo cmdline.lo
> > compat.lo config.lo config_auth.lo config_file.lo config_win.lo
> > constructors.lo ctype.lo date.lo dso.lo error.lo hash.lo io.lo
> > kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo prompt.lo
> > quoprint.lo simple_providers.lo sorts.lo ssl_client_cert_providers.lo
> > ssl_client_cert_pw_providers.lo ssl_server_trust_providers.lo
> > stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo
> > user.lo username_providers.lo utf.lo utf_validate.lo validate.lo
> > version.lo xml.lo /usr/local/apache2/lib/libaprutil-1.la -lsqlite3
> > -lexpat /usr/local/apache2/lib/libapr-1.la -luuid -lrt -lcrypt
> > -lpthread -ldl -lz
> > /usr/lib/libexpat.so: could not read symbols: File in wrong format
> > collect2: ld returned 1 exit status
> > make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
> >
> >
> > Can someone please shed SOME light on this? I'm totally at a loss here.
> >
> Is /usr/lib/libexpat.so a 32-bit library? Under SUSE Linux, there are
> separate 32-bit and 64-bit libraries. Maybe centos is configured the
> same way. I compiled Subversion as a 32-bit application, so I didn't
> have to point it at any 64-bit libraries.
>
> My build notes also say that I had lots of trouble until I defined
> LD_LIBRARY_PATH in the build user's .bashrc:
>
> export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.4/lib:/usr/local/ssl/lib
>
> YMMV.
>
> --
> David Chapman dcchapman@earthlink.net
> Chapman Consulting -- San Jose, CA
>
>
>
Received on Wed Nov 7 21:18:17 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.