[pylucene-dev] debian / ubuntu jcc package

2008-06-01 Thread Jeff Breidenbach
http://ftp-master.debian.org/new/jcc_1.9-1.html#binary-jcc-contents

a) Which of these files should I prune from the package?

b) python -m jcc complains about not being able to find libjvm.so; I
assume I messed something up in the package to cause that, but am not
sure which part.
___
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev


Re: [pylucene-dev] debian / ubuntu jcc package

2008-06-01 Thread João Rodrigues
Hello!

Not finding that library probably means you have Java out of your path. Do
check that :)

Best regards!
___
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev


Re: [pylucene-dev] debian / ubuntu jcc package

2008-06-01 Thread Felix Schwarz

Hi Jeff,

Jeff Breidenbach schrieb:

http://ftp-master.debian.org/new/jcc_1.9-1.html#binary-jcc-contents

a) Which of these files should I prune from the package?


I think there is nothing to prune. One thing I noticed is that your package 
contains _jcc.so for Python 2.4 and Python 2.5. Is that intentionally?


The sources directory could maybe go into a -dev package but that would need 
some patching I think.



b) python -m jcc complains about not being able to find libjvm.so; I
assume I messed something up in the package to cause that, but am not
sure which part.


That's because the linker can't find libjvm.so (which should be part of Sun's 
JDK). You can set an rpath in setup.py but at least for Fedora this may not be 
acceptable (Debian's policies may be different on that topic). The only other 
solution would be to add the directories for libjvm.so and libjava.so to 
/etc/ld.so.conf{.d} which is not currently done in Fedora.


I'm currently packaging PyLucene and JCC for Fedora so please CC me in 
discussions on the debian lists when it comes to the rpath issue.


--
Felix Schwarz
Fedora Package Maintainer (python-zope-interface, pyPdf)

www.schwarz.eu - software development and consulting

___
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev