Hello

Solve the problem. I have installed the "TortoiseSVN" and did not work with that. So I went to the url and let me download one Subversion. This down smoothly. Then came here

G:\Solr\Para hacer turbo\pylucene-2.4.1-1-src\pylucene-2.4.1-1>make
cd lucene-java-2.4.1; JAVA_HOME="G:\Java\LibreriaJAVAinstaladas\jdk1.6.0_16" "G:
\Solr\apache-1.7.1\bin" -Dversion=2.4.1
/usr/bin/sh: G:\Solr\apache-1.7.1\bin: command not found
make: *** [lucene-java-2.4.1/build/lucene-core-2.4.1.jar] Error 127

Just in case that file, download it from this url "http://ant.apache.org/. The version 1.7.1

# Windows   (Win32, Python 2.5.1, Java 1.6, ant 1.7.0)
PREFIX_PYTHON=c:\Python25
ANT=JAVA_HOME="G:\Java\LibreriaJAVAinstaladas\jdk1.6.0_16" "G:\Solr\apache-1.7.1\bin"
PYTHON=$(PREFIX_PYTHON)\python.exe
JCC=$(PYTHON) -m jcc --shared
NUM_FILES=2


Seems like following the link in the browser works fine.
What's the matter ?

Could you please try to run the command below manually, in the PyLucene directory ?

svn export -r HEAD http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_1 lucene-java-2.4.1

Thanks !

Andi..


Andi Vajda escribió:

On Wed, 16 Sep 2009, Truffe Hugo wrote:

Yes, I have svn that I use in my work.

Well, I don't know what to tell you. 'make' is trying to invoke svn to get the Java Lucene sources and is failing. Have you tried to invoke this command manually ?

Andi..

Andi Vajda escribió:

On Wed, 16 Sep 2009, Truffe Hugo wrote:

Sorry to send in Castilian, I made a copy and paste and no review.

G:\Solr\Para hacer turbo\pylucene-2.4.1-1-src\pylucene-2.4.1-1>make install
process_begin: CreateProcess(NULL, pwd, ...) failed.
svn export -r HEAD http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_1
lucene-java-2.4.1
process_begin: CreateProcess(NULL, svn export -r HEAD http://svn.apache.org/repo
s/asf/lucene/java/tags/lucene_2_4_1 lucene-java-2.4.1, ...) failed.
make (e=2): The system can not find the file specified
make: *** [lucene-java-2.4.1] Error 2

Do you have 'svn' installed ?
If not, get it from http://subversion.tigris.org/

Andi..



Okay, now let me show you as the makefile (layers there am wrong. Y have win xp).

VERSION=2.4.1-1
LUCENE_SVN_VER=HEAD
LUCENE_VER=2.4.1
LUCENE_SVN=http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_1 PYLUCENE:=$(shell pwd)
LUCENE=lucene-java-$(LUCENE_VER)

# Windows   (Win32, Python 2.5.1, Java 1.6, ant 1.7.0)
PREFIX_PYTHON=/cygdrive/o/Python-2.5.2/PCbuild
ANT=JAVA_HOME=G:\Java\LibreriaJAVAinstaladas\jdk1.6.0_16 /cygdrive/G:\Solr\apache-1.7.1\bin\ant
PYTHON=$(PREFIX_PYTHON)/python.exe
JCC=$(PYTHON) -m jcc --shared
NUM_FILES=2


Hugo

Andi Vajda escribió:

On Sep 16, 2009, at 5:36, Truffe Hugo <hugotruff...@gmail.com> wrote:

Hello, and make install for windows, but it is throwing this error.

Apache's svn server had a problem last night, it seems. Try again.
If the error persists, please help us by translating it into English.

Thanks !

Andi..




G:\Solr\Para hacer turbo\pylucene-2.4.1-1-src\pylucene-2.4.1-1>make install
process_begin: CreateProcess(NULL, pwd, ...) failed.
svn export -r HEAD http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_1
lucene-java-2.4.1
process_begin: CreateProcess(NULL, svn export -r HEAD http://svn.apache.org/repo s/asf/lucene/java/tags/lucene_2_4_1 lucene-java-2.4.1, ...) failed.
make (e=2): El sistema no puede hallar el archivo especificado.
make: *** [lucene-java-2.4.1] Error 2




Andi Vajda escribió:

On Sep 15, 2009, at 13:17, Truffe Hugo <hugotruff...@gmail.com> wrote:

"In xp too? Follow the installation guide, but I'm lost

Yes, on Windows too and yes, you need cygwin to run 'make'.

Andi..



Andi Vajda escribió:

On Sep 15, 2009, at 12:26, Truffe Hugo <hugotruff...@gmail.com> wrote:

Hello, not exist package name 'lucene'.

G:\Solr\Turbolucene\setuptools-0.6c9-py2.5.egg\setuptools\command\sdist.py:4: Us erWarning: Module toscawidgets was already imported from g:\turbogears-academia\ trabajo ian full time\extras\foro\toscawidgets\__init__.pyc, but g:\turbogears-a cademia\trabajo ian full time\extras\twcurrencylabel is being added to sys.path
import os, re, sys, pkg_resources
Traceback (most recent call last):
File "setup.py", line 45, in <module>
import turbolucene
File "G:\Solr\Turbolucene\turbolucene\__init__.py", line 214, in <module>
import lucene as PyLucene
ImportError: No module named lucene

Yes exist el packcage 'jcc', but but this happens

'jcc' is not 'lucene', it's a package used to build PyLucene.

If the 'lucene' package doesn't exist then it probably means that you didn't build or install it. After building jcc, did you build PyLucene ?
If so, does 'make test' succeed ?
If so, did you then install with 'make install' ?

Andi..



G:\Solr\Turbolucene>python setup.py develop
G:\Solr\Turbolucene\setuptools-0.6c9-py2.5.egg\setuptools\command\sdist.py:4: Us erWarning: Module toscawidgets was already imported from g:\turbogears-academia\ trabajo ian full time\extras\foro\toscawidgets\__init__.pyc, but g:\turbogears-a cademia\trabajo ian full time\extras\twcurrencylabel is being added to sys.path
import os, re, sys, pkg_resources
Traceback (most recent call last):
File "setup.py", line 45, in <module>
import turbolucene
File "G:\Solr\Turbolucene\turbolucene\__init__.py", line 214, in <module>
import jcc as PyLucene
File "c:\python25\lib\site-packages\jcc-2.3-py2.5-win32.egg\jcc\__init__.py", line 44, in <module>
from _jcc.boot import initVM
ImportError: DLL load failed: No se puede encontrar el m¾dulo especificado.

Andi Vajda escribió:

On Sep 15, 2009, at 4:43, Truffe Hugo <hugotruff...@gmail.com> wrote:

Hello. Question. Now is not called most Pylucene the package is installed if not JCC?

The package is called 'lucene'.

Will it be possible to rename the package to be called PyLucene?

If you want to use a different name, use 'import lucene as PyLucene'

Andi..



Christian Heimes escribió:
Andi Vajda wrote:

Yeah, I remember now. I guess Hugo should move to Python 2.6 - it's built with VC++ 2008, right? - if getting the older VC++ compiler is not possible.

Hugo, is there any reason for you not to use Python 2.6 ?


You are correct, Python 2.6 and 3.0 are using VS 2008 aka VC9.

Christian










Reply via email to