[omniORB] Compiling omniORB with Python 2.0

vonWedel@lfpt.rwth-aachen.de vonWedel@lfpt.rwth-aachen.de
Fri, 5 Jan 2001 15:27:17 +0100


Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 00509971C12569CB_=
Content-Type: text/plain; charset="us-ascii"

Hello,

we have upgraded from Python 1.5.2 to Python 2.0 and now I want to upgrade 
omniORB as well.
I checked out the sources from the development branches for omniORB and 
omniORBpy this morning.
Compiling starts with the following warnings which look somewhat strange 
to me:

../../../../bin/sun4_sosV_5.7/omkdepend -D__SUNPRO_CC -D__cplusplus 
-DOMNIPY_MAJOR=0 -DOMNIPY_MINOR=5 -DOMNIORB_VERSION_STRING="3.0.2" 
-DOMNIORBPY_FOR_30 -I../../../../src/lib/omniORB2 
-I../../../../src/lib/omniORB2/orbcore -I/usr/local/include 
-DPYTHON_INCLUDE=<python2.0/Python.h> 
-DPYTHON_THREAD_INC=<python2.0/pythread.h> -I. -I../../../../include 
-D__sparc__ -D__sunos__ -D__OSVERSION__=5 common/pyomniFunc.cc 
common/pyThreadCache.cc common/pyTypeCode.cc common/pyMarshal.cc 
common/pyExceptions.cc omni30/pyServant.cc omni30/pyCallDescriptor.cc 
omni30/pyObjectRef.cc omni30/pyPOAManagerFunc.cc omni30/pyPOAFunc.cc 
omni30/pyORBFunc.cc omni30/omnipy.cc
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from 
common/pyomniFunc.cc) /usr/local/include/python2.0/Python.h: 44: #   error 
"Python.h requires that stdio.h define NULL."
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from 
common/pyomniFunc.cc) /usr/local/include/python2.0/pyport.h: 390: #error 
"LONG_BIT definition appears wrong for platform (bad gcc config?)."
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from 
common/pyMarshal.cc) common/pyMarshal.cc: 255: #    error "omniidl 
requires Python 1.5.2 or higher"
making export in src/lib/omniORBpy/modules/omni30...

Are these actually omniORB problems? They look like a Python-related 
problem, to some extent...
Anyone seen this before?

Lars

--=_alternative 00509971C12569CB_=
Content-Type: text/html; charset="us-ascii"




<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">we have upgraded from Python 1.5.2 to Python 2.0 and now I want to upgrade omniORB as well.</font>
<br><font size=2 face="sans-serif">I checked out the sources from the development branches for omniORB and omniORBpy this morning.</font>
<br><font size=2 face="sans-serif">Compiling starts with the following warnings which look somewhat strange to me:</font>
<br>
<br><font size=2 face="sans-serif">../../../../bin/sun4_sosV_5.7/omkdepend -D__SUNPRO_CC -D__cplusplus -DOMNIPY_MAJOR=0 -DOMNIPY_MINOR=5 -DOMNIORB_VERSION_STRING=&quot;3.0.2&quot; -DOMNIORBPY_FOR_30 -I../../../../src/lib/omniORB2 -I../../../../src/lib/omniORB2/orbcore -I/usr/local/include -DPYTHON_INCLUDE=&lt;python2.0/Python.h&gt; -DPYTHON_THREAD_INC=&lt;python2.0/pythread.h&gt; -I. -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 common/pyomniFunc.cc common/pyThreadCache.cc common/pyTypeCode.cc common/pyMarshal.cc common/pyExceptions.cc omni30/pyServant.cc omni30/pyCallDescriptor.cc omni30/pyObjectRef.cc omni30/pyPOAManagerFunc.cc omni30/pyPOAFunc.cc omni30/pyORBFunc.cc omni30/omnipy.cc</font>
<br><font size=2 face="sans-serif">../../../../bin/sun4_sosV_5.7/omkdepend: warning: &nbsp;(from common/pyomniFunc.cc) /usr/local/include/python2.0/Python.h: 44: # &nbsp; error &quot;Python.h requires that stdio.h define NULL.&quot;</font>
<br><font size=2 face="sans-serif">../../../../bin/sun4_sosV_5.7/omkdepend: warning: &nbsp;(from common/pyomniFunc.cc) /usr/local/include/python2.0/pyport.h: 390: #error &quot;LONG_BIT definition appears wrong for platform (bad gcc config?).&quot;</font>
<br><font size=2 face="sans-serif">../../../../bin/sun4_sosV_5.7/omkdepend: warning: &nbsp;(from common/pyMarshal.cc) common/pyMarshal.cc: 255: # &nbsp; &nbsp;error &quot;omniidl requires Python 1.5.2 or higher&quot;</font>
<br><font size=2 face="sans-serif">making export in src/lib/omniORBpy/modules/omni30...</font>
<br>
<br><font size=2 face="sans-serif">Are these actually omniORB problems? They look like a Python-related problem, to some extent...</font>
<br><font size=2 face="sans-serif">Anyone seen this before?</font>
<br>
<br><font size=2 face="sans-serif">Lars</font>
<br>
--=_alternative 00509971C12569CB_=--