Hi Daniel,

Building the bindings is essential - it's what lets Python talk to the C++
sword library.
The problem here is that you haven't got the auto tools.

There was a configure script shipped with the release. It should be in the
bindings/swig/package directory.
I'm not sure what the ISO looks like though. If you can't find the configure
script, I can send it to you.
I'm pretty sure that sword-svn will be the wrong folder to look in, as it
won't have the generated configure script.

Once found, it should be as simple as (from the package directory)
./configure --with-sword-dir=/usr/include/sword
make pythonswig
make python_make
cd python
python setup.py install

However, don't be surprised if that doesn't work exactly :)

The process is deatiled at
http://code.google.com/p/bpbible/wiki/RunningBPBible

God Bless,
Ben
-------------------------------------------------------------------------------------------
The Lord is not slow to fulfill his promise as some count slowness,
but is patient toward you, not wishing that any should perish,
but that all should reach repentance.
2 Peter 3:9 (ESV)

On 6/5/08, Daniel Owens <[EMAIL PROTECTED]> wrote:
>
> Ben,
>
> This is fantastic! It's a great step forward in terms of
> functionality--looking up Vietnamese words works perfectly, not to mention
> all the other functionality. I can't wait for the portable version so I can
> show it to some people I am working with.
>
> The website looks sharp; the download button is easy to find, which is
> important.
>
> I am running the program in XP in a virtual machine, though, since I am
> having trouble again in Linux. I installed sword 1.5.11, though I wasn't
> able to figure out the swig bindings installation--should it be necessary if
> 1.5.11 is installed? BPBible 0.2 still works, but 0.3 gives me this:
>
> 11:04:15 Importing wx
> 11:04:15 /importing wx
> 11:04:15 importing sword
> Traceback (most recent call last):
>   File "bpbible.py", line 10, in <module>
>     import mainframe
>   File "/home/dowens/Scripts/BPBible/bpbible-0.3/mainframe.py", line 13, in
> <module>
>     from swlib import pysw
>   File "/home/dowens/Scripts/BPBible/bpbible-0.3/swlib/pysw.py", line 31,
> in <module>
>     class MyStringMgr(SW.PyStringMgr):
> AttributeError: 'module' object has no attribute 'PyStringMgr'
>
> I'm guessing this has to do with the swig bindings, but following the
> directions in the various README files hasn't worked for me. I assume the
> swig bindings are in the sword-svn folder on the Sword 1.5.11 CD (that's the
> only place I could find them), but this is as far as I get:
>
> bash-3.2$ libtoolize --force
> bash-3.2$ ./autogen.sh
> *** copying swig files
> *** Recreating libtool
> libtoolize
> *** Recreating aclocal.m4
> aclocal
> ./autogen.sh: line 16: aclocal: command not found
> *** Recreating configure
> ./autogen.sh: line 20: autoconf: command not found
> *** Recreating the Makefile.in files
> ./autogen.sh: line 24: automake: command not found
>
> Any ideas?
>
> Daniel
>
> Ben Morgan wrote:
>
> Hi all,
>
> I've just released BPBible 0.3, which adds many more features.
> It also has a new website, with forums and screenshots at http://bpbible.com
>
> New features (more details at http://bpbible.com/node/22):
> Header bar - This is a feature unique to BPBible. It is a bar at the top of
> the bible window which has all the surrounding chapters on it for easy
> access. It also allows you to view an overview of each chapter. This is
> easier to try to see than to describe. There is a screenshot of it 
> here:http://bpbible.com/node/17
>
> Book Installation
> - I've added book installation for downloaded books. InstallMgr support is
> not here yet...
>
> Search improvements:
> - Highlighting of search terms in results
> - New search operator (a, b) which does matches a or b.
>
> Unicode support
> - BPBible now should handle all unicode properly - searching may not be very
> smart, though (no stemming, accents removal, ...)
>
> Daily Devotional support
> Parallel display in the verse compare frame.
> Dictionary speed-ups - doesn't load the whole list at the start.
> Filter modules by name
>
> BPBible also uses a new locale, which gives nicer references than the
> traditional ones
> I Samuel -> 1 Samuel
> II Samuel -> 2 Samuel
> ...
> III John -> 3 John
> Revelation of John -> Revelation
> It now interprets Jud as Judges, instead of Jude. This means references in
> the TSK to judges will now work properly.
>
> I decided not to include Sword built with ICU support in this release
> (although BPBible does support it), as it seems much too buggy and crashes
> far too much.
>
> A PortableApps version will probably land later today.
>
> God Bless,
> Ben
> -------------------------------------------------------------------------------------------
> The Lord is not slow to fulfill his promise as some count slowness,
> but is patient toward you, not wishing that any should perish,
> but that all should reach repentance.
> 2 Peter 3:9 (ESV)
>
>
>
> ------------------------------
>
> _______________________________________________
> sword-devel mailing list: [EMAIL 
> PROTECTED]://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
> --
> PMBX license 1502
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to