On Sat, 1 Dec 2007, Mark Pettit wrote:

Andi Vajda wrote:

Ok, it looks like the bug was in distutils. I switched the build to
setuptools completely and uploaded JCC 1.5. I then downloaded it again and

hi andi,

i had to modify the setup.py as below in order to
install.   i have a stock-standard java 1.6 install.
it's the SUN one, and i use slackware 12.0.

my install is now correct.   must still test though.

Yes, that's expected. As is mentioned in jcc's INSTALL [1], setup.py needs to be edited to reflect your installation. Thank you for the slackware data. I have never run this distribution, I'm copying your message to the [email protected] mailing list so that other slackware users can benefit from your findings.

Thanks !

Andi..

[1] http://svn.osafoundation.org/pylucene/trunk/jcc/jcc/INSTALL


INCLUDES = {
'darwin': ['/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers'],
   'linux2': ['/usr/lib/java/include',
              '/usr/lib/java/include/linux'],
   'win32': ['o:/Java/jdk1.6.0_02/include',
             'o:/Java/jdk1.6.0_02/include/win32'],
}

LFLAGS = {
   'darwin': ['-framework', 'JavaVM'],
   'linux2': ['-L/usr/lib/java/lib/i386', '-ljava',

'-Wl,-rpath=/usr/lib/java/lib/i386:/usr/lib/java/lib/i386/client'],
],
   'win32': ['/LIBPATH:o:/Java/jdk1.6.0_02/lib', 'jvm.lib']

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to