[omniORB] Building OmniOrb 3.04 on HPUX version 11.0

Sai-Lai Lo s.lo@uk.research.att.com
Mon, 16 Jul 2001 09:53:11 -0000


Have you read <top>/README.hpux11? You can't just use a vanilla python
because HPUX's dlopen cannot load any library that contains thread local
storage. You can either rebuild your python and compile the main function
with aCC or you just grab the minimal python (omnipython) for hpux 11 from
our ftp server.

http://www/omniORB/omniORB_3/README_hpux11.html

Sai-Lai

----- Original Message -----
From: "Thorne, Adrian" <adrian.thorne@edl.uk.eds.com>
To: <omniorb-list@uk.research.att.com>
Sent: Friday, July 13, 2001 4:26 PM
Subject: [omniORB] Building OmniOrb 3.04 on HPUX version 11.0


> Im having a spot of bother trying to build OmniOrb 3.04 on an HPUX 11.0
> machine.
> I am using Python 2.1, and the aCC C++ compiler. I have checked that all
the
> config
> files are set up correctly and that my PATHS are all correct.
>
> The problem seems to be in building the omniidl modules. During the build
of
> these
> modules I get the following output:
>
> making export in src/tool/omniidl/cxx...
> make[3]: Entering directory
> `/home/adrian/download/omni/src/tool/omniidl/cxx'
> ../../../../bin/hppa_hpux_11.00/omkdepend -D__cplusplus
> -DIDLMODULE_VERSION="0x2301" -I/opt/python2/include
> -DPYTHON_INCLUDE=<python2.1/Python.h> +Z -I. -I../../../../include
> -D__hppa__ -D__hpux__ -D__OSVERSION__=11 idlc.cc idlpython.cc idlconfig.cc
> idldump.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc
> idltype.cc idlutil.cc idlerr.cc lex.yy.cc y.tab.cc
> ../../../../bin/hppa_hpux_11.00/omkdepend: warning:  cannot open "+Z"
> ../../../../bin/hppa_hpux_11.00/omkdepend: warning:  (from idlpython.cc)
> /opt/python2/include/python2.1/Python.h: 44: #   error "Python.h requires
> that stdio.h define NULL."
> ../../../../bin/hppa_hpux_11.00/omkdepend: warning:  (from idlpython.cc)
> /opt/python2/include/python2.1/pyport.h: 422: #error "LONG_BIT definition
> appears wrong for platform (bad gcc/glibc config?)."
> ../../../../bin/hppa_hpux_11.00/omkdepend: warning:  (from idlpython.cc)
> idlpython.cc: 308: #    error "omniidl requires Python 1.5.2 or higher"
> /home/adrian/download/omni/src/tool/omniidl/cxx/cccp
>
> and then when we get down to compiling Naming.idl which I think is the
first
> time the build process trys to use omniidl we get the following:
>
>
../../../bin/hppa_hpux_11.00/omniidl -bcxx -Wba -p../../../src/lib/omniORB2
> -ComniORB3 ../../../idl/Naming.idl
>
>
> omniidl: ERROR!
>
> omniidl: Could not open IDL compiler module _omniidlmodule.so
> omniidl: Please make sure it is in directory
> /home/adrian/download/omni/lib/hppa_hpux_11.00
> omniidl: (or set the PYTHONPATH environment variable)
>
> omniidl: (The error was `Failed to load
> /home/adrian/download/omni/lib/hppa_hpux_11.00/_omniidlmodule.sl')
>
>
> make[2]: *** [omniORB3/Naming.hh] Error 1
> make[2]: Leaving directory `/home/adrian/download/omni/src/lib/omniORB2'
> make[1]: *** [export] Error 1
> make[1]: Leaving directory `/home/adrian/download/omni/src/lib'
> make: *** [export] Error 1
>
> For HPUX 11.0 there is no such thing as _omniidlmodule.so (I have compared
> this with the omniOrb3.03 build) and I have set PYTHONPATH to
> point to my python2.1 interpreter. (I dont have omnipython)
>
> Can anyone help with this one?
>
> Adrian Thorne
> Air Systems
> EDS Defence Ltd
> 1-3 Bartley Wood Business Park
> Bartley Way, Hook, Hampshire, RG27 9XA
>
> Tel: +44 (0) 1256 74 2164
> Fax: +44 (0) 1256 74 2511
>
> E adrian.thorne@edl.uk.eds.com
>
>
>
>
>