[omniORB] Unable to build on Solaris

Olivier BOUDEVILLE olivier.boudeville@edf.fr
Tue Nov 12 10:12:00 2002


--------------210B2739E2EC1C4B334C2DC1
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thanks a lot Craig, it was exactly that : I use Python 1.5.2, my PYTHONSTARTUP was ok, but in my
PYTHONPATH there was a directory related to python 2.2 that must have interfered with the python I used.

After the change, omniorb compiled fine !

Thanks again, kind regards,

Olivier.

steinhoffc@schneider.com a écrit :

> Did you set the PYTHON environment directory???
>
>                                      Thanks
>                                                 Craig
> Craig Steinhoff
> UW-736
> 920-592-2229
>
>
>                     Olivier BOUDEVILLE
>                     <olivier.boudeville@edf.fr>        To:     omniorb-list@omniorb-support.com
>                     Sent by:                           cc:
>                     omniorb-list-admin@omniorb-s       Fax to:
>                     upport.com                         Subject:     [omniORB] Unable to build on Solaris
>
>
>                     11/08/2002 09:50 AM
>
>
>
> Hi everybody,
>
> I have tried to look at every FAQ and REAME I found, but I have not been
> able to solve my compilation problem on Solaris.
>
> I tried to build omniORB-4.0.0 from the sources on a Solaris (SunOS 5.8
> Generic_108528-10 sun4u sparc SUNW,Sun-Blade-1000), using Workshop 6.2 (Sun
> WorkShop 6 update 2 C 5.3 2001/05/15). Python version was fine (Python
> 1.5.2 (#21, Aug 21 2001, 17:58:51) [C] on sunos5), but as autoconf detected
> an old gcc I did not want to use (besides, the first time the compilation
> ran with gcc it failed), I used :
>
> ../configure --prefix=<my own directory>/omniORB-4.0.0 CC=<path to
> SUNWspro-6.2/cc> CXX=<path to SUNWspro-6.2/cc>
>
> configure seems to be successful but when I use make to have omniorb
> compiled, it fails with :
>
> /logiciels/SUNWspro-6.2/SUNWspro/bin/cc -c -O2 -g   -DIDLMODULE_VERSION="
> \"0x2420\"" -I/home/boudevil/tools/include -DPYTHON_INCLUDE
> ="<python1.5/Python.h>" -KPIC -I. -I../../../../../src/tool/omniidl/cxx
> -I../../../../include -I../../../../../include -D__OSVERSION__=5
> -D__sunos__ -D__sparc__ -o y.tab.o
> ../../../../../src/tool/omniidl/cxx/y.tab.cc
> cc: Warning: option -2 passed to ld
> cc: No input file specified, no output generated
> make[4]: *** [y.tab.o] Error 1
>
> Is it a known problem ?
>
> Thanks in advance for any help, best regards,
>
> Olivier.
>
> --
> Olivier Boudeville
>
> EDF R&D
> 1, avenue du Général de Gaulle
> 92140 Clamart
> Département SINETICS, groupe AASI (I22), bureau D068
> Bureau : 01-47-65-59-58
> Portable : 06-16-83-37-22

--
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



--------------210B2739E2EC1C4B334C2DC1
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks a lot Craig, it was exactly that : I use Python 1.5.2, my PYTHONSTARTUP
was ok, but in my PYTHONPATH&nbsp;there was a directory related to python
2.2 that must have interfered with the python I used.
<p>After the change, omniorb compiled fine !
<p>Thanks again, kind regards,
<p>Olivier.
<p>steinhoffc@schneider.com a &eacute;crit :
<blockquote TYPE=CITE>Did you set the PYTHON environment directory???
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Thanks
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
upport.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Subject:&nbsp;&nbsp;&nbsp;&nbsp; [omniORB] Unable to build on Solaris
<br>&nbsp;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11/08/2002 09:50 AM
<br>&nbsp;
<br>&nbsp;
<p>Hi everybody,
<p>I have tried to look at every FAQ and REAME I found, but I have not
been
<br>able to solve my compilation problem on Solaris.
<p>I tried to build omniORB-4.0.0 from the sources on a Solaris (SunOS
5.8
<br>Generic_108528-10 sun4u sparc SUNW,Sun-Blade-1000), using Workshop
6.2 (Sun
<br>WorkShop 6 update 2 C 5.3 2001/05/15). Python version was fine (Python
<br>1.5.2 (#21, Aug 21 2001, 17:58:51) [C] on sunos5), but as autoconf
detected
<br>an old gcc I did not want to use (besides, the first time the compilation
<br>ran with gcc it failed), I used :
<p>../configure --prefix=&lt;my own directory>/omniORB-4.0.0 CC=&lt;path
to
<br>SUNWspro-6.2/cc> CXX=&lt;path to SUNWspro-6.2/cc>
<p>configure seems to be successful but when I use make to have omniorb
<br>compiled, it fails with :
<p>/logiciels/SUNWspro-6.2/SUNWspro/bin/cc -c -O2 -g&nbsp;&nbsp; -DIDLMODULE_VERSION="
<br>\"0x2420\"" -I/home/boudevil/tools/include -DPYTHON_INCLUDE
<br>="&lt;python1.5/Python.h>" -KPIC -I. -I../../../../../src/tool/omniidl/cxx
<br>-I../../../../include -I../../../../../include -D__OSVERSION__=5
<br>-D__sunos__ -D__sparc__ -o y.tab.o
<br>../../../../../src/tool/omniidl/cxx/y.tab.cc
<br>cc: Warning: option -2 passed to ld
<br>cc: No input file specified, no output generated
<br>make[4]: *** [y.tab.o] Error 1
<p>Is it a known problem ?
<p>Thanks in advance for any help, best regards,
<p>Olivier.
<p>--
<br>Olivier Boudeville
<p>EDF R&amp;D
<br>1, avenue du G&eacute;n&eacute;ral de Gaulle
<br>92140 Clamart
<br>D&eacute;partement SINETICS, groupe AASI (I22), bureau D068
<br>Bureau : 01-47-65-59-58
<br>Portable : 06-16-83-37-22</blockquote>

<pre>--&nbsp;
Olivier Boudeville

EDF R&amp;D : 1, avenue du G&eacute;n&eacute;ral de Gaulle, 92140 Clamart, FRANCE
D&eacute;partement SINETICS, groupe AASI (I22), bureau D068
Office : 33 1 47 65 59 58 / Mobile : 33 6 16 83 37 22</pre>
&nbsp;</html>

--------------210B2739E2EC1C4B334C2DC1--