[omniORB] omniidl on Windows 9X
Duncan Grisby
dgrisby@uk.research.att.com
Tue, 15 May 2001 14:21:40 +0100
On Tuesday 15 May, Mair Quentin wrote:
> copy _sre.lib into the same dir as the example. Use the "-T" option -
> everything works OK.
>
> Still looks like an environment variable as omniidl can't find
> the Python DLLs. Does anybody know what I should set?
Set the PYTHONPATH environment variable to include the directory you
got _sre.lib from. That should work.
> PS Interestingly the below worked before copying _sre.lib over. Is it
> because omniidl is an exe? (I'm fairly new to python and haven't looked at
> how to build exes from scripts):
That's possibly the reason. I don't know why it should be a problem
though -- omniidl definitely works on Win98 with the normal Python
2.0 distribution, and no setting of PYTHONPATH. omniidl isn't an exe
for any clever reason -- it's just that it's hard to make a windows
command called just "omniidl" which causes Python to run. On Unix
platforms, omniidl is just a script.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --