[omniORB] 3.0.4 - HPUX 10.20 & GCC

Brenneis, Steve steve.brenneis@attws.com
Thu, 29 Nov 2001 13:10:13 -0500


Well, first, the shared module should be _omniidlmodule.sl on HP instead of
_omniidlmodule.so, but I'm not sure why it doesn't show up in your omniORB
library directory. If you set the PYTHONPATH variable, then the library
should be there if it is not in your omniORB tree. Did you perhaps rename
the omni root directory after building it?

Steve Brenneis
WebAXE Middleware Lead Developer
AT&T Wireless Services
Desk (336) 286-1783
Cell (336) 456-3290
FAX (336) 286-1880


-----Original Message-----
From: Kevin Williams [mailto:zak@supernova.org]
Sent: Thursday, November 29, 2001 11:22 AM
Subject: [omniORB] 3.0.4 - HPUX 10.20 & GCC


First, yes...  I have built Python 2.1 using the HPUX native compiler (not 
gcc) and followed the instructions in the README.hpux11 file to compile
python.o using aCC and to use aCC for linking.  Python appears to work
fine.

Upon editing mk/platforms/hppa_hpux_10.20.mk to use GCC instead of aCC, I
noticed what appears to be a recursive variable definition - COPTIONS is
assigned the value of $(COPTIONS).  I removed the recursive variable and
attempted a make export.  Here is the error I received:

 omniidl: ERROR!

 omniidl: Could not open IDL compiler module _omniidlmodule.so
 omniidl: Please make sure it is in directory
 /disk1/kevin/omniOrb-3.0.4/lib/hppa_hpux_10.20
 omniidl: (or set the PYTHONPATH environment variable)

 omniidl: (The error was `No module named _omniidl')

Here are the contents of that directory...

-rwxr-xr-x 1 kevin   users     42928 Nov 26 13:20 libomnithread.a
-rwxr-xr-x 1 kevin   users    200958 Nov 26 13:19 omnicpp

I'll also mention, my PYTHONPATH variable is set to
/usr/local/lib/python2.1 (the default install path for Python 2.1
and a path that worked fine for my Solaris build).  So, aparently I am
missing the _omniidlmodule.so library for some reason.  The problem is, I
can't figure out why and I can't figure out how to get it! <smile>

Any help would be appreciated.
--Kevin