You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "Caleb Burns (JIRA)" <ji...@apache.org> on 2012/10/03 05:22:07 UTC
[jira] [Created] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Caleb Burns created PYLUCENE-24:
-----------------------------------
Summary: Shared JCC object on Linux requires setuptools patch
Key: PYLUCENE-24
URL: https://issues.apache.org/jira/browse/PYLUCENE-24
Project: PyLucene
Issue Type: Improvement
Environment: Linux
Reporter: Caleb Burns
Attachments: jcc-linux.patch
The current method to build JCC on Linux requires patching the setuptools package.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Caleb Burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Burns updated PYLUCENE-24:
--------------------------------
Description: The current method to build JCC as a shared object on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions that the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11. (was: The current method to build JCC on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions of the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.)
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Bug
> Environment: Linux
> Reporter: Caleb Burns
> Labels: jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC as a shared object on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions that the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Caleb Burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Burns updated PYLUCENE-24:
--------------------------------
Labels: build jcc linux pylucene python (was: jcc linux pylucene python)
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Bug
> Environment: Linux
> Reporter: Caleb Burns
> Labels: build, jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC as a shared object on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions that the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Caleb Burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Burns updated PYLUCENE-24:
--------------------------------
Description: The current method to build JCC on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions of the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11. (was: The current method to build JCC on Linux requires patching the setuptools package.)
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Improvement
> Environment: Linux
> Reporter: Caleb Burns
> Labels: jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions of the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Andi Vajda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Vajda resolved PYLUCENE-24.
--------------------------------
Resolution: Fixed
Thank you, Caleb, I applied your patch.
I simplified the setup.py logic a bit as require('setuptools') seems to work also on distribute.
Changes are checked into trunk rev 1396894.
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Bug
> Environment: Linux
> Reporter: Caleb Burns
> Labels: build, jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC as a shared object on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions that the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Caleb Burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Burns updated PYLUCENE-24:
--------------------------------
Attachment: jcc-linux.patch
Patch to monkey patch setuptools on Linux to support compiling JCC as a shared object.
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Improvement
> Environment: Linux
> Reporter: Caleb Burns
> Labels: jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC on Linux requires patching the setuptools package.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PYLUCENE-24) Shared JCC object on Linux requires
setuptools patch
Posted by "Caleb Burns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PYLUCENE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Burns updated PYLUCENE-24:
--------------------------------
Issue Type: Bug (was: Improvement)
> Shared JCC object on Linux requires setuptools patch
> ----------------------------------------------------
>
> Key: PYLUCENE-24
> URL: https://issues.apache.org/jira/browse/PYLUCENE-24
> Project: PyLucene
> Issue Type: Bug
> Environment: Linux
> Reporter: Caleb Burns
> Labels: jcc, linux, pylucene, python
> Attachments: jcc-linux.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The current method to build JCC on Linux requires patching the setuptools package. Here's a patch to JCC that monkey-patches the setuptools Library and Extension classes to avoid the manual patch. It works with setuptools-0.6c7-11 and distribute-0.6.1+ without the need of manually patching setuptools. These are the same versions of the current manual patches work with: patch.43.0.6c7 works with setuptools-0.6c7-10 and distribute-0.6.1+ while patch.43.0.6.c11 works with setuptools-0.6c11.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira