Hi Bhavani,

we have just built the Pythonnator on Ubuntu 10.4 64bits using your RC5 binaries. We were able to run the test Python script in CVD on that same machine using a PEAR built with _pythonnator.so, pythonnator.py and sample.py from that build.

In order to compile with Python 2.6 we need to touch uima_wrap.cxx once it is generated. Otherwise we get the following error:

uima_wrap.cxx: In function ‘bool PyStringConvert(PyObject*, 
icu_3_6::UnicodeString&)’:
uima_wrap.cxx:2844: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument 
‘3’ to ‘int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)’

We needed to change "int len" to "Py_ssize_t len" in that function (it would probably work without the change on 32bit systems). Since uima_wrap.cxx gets generated automatically, we'd need to actually track down the original source of this error.

We have compiled it with both SWIG 2.0.7 and SWIG 1.3.40, and both seem to be ok. For SWIG > 1.3.x the Makefile needs to be changed (there's a version check in there).

We will now try to reproduce our own build of the RC, and will do some tests, particularly of Pythonnator, on different machines with different Python versions.

Good to see you're back. Let's hope for a release soon, UimaCPP was getting really outdated by now.

Best,
Jens

On 07/09/2012 02:00 PM, Bhavani Iyer wrote:
Hi Jens,

I've updated the permissions. Please retry the download.
As you've said, currently the path to dependencies have to be explicitly
provided to build the SDK.
Please report any problems and suggestions for improvement.
Thanks
Bhavani

On Mon, Jul 9, 2012 at 3:26 AM, Jens Grivolla <[email protected]> wrote:

Hi Bhavani, I see that there are 64bit builds now, which is what we need.
However, the link doesn't work due to missing permissions.

So far (before RC5) we had gotten UimaCPP to compile, but had major
problems packaging it with the dependencies. When installing the
dependencies from the standard Ubuntu repository (we tried 8.04, 10.04 and
12.04) we can get it to compile, and it detects the location automatically,
but for `make sdk` we need to specify the locations by hand and it's quite
difficult to find the right locations.

Also, the JDK location when using Oracle JDK 7 on Ubuntu actually needs
two includes and we needed to trick it into working by specifying
--with-jdk="/usr/lib/jvm/java-**7-oracle/include
-I/usr/lib/jvm/java-7-oracle/**include/linux"

We will now try to compile Pythonnator with the new SDK, so far we have
had only partial success on any system more recent than 4 or 5 years. We
will file bug reports once we figure out what exactly is failing.

Best,
Jens


On 07/06/2012 11:30 PM, Bhavani Iyer wrote:

Hello,

Resuming trying to release UIMACPP.
RC 5 is available at
http://people.apache.org/~**bhavani/uimacpp-release-**
candidates/2.4.0/05/<http://people.apache.org/%7Ebhavani/uimacpp-release-candidates/2.4.0/05/>

It contains:
https://issues.apache.org/**jira/browse/UIMA-2425<https://issues.apache.org/jira/browse/UIMA-2425>
and updates to the READMEs.

Please try it and report any problems.

Thanks,
Bhavani









Reply via email to