[omniORB] Using pre-ISO C++ compiler to build omniorb 4.0
Olivier Boudeville
olivier.boudeville@edf.fr
Tue Feb 18 13:45:03 2003
Hi everybody,
thanks Duncan for your help, I nevertheless encountered a small
compilation problem. Here are all the details :
* what I made (on aSunOS 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-60) :
cd <my path>/omniORB-4.0.0
../omniORB-4.0.0-src/configure --prefix=<my path>/omniORB-4.0.0 CXX="CC
-compat=4"
alias make='makeGNU'
make
* what happened :
...
make[3]: Entering directory `<my path>/omniORB-4.0.0/src/lib/omniORB'
../../../bin/omniidl -bcxx -Wba
-p../../../../omniORB-4.0.0-src/src/lib/omniORB -Wbdebug -v -ComniORB4
../../../../omniORB-4.0.0-src/idl/bootstrap.idl
omniidl: ERROR!
omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory <my path>/omniORB-4.0.0/lib
omniidl: (or set the PYTHONPATH environment variable)
omniidl: (The error was 'ld.so.1: <a path>//Python-1.5.2/python: fatal:
relocation error: file <my path>/omniORB-4.0.0/lib/_omniidlmodule.so:
symbol _pure_error_: referenced symbol not found')
make[3]: *** [omniORB4/bootstrap.hh] Error 1
* I checked :
> ls -s <my path>/omniORB-4.0.0/lib/_omniidl*
lrwxrwxrwx <my path>/omniORB-4.0.0/lib/_omniidlmodule.so ->
_omniidlmodule.so.1
lrwxrwxrwx <my path>/omniORB-4.0.0/lib/_omniidlmodule.so.1 ->
_omniidlmodule.so.1.0
-rw-r--r-- <my path>/omniORB-4.0.0/lib/_omniidlmodule.so.1.0
Is it that my Python is too old ? I don't think so since configure did
not complain.
Thanks in advance for any help,
kind regards,
Olivier.
omniorb-list-admin@omniorb-support.com wrote:
>On Wednesday 12 February, Olivier Boudeville wrote:
>
>>I need to use omniorb with an old version of Sun C++ compiler (actually,
>>Sun WS 6.2 but using option -compat=4), so I fear I cannot use the
>>autoconf-based installation procedure.
>>
>
>You should be able to use the autoconf setup. Just run something like
>
> ../configure CXX="CC -compat=4"
>
>It seems to work for me on SourceForge's compile farm.
>
>Cheers,
>
>Duncan.
>
--
Olivier Boudeville
EDF R&D : 1, avenue du Général de Gaulle, 92140 Clamart, France
Département SINETICS, groupe AASI (I22), bureau D068
Office : 33 1 47 65 59 58 / Mobile : 33 6 16 83 37 22