You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by cm...@collab.net on 2002/11/01 00:12:36 UTC

Re: PATCH swig-1.3.16 and typemap

Jani Averbach <ja...@cc.jyu.fi> writes:

> 1) Swig complained that there is not anymore typemap(ignore)
>     (svn_types.i:33: Warning(119): %typemap(ignore) has been replaced by
>       %typemap(in,numinputs=0).) and compilation failed.
>    I fixed those instances and compilation continued.

Applied this part of the patch.  Thanks.

> However:
> 2) Swig tries link against apr-0 what I don't have that (I have
>    libapr.so  (apr from cvs)), I changed apr-0 to apr, and after that
>    linking also succeed

Sorry, we need to keep it as apr-0, since that is the way APR installs
itself these days.  How old is your APR?

> I tried the produced stuff by svnlook.py, and some of commands
> are working and some not (svnlook.py is out of date?):
> 
>   File "./svnlook.py", line 131, in _print_tree
>     wrap_editor, wrap_baton = delta.svn_delta_compat_wrap(e_ptr, e_baton,
> AttributeError: 'svn.delta' module has no attribute 'svn_delta_compat_wrap'

Yep, I noticed this, too.  And the fix was easy enough (commit this,
too).

> Summa summarum, I don't have the faintest idea about swig, so please take
> deep look at this. Also there is need for change in ac-helper/swig.m4, but
> that is trivial. I don't know if these typemap changes are backward
> compatible, but I guess they aren't.

Took care of the trivial change as well.

It's all in revision 3599.

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

Re: Bug? apr-0 vs. apr (was Re: PATCH swig-1.3.16 and typemap)

Posted by Nuutti Kotivuori <na...@iki.fi>.
Jani Averbach wrote:
> On 1 Nov 2002 cmpilato@collab.net wrote:
>> What the?
> 
> Magic happens.
> 
> It seems that apr get different name by configure,
> depending if it is builded by apache or subversion.
> 
> If you ask me, I would say that this is a bug or misbehaviour.

Check out the file 'config.layout' inside APR. It might give you a
clue what's happening.

-- Naked

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

Bug? apr-0 vs. apr (was Re: PATCH swig-1.3.16 and typemap)

Posted by Jani Averbach <ja...@cc.jyu.fi>.
On 1 Nov 2002 cmpilato@collab.net wrote:

>
> What the?
>

Magic happens.

It seems that apr get different name by configure,
depending if it is builded by apache or subversion.

If you ask me, I would say that this is a bug or misbehaviour.


svn/arp/Makefile:

# get substituted into some targets
APR_MAJOR_VERSION=0
...
TARGET_LIB = libapr-${APR_MAJOR_VERSION}.la


httpd-2.0/srclib/apr/Makefile:

# get substituted into some targets
APR_MAJOR_VERSION=0
...
TARGET_LIB = libapr.la

However I don't know why it behaves like that.


BR, Jani

--
Jani Averbach


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

Re: PATCH swig-1.3.16 and typemap

Posted by cm...@collab.net.
Jani Averbach <ja...@cc.jyu.fi> writes:

> On 31 Oct 2002 cmpilato@collab.net wrote:
> 
> >
> > Sorry, we need to keep it as apr-0, since that is the way APR installs
> > itself these days.  How old is your APR?
> >
> 
> I would say "very new" =)
> 
> $�date -r apr/CVS "+%Y-%m-%d %H:%M:%S"
> 
> 2002-10-29 10:45:42
> 
> $ cd /opt/svnd/test-20021030-102852/lib/
> 
> $ ls -1 libapr*
> 
> libapr.a
> libapr.la
> libapr.so
> libapr.so.0
> libapr.so.0.9.2
> libaprutil.a
> libaprutil.la
> libaprutil.so
> libaprutil.so.0
> libaprutil.so.0.9.2

What the?  I just built apr and apr-util myself yesterday, and my
libraries have the '-0' suffix!  I wonder what's going on here....

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

Re: PATCH swig-1.3.16 and typemap

Posted by Jani Averbach <ja...@cc.jyu.fi>.
On 31 Oct 2002 cmpilato@collab.net wrote:

>
> Sorry, we need to keep it as apr-0, since that is the way APR installs
> itself these days.  How old is your APR?
>

I would say "very new" =)

$ date -r apr/CVS "+%Y-%m-%d %H:%M:%S"

2002-10-29 10:45:42

$ cd /opt/svnd/test-20021030-102852/lib/

$ ls -1 libapr*

libapr.a
libapr.la
libapr.so
libapr.so.0
libapr.so.0.9.2
libaprutil.a
libaprutil.la
libaprutil.so
libaprutil.so.0
libaprutil.so.0.9.2


BR, Jani

--
Jani Averbach


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