[omniORB] omniidl on Windows 9X

Mair Quentin Q.Mair@gcal.ac.uk
Fri, 18 May 2001 09:50:05 +0100


Resolved with:

PYTHONPATH=C:\Python20\lib;C:\omni\lib\python;C:\omni\lib\x86_win32;c:\pytho
n20\dlls;c:\python20\libs;c:\windows\desktop\python

Meant _sre.pyd in last message though...

Thanks for help,

Q

> -----Original Message-----
> From: Duncan Grisby [mailto:dgrisby@uk.research.att.com]
> Sent: 15 May 2001 14:22
> To: Mair Quentin
> Cc: omniorb-list@uk.research.att.com
> Subject: Re: [omniORB] omniidl on Windows 9X 
> 
> 
> 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 --
>