Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-27 Thread Christian Heimes
Jim wrote: > My python is 2.4 UCS4 on Ubuntu 7.10. I was able to build the > Python.Runtime.dll. I used the pre-built clr.so (wouldn't build) and > copied it to /usr/lib/python2.4/site-packages. I also built a special > python2.4 dynamically linked to libpython. Why doesn't clr.so build for

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-27 Thread Christian Heimes
jimh wrote: > Yes both the dev packages are installed. Here's the error I get. > /usr/bin/python2.4 setup.py build_ext -i > /usr/bin/python2.4: can't open file 'setup.py': [Errno 2] No such file > or directory > > I don't see a setup.py in the package on sourceforge. Oh yeah, I see the problem.

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-27 Thread jimh
Running this command I get the error: "Attempt to install an Assembly without a strong name" Sanghyeon Seo wrote: > 2007/11/18, Jim <[EMAIL PROTECTED]>: > >> Obviously python is not finding my Python.Runtime.dll. Where should this >> file be copied so that it can be found no matter where p

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-19 Thread Jim
Still never got the dynamically linked python2.4 to find the assemblies Python.Runtime. Updating MONO_PATH didn't work. I ended up taking the C# version python.exe and wrapping it with a shell script called python2.4 - underneath looks like "mono python.exe" This version seems to understand MON

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-18 Thread Jim
I set MONO_PATH export MONO_PATH=/usr/lib/mono/python2.4 I place Python.Runtime.dll in the dir above. import clr says the assembles still can't be found. J Christian Heimes wrote: > Sanghyeon Seo wrote: > > You should install it to the Global Assembly Cache(GAC). >> $ gacutil -i Python.Runti

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-18 Thread Christian Heimes
Sanghyeon Seo wrote: > You should install it to the Global Assembly Cache(GAC). > > $ gacutil -i Python.Runtime.dll In order to install an assembly in the GAC it must have a strong name. I've signed the assemblies in the preview zip. As far as I remember they can be installed to the GAC, too. H

Re: [Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-17 Thread Sanghyeon Seo
2007/11/18, Jim <[EMAIL PROTECTED]>: > Obviously python is not finding my Python.Runtime.dll. Where should this > file be copied so that it can be found no matter where python is launched? You should install it to the Global Assembly Cache(GAC). $ gacutil -i Python.Runtime.dll -- Seo Sanghyeo

[Python.NET] Configuration on Ubuntu: Assembly not found error...

2007-11-17 Thread Jim
My python is 2.4 UCS4 on Ubuntu 7.10. I was able to build the Python.Runtime.dll. I used the pre-built clr.so (wouldn't build) and copied it to /usr/lib/python2.4/site-packages. I also built a special python2.4 dynamically linked to libpython. I copied Python.Runtime.dll to /usr/bin (same loca