You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Noah Gift <no...@gmail.com> on 2007/05/20 05:40:47 UTC

much compile pain on Cent OS 4.4 and subverions 1.4.3

On a CentOS 4.4 machine:

I have spent upwards of 18 hours straight trying to get subversion
1.4.3 to compile with SWIG Version 1.3.31 which was compiled with
/usr/local/bin/python2.5.1

I set the following options in config:

 --with-swig=/usr/local/bin/swig PYTHON=/usr/local/bin/python2.5

and sometimes I tried in addition:

-with-apr=/opt/subversion-1.4.3/apr or /usr/local/apr/lib

I cannot get it to work I get this make error everytime:

cd subversion/libsvn_subr && /bin/sh /opt/subversion-1.4.3/libtool
--tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread
-D_LARGEFILE64_SOURCE -DNE_LFS   -rpath /usr/local/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 /opt/subversion-1.4.3/apr-util/libaprutil-0.la
-lexpat /usr/local/apr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl
-lpthread -ldl -lz
libtool: link: cannot find the library
`/opt/subversion-1.4.3/apr-util/libaprutil-0.la' or unhandled argument
`/opt/subversion-1.4.3/apr-util/libaprutil-0.la'
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1


Is this humanly possible to do?  I ultimately am doing this to get
trac to work, but I think I might be ok with not doing it as I don't
think I can attempt to compile for much longer....argh.  Maybe trac
was not meant to run on CentOS.  Any help appreciated.  I think
regular subversion and a MoinMoin wiki wouldn't kill me now...

Noah Gift

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

Re: much compile pain on Cent OS 4.4 and subverions 1.4.3

Posted by Noah Gift <no...@gmail.com>.
A couple of friends said..why don't use just use the package?  Well, I
just did and five minutes later I am up.  Oh...the stupidity of trying
to get it to work against python2.5...lesson learned.  :)

On 5/20/07, Mark Phippard <ma...@gmail.com> wrote:
> On 5/20/07, Noah Gift <no...@gmail.com> wrote:
> > On a CentOS 4.4 machine:
> >
> > I have spent upwards of 18 hours straight trying to get subversion
> > 1.4.3 to compile with SWIG Version 1.3.31 which was compiled with
> > /usr/local/bin/python2.5.1
> >
> > I set the following options in config:
> >
> >  --with-swig=/usr/local/bin/swig PYTHON=/usr/local/bin/python2.5
> >
> > and sometimes I tried in addition:
> >
> > -with-apr=/opt/subversion-1.4.3/apr or /usr/local/apr/lib
> >
> > I cannot get it to work I get this make error everytime:
> >
> > cd subversion/libsvn_subr && /bin/sh /opt/subversion-1.4.3/libtool
> > --tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread
> > -D_LARGEFILE64_SOURCE -DNE_LFS   -rpath /usr/local/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 /opt/subversion-1.4.3/apr-util/libaprutil-0.la
> > -lexpat /usr/local/apr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl
> > -lpthread -ldl -lz
> > libtool: link: cannot find the library
> > `/opt/subversion-1.4.3/apr-util/libaprutil-0.la' or unhandled argument
> > `/opt/subversion-1.4.3/apr-util/libaprutil-0.la'
> > make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>
> I am not a build expert and I have never tried building the Python
> bindings.  That being said, based on what you showed above, and this
> error, I am wondering if you specified --with-apr-util?  You have to
> specify that, in addition to --with-apr.
>
> Unfortunately, that is the extent of the help I might be able to offer.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>

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

Re: much compile pain on Cent OS 4.4 and subverions 1.4.3

Posted by Mark Phippard <ma...@gmail.com>.
On 5/20/07, Noah Gift <no...@gmail.com> wrote:
> On a CentOS 4.4 machine:
>
> I have spent upwards of 18 hours straight trying to get subversion
> 1.4.3 to compile with SWIG Version 1.3.31 which was compiled with
> /usr/local/bin/python2.5.1
>
> I set the following options in config:
>
>  --with-swig=/usr/local/bin/swig PYTHON=/usr/local/bin/python2.5
>
> and sometimes I tried in addition:
>
> -with-apr=/opt/subversion-1.4.3/apr or /usr/local/apr/lib
>
> I cannot get it to work I get this make error everytime:
>
> cd subversion/libsvn_subr && /bin/sh /opt/subversion-1.4.3/libtool
> --tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread
> -D_LARGEFILE64_SOURCE -DNE_LFS   -rpath /usr/local/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 /opt/subversion-1.4.3/apr-util/libaprutil-0.la
> -lexpat /usr/local/apr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl
> -lpthread -ldl -lz
> libtool: link: cannot find the library
> `/opt/subversion-1.4.3/apr-util/libaprutil-0.la' or unhandled argument
> `/opt/subversion-1.4.3/apr-util/libaprutil-0.la'
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

I am not a build expert and I have never tried building the Python
bindings.  That being said, based on what you showed above, and this
error, I am wondering if you specified --with-apr-util?  You have to
specify that, in addition to --with-apr.

Unfortunately, that is the extent of the help I might be able to offer.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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