You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alan Barrett <ap...@cequrux.com> on 2006/09/21 14:41:40 UTC

svn with python bindings on AIX

I am trying to build subversion-1.3.2 on AIX-2.5 with gcc-3.3.2.

Following the advice from
<http://svn.haxx.se/users/archive-2006-07/0583.shtml>, I am able to
build a static version of subversion, using commands like this (the
CPPFLAGS and LDFLAGS are to pick up libz, which is installed under
/myprefix):

$ CONFIG_SHELL=/usr/bin/bash \
  CPPFLAGS=-I/myprefix/include \
  LDFLAGS=-L/myprefix/lib \
  /usr/bin/bash ./configure -v  \
  --disable-shared --enable-static --enable-all-static \
  --prefix=/myprefix --bindir=/myprefix/mybindir \
  --without-berkeley-db --disable-nls
$ make
$ make check
$ make install

But I can't build the python bindings.  They require shared libraries,
and I have been unable to get a build with shared libraries to work.

Somebody suggested I try with CC=/usr/vac/bin/xlc_r, but when I try
that, configure claims that the compiler can't create executables.  (I
lost the exact message, but could regenerate it if it's important.)

Any ideas?

--apb (Alan Barrett)

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

Re: svn with python bindings on AIX

Posted by Alan Barrett <ap...@cequrux.com>.
On Sat, 30 Sep 2006, Barry Scott wrote:
> >I am trying to build subversion-1.3.2 on AIX-2.5 with gcc-3.3.2.
>  [...]
> >But I can't build the python bindings.  They require shared libraries,
> >and I have been unable to get a build with shared libraries to work.
> 
> We have pysvn building and working on AIX if that is any help to you.
> The version of pysvn that has the fixes to work on AIX is on the /trunk.
> 
> http://pysvn.tigris.org

Thanks, I'll have a look.  The main reason I want the python bindings is
for mailer.py, so pysvn doesn't help directly, but perhaps I'll get some
clues from pysvn about how to build python modules on AIX.

--apb (Alan Barrett)

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

Re: svn with python bindings on AIX

Posted by Barry Scott <ba...@barrys-emacs.org>.
On Sep 21, 2006, at 15:41, Alan Barrett wrote:

> I am trying to build subversion-1.3.2 on AIX-2.5 with gcc-3.3.2.
>
> Following the advice from
> <http://svn.haxx.se/users/archive-2006-07/0583.shtml>, I am able to
> build a static version of subversion, using commands like this (the
> CPPFLAGS and LDFLAGS are to pick up libz, which is installed under
> /myprefix):
>
> $ CONFIG_SHELL=/usr/bin/bash \
>   CPPFLAGS=-I/myprefix/include \
>   LDFLAGS=-L/myprefix/lib \
>   /usr/bin/bash ./configure -v  \
>   --disable-shared --enable-static --enable-all-static \
>   --prefix=/myprefix --bindir=/myprefix/mybindir \
>   --without-berkeley-db --disable-nls
> $ make
> $ make check
> $ make install
>
> But I can't build the python bindings.  They require shared libraries,
> and I have been unable to get a build with shared libraries to work.
>
> Somebody suggested I try with CC=/usr/vac/bin/xlc_r, but when I try
> that, configure claims that the compiler can't create executables.  (I
> lost the exact message, but could regenerate it if it's important.)

We have pysvn building and working on AIX if that is any help to you.
The version of pysvn that has the fixes to work on AIX is on the /trunk.

http://pysvn.tigris.org


Barry


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