<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>Ben,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009> <FONT
face=Arial color=#0000ff size=2>Ok, you got my attention <g>
totally! </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2> I could not not find any way to compile
the Sword.cxx module generated by swig in 1.60/1.60svn (I could do it fine
in 1.5.11) How exactly did you get past the VerseManager
referencing the inner TreeView PositionListener class in
1.60? </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2> Is their some swig parameter that allows it to
generate some of the inner classes. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>I just pulled a fresh trunk version. This is compiled
against Clucene 0.9.21b and ICU 4.2.1.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>Here is the error messages from a fresh SVN trunk (w/o my
patch) version :</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>After compiling Sword with the following
options:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>OPTIONS="--prefix=/usr
$OPTIONS"<BR>OPTIONS="--libdir=/usr/local/lib
$OPTIONS"<BR>OPTIONS="--sysconfdir=/etc $OPTIONS"<BR>OPTIONS="--without-conf
$OPTIONS"<BR>OPTIONS="--enable-shared $OPTIONS"<BR>OPTIONS="--disable-debug
$OPTIONS"<BR></FONT></SPAN><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>OPTIONS="--with-icu $OPTIONS"<BR>OPTIONS="--with-clucene
$OPTIONS"<BR></FONT></SPAN><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>OPTIONS="--disable-tests $OPTIONS"<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>I type:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>cd bindings/swig/packages</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>./autogen.sh</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>./configure</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>make pythonswig</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>make python_make</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>--- </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>I get:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>Sword.cxx: In function `PyObject*<BR>
_wrap_TreeKey_setPositionChangeListener(PyObject*,
PyObject*)':<BR>Sword.cxx:42224: error: `PositionChangeListener' undeclared
(first use this<BR> function)<BR>Sword.cxx:42224: error: (Each
undeclared identifier is reported only once for<BR> each function it
appears in.)<BR>Sword.cxx:42224: error: `arg2' undeclared (first use this
function)<BR>Sword.cxx:42224: error: parse error before `)'
token<BR>Sword.cxx:42242: error: parse error before `*' token<BR>error: command
'/scratchbox/compilers/host-gcc/bin/gcc' failed with exit status 1<BR>make: ***
[python_make] Error 1<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>----</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>Swig Version 1.3.29</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>After applying my patch I can build it
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2> </DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2>Nathan</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781030523-19102009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><FONT face=Arial color=#0000ff
size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ben Morgan [mailto:benpmorgan@gmail.com]
<BR><B>Sent:</B> Monday, October 19, 2009 5:10 PM<BR><B>To:</B> SWORD
Developers' Collaboration Forum<BR><B>Subject:</B> Re: [sword-devel] Submitting
a Patch against 1.60svn<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=gmail_quote>On Tue, Oct 20, 2009 at 8:36 AM, Troy A. Griffitts <SPAN
dir=ltr><<A
href="mailto:scribe@crosswire.org">scribe@crosswire.org</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Thanks
for the patch Nathan,<BR><BR>Is this really necessary? This has been in
the code for quite some time<BR>and BPBible has been working with swig
bindings for quite some time with<BR>this in the code. I don't believe
this inner class should ever be<BR>exposed in the bindings, as it is a
mechanism we use in the<BR>implementation of a specific derived class, and not
a basic interface.<BR><BR></BLOCKQUOTE>
<DIV>This isn't necessary for me; SWIG will give warnings about nested classes,
but not errors (they just won't be wrapped).<BR>It is actually possible to get
round these restrictions, but here it isn't worth it.<BR><BR>The place I'd
actually be a little more worried about the nested classes is in the av11n code,
with VerseMgr::System, etc.<BR><BR><BR clear=all>God
Bless,<BR>Ben<BR>-------------------------------------------------------------------------------------------<BR>Multitudes,
multitudes,<BR> in the valley of decision!<BR>For the day of the
LORD is near<BR> in the valley of decision.<BR><BR>Giôên 3:14
(ESV)<BR><BR></DIV></DIV></BODY></HTML>