[omniORB] Problem for compiling Naming.idl files on mips_irix5

Vijay vchavan@ptc.com
Tue, 22 May 2001 18:34:44 +0530


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi&nbsp; Sai-Lai Lo,
<p>1. I tried to compile Naming.idl using omniidl compiler for mips_irix5.
<br>2. I set the&nbsp; PYTHONHOME to directory where omnipython&nbsp; resides.
<br>3. Then I&nbsp; tried to compile .idl file with following on command
line&nbsp;&nbsp; --> <b><i>omniidl -bcxx Naming.idl</i></b>
<br>4. It gives error as follows
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Could not find platform independent libraries &lt;prefix></i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Consider setting $PYTHONHOME to &lt;prefix>[:&lt;exec_prefix>]</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'import exceptions' failed; use -v for traceback</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Warning!&nbsp; Falling back to string-based exceptions</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'import site' failed; use -v for traceback</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Traceback (innermost last):</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
File "/net/usha/usr2/vchavan/SGI/omni/bin/mips_irix_6.5_n32/omniidlrun.py",&nbsp;</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
line 42, in ?</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
import os, os.path</i></b>
<br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ImportError: No module named os</i></b>
<br><b><i></i></b>&nbsp;
<p>Any hints/comments/links are greatly appreciated
<br>Thanks for your help
<br>--&nbsp;<br>
Regards,<br>
Vijay...</html>