[sword-devel] cmake python bindings

2015-01-08 Thread Ben
Today I've been updating to the latest Sword 1.7 (from the 1-7-x branch). I ran into an issue with the python module not getting installed - here's the cmake command: cmake -DLIBSWORD_LIBRARY_TYPE="Shared" -DLIB_INSTALL_DIR=/usr/local/lib64 -DSWORD_BUILD_TESTS=Yes -DSWORD_BINDINGS=Python -DSWORD_BU

Re: [sword-devel] cmake python bindings user location

2013-10-20 Thread Ben
On Fri, Jun 21, 2013 at 08:44:23AM -0500, Greg Hellings wrote: > > > > OK. I tried running make tests, but the osistest doesn't seem to be > > included. It'd be nice to get the test suite passing. > > > > As a start for fixing osistest, I added osistest to the list of test > > programs in tests/CMa

Re: [sword-devel] cmake python bindings user location

2013-06-21 Thread Greg Hellings
On Thu, Jun 20, 2013 at 8:04 AM, Ben wrote: > >> Good catch - looks like I accidentally grep'd for the wrong string when >> I was making sure I had gotten them all. I have added the additional >> option of BINDIR that captures the appropriate value. You can try again >> now, if you'd like. >> > >

Re: [sword-devel] cmake python bindings user location

2013-06-20 Thread Ben
On 06/19/2013 08:35 PM, Greg Hellings wrote: On Wed, Jun 19, 2013 at 7:18 PM, Ben mailto:crick...@gmail.com>> wrote: On 06/19/2013 10:00 AM, Greg Hellings wrote: On Mon, Jun 17, 2013 at 6:14 AM, Ben mailto:crick...@gmail.com>

Re: [sword-devel] cmake python bindings user location

2013-06-19 Thread Greg Hellings
On Wed, Jun 19, 2013 at 7:18 PM, Ben wrote: > On 06/19/2013 10:00 AM, Greg Hellings wrote: > >> >> >> >> On Mon, Jun 17, 2013 at 6:14 AM, Ben > > wrote: >> >> On 06/16/2013 11:55 PM, Greg Hellings wrote: >> >> >> >> >> On Sun, Jun 16, 2013 at 9:22 PM, >

Re: [sword-devel] cmake python bindings user location

2013-06-19 Thread Ben
On 06/19/2013 10:00 AM, Greg Hellings wrote: On Mon, Jun 17, 2013 at 6:14 AM, Ben mailto:crick...@gmail.com>> wrote: On 06/16/2013 11:55 PM, Greg Hellings wrote: On Sun, Jun 16, 2013 at 9:22 PM, mailto:crick...@gmail.com>

Re: [sword-devel] cmake python bindings user location

2013-06-19 Thread Greg Hellings
On Mon, Jun 17, 2013 at 6:14 AM, Ben wrote: > On 06/16/2013 11:55 PM, Greg Hellings wrote: > >> >> >> >> On Sun, Jun 16, 2013 at 9:22 PM, > > wrote: >> >> Hey Greg, >> >> I'm building the python bindings with cmake 2.6.4. I'm trying to >> specify a user loca

Re: [sword-devel] cmake python bindings user location

2013-06-17 Thread Ben
On 06/16/2013 11:55 PM, Greg Hellings wrote: On Sun, Jun 16, 2013 at 9:22 PM, mailto:crick...@gmail.com>> wrote: Hey Greg, I'm building the python bindings with cmake 2.6.4. I'm trying to specify a user location, but it doesn't work with current svn - SWORD_PYTHON_INSTALL_DIR

Re: [sword-devel] cmake python bindings user location

2013-06-16 Thread Greg Hellings
On Sun, Jun 16, 2013 at 9:22 PM, wrote: > Hey Greg, > > I'm building the python bindings with cmake 2.6.4. I'm trying to specify a > user location, but it doesn't work with current svn - > SWORD_PYTHON_INSTALL_DIR is always just "OFF", even if I pass a value > through the cmake command. If I pass

[sword-devel] cmake python bindings user location

2013-06-16 Thread cricketc
Hey Greg, I'm building the python bindings with cmake 2.6.4. I'm trying to specify a user location, but it doesn't work with current svn - SWORD_PYTHON_INSTALL_DIR is always just "OFF", even if I pass a value through the cmake command. If I pass "1" as the value, then SWORD_PYTHON_INSTALL_DIR gets

Re: [sword-devel] cmake python

2013-01-05 Thread Ben
Thanks, Greg. Both the python and icu patches work so far for me. -Ben On 01/04/2013 04:36 PM, Greg Hellings wrote: Ben, I just made a series of commits which further improve handling of Python builds. They do the following: 1) Move handling of bindings configuration up a directory level so C

Re: [sword-devel] cmake python

2013-01-04 Thread Greg Hellings
Ben, I just made a series of commits which further improve handling of Python builds. They do the following: 1) Move handling of bindings configuration up a directory level so CMake can include support for bindings other than SWIG in the future (unrelated to your complaint) 2) Add detection for t

Re: [sword-devel] cmake python

2012-12-22 Thread cricketc
On Wed, Dec 19, 2012 at 9:06 PM, Greg Hellings wrote: >> On Tue, Dec 18, 2012 at 9:27 PM, wrote: >> Here's a patch that helps some with osistest. I still get the >> following error when I run osistest, though: >> UTF8Transliterator: ICU: no resource index to load >> UTF8Transliterator: ICU: stat

Re: [sword-devel] cmake python

2012-12-19 Thread Greg Hellings
On Wed, Dec 19, 2012 at 7:59 PM, wrote: > On Tue, Dec 18, 2012 at 9:27 PM, wrote: > Here's a patch that helps some with osistest. I still get the > following error when I run osistest, though: > UTF8Transliterator: ICU: no resource index to load > UTF8Transliterator: ICU: status U_MISSING_RESOU

Re: [sword-devel] cmake python

2012-12-19 Thread cricketc
On Tue, Dec 18, 2012 at 9:27 PM, wrote: > On Tue, Dec 18, 2012 at 10:47 AM, Greg Hellings > wrote: >> If you configure with SWORD_BUILD_TESTS="Yes" CMake will configure the tests. >> >> You can then issue 'make tests' from the top build directory and it >> will build _and_ attempt to run all th

Re: [sword-devel] cmake python

2012-12-18 Thread cricketc
On Tue, Dec 18, 2012 at 10:47 AM, Greg Hellings wrote: > If you configure with SWORD_BUILD_TESTS="Yes" CMake will configure the tests. > > You can then issue 'make tests' from the top build directory and it > will build _and_ attempt to run all the tests. Now it fails for me on > the first one bec

Re: [sword-devel] cmake python

2012-12-18 Thread Greg Hellings
If you configure with SWORD_BUILD_TESTS="Yes" CMake will configure the tests. You can then issue 'make tests' from the top build directory and it will build _and_ attempt to run all the tests. Now it fails for me on the first one because of a missing directory "../../osistest". I have a feeling th

Re: [sword-devel] cmake python

2012-12-17 Thread cricketc
On Mon, Dec 17, 2012 at 9:40 PM, wrote: > On Mon, Dec 17, 2012 at 9:17 AM, Greg Hellings > wrote: >> What does it seem to be doing improperly? That's a very broad >> statement. I pretty much don't build the tests because they aren't >> really kept up with and are intended to be a thing for peop

Re: [sword-devel] cmake python

2012-12-17 Thread cricketc
On Mon, Dec 17, 2012 at 9:17 AM, Greg Hellings wrote: > What does it seem to be doing improperly? That's a very broad > statement. I pretty much don't build the tests because they aren't > really kept up with and are intended to be a thing for people actively > developing on the engine, not for pa

Re: [sword-devel] cmake python

2012-12-17 Thread Greg Hellings
On Mon, Dec 17, 2012 at 5:32 AM, Ben wrote: > Cool, thanks. Also, I was looking at the tests, and it didn't look to me > like cmake was building the tests directory properly, so I actually went > back to using the old build system. If you want to commit any changes to > build the tests, that would

Re: [sword-devel] cmake python

2012-12-17 Thread Ben
On 12/17/2012 12:40 AM, Greg Hellings wrote: On Sat, Dec 1, 2012 at 9:44 PM, Ben wrote: On 11/21/2012 10:27 PM, Ben wrote: Hello, A couple thoughts related to building python bindings with cmake: 1. /bindings/swig/python/setup.py has the following line: #!/usr/bin/python python Looks like t

Re: [sword-devel] cmake python

2012-12-16 Thread Greg Hellings
On Sat, Dec 1, 2012 at 9:44 PM, Ben wrote: > On 11/21/2012 10:27 PM, Ben wrote: >> >> Hello, >> >> A couple thoughts related to building python bindings with cmake: >> >> 1. /bindings/swig/python/setup.py has the following line: >> #!/usr/bin/python python >> Looks like that should just be /usr/bi

Re: [sword-devel] cmake python

2012-12-01 Thread Ben
On 11/21/2012 10:27 PM, Ben wrote: Hello, A couple thoughts related to building python bindings with cmake: 1. /bindings/swig/python/setup.py has the following line: #!/usr/bin/python python Looks like that should just be /usr/bin/python, or /usr/bin/env python? 2. It'd be nice to be able to i

[sword-devel] cmake python

2012-11-21 Thread Ben
Hello, A couple thoughts related to building python bindings with cmake: 1. /bindings/swig/python/setup.py has the following line: #!/usr/bin/python python Looks like that should just be /usr/bin/python, or /usr/bin/env python? 2. It'd be nice to be able to install the python module to some no