Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Roman Chyla
On Mon, Mar 7, 2011 at 6:59 PM, Bill Janssen wrote: > Andi Vajda wrote: > >> > So, I went to my Mac, and looked for libjcc.dylib.  Sure enough, >> > it's there.  So I tried this simple program: >> > >> > import org.apache.jcc.PythonVM; >> > >> > public class test { >> > >> >    public static void

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import org.apache.jcc.PythonVM; public class test { public static void main (String[] argv) { PythonVM.start("/

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import org.apache.jcc.PythonVM; public class test { public static void main (String[] argv) { PythonVM.start("/

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Bill Janssen
Bill Janssen wrote: > Andi Vajda wrote: > > > > I did patch setuptools, and as you can see below, the config.py says > > > "Shared=True", so I believe I have shared mode enabled. I'm certainly > > > using jcc with the "--shared" switch with no complaints. > > > > Something's off. libjcc.so is

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Andi Vajda
On Fri, 4 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: Something's off. libjcc.so is not shown in your list. You need to solve that mystery before embedding can proceed. So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Bill Janssen
Andi Vajda wrote: > Something's off. libjcc.so is not shown in your list. > You need to solve that mystery before embedding can proceed. So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import org.apache.jcc.PythonVM; public class te

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Andi Vajda
On Fri, 4 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: On Mar 4, 2011, at 10:56, Bill Janssen wrote: Andi Vajda wrote: There are two shared libraries for jcc: _jcc.so, the python extension, and libjcc.so, the shared mode runtime shared library. That's the one that gets loaded by Pyt

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Bill Janssen
Andi Vajda wrote: > On Mar 4, 2011, at 10:56, Bill Janssen wrote: > > > Andi Vajda wrote: > > > >> There are two shared libraries for jcc: _jcc.so, the python extension, > >> and libjcc.so, the shared mode runtime shared library. That's the one > >> that gets loaded by PythonVM.java. Its dire

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Andi Vajda
On Mar 4, 2011, at 10:56, Bill Janssen wrote: > Andi Vajda wrote: > >> There are two shared libraries for jcc: _jcc.so, the python extension, >> and libjcc.so, the shared mode runtime shared library. That's the one >> that gets loaded by PythonVM.java. Its directory must be on java's >> java.l

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Bill Janssen
Andi Vajda wrote: > There are two shared libraries for jcc: _jcc.so, the python extension, > and libjcc.so, the shared mode runtime shared library. That's the one > that gets loaded by PythonVM.java. Its directory must be on java's > java.library.path. No such beast gets built or installed: % f

Re: using org.apache.jcc.PythonVM

2011-03-04 Thread Andi Vajda
On Fri, 4 Mar 2011, Bill Janssen wrote: Hmmm, having this difficulty: % find /usr/local/lib/python2.6 -name \*jcc\* /usr/local/lib/python2.6/dist-packages/JCC-2.7-py2.6-linux-x86_64.egg/libjcc.a /usr/local/lib/python2.6/dist-packages/JCC-2.7-py2.6-linux-x86_64.egg/jcc /usr/local/lib/python2.6/

using org.apache.jcc.PythonVM

2011-03-04 Thread Bill Janssen
Hmmm, having this difficulty: % find /usr/local/lib/python2.6 -name \*jcc\* /usr/local/lib/python2.6/dist-packages/JCC-2.7-py2.6-linux-x86_64.egg/libjcc.a /usr/local/lib/python2.6/dist-packages/JCC-2.7-py2.6-linux-x86_64.egg/jcc /usr/local/lib/python2.6/dist-packages/JCC-2.7-py2.6-linux-x86_64.egg