[omniORB] omniORB-4.0.0 gcc-3.1 solaris 8

Sonia Duarte est-s-duarte@ptinovacao.pt
Tue Feb 4 12:37:02 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2CC4A.018B0750
Content-Type: text/plain

Hi!
 
I am trying to compile omniORB-4.0.0, my O.S. is Solaris 8 and I am using
gcc-3.1. I have the environment variable LD_LIBRARY_PATH set. 
I was using python version 2.1.1 but I was getting errors; then I installed
omnipython version 1.5.2 for Sun, but I
still get the following errors:
 
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2420\""
-I/include -DPYTHON_INCLUDE="<python/Python.h>" -fPIC -I.
-I../../../../../src/tool/omniidl/cxx -I../../../../include
-I../../../../../include -D__OSVERSION__=5 -D__sunos__ -D__sparc__ -o
idlfixed.o ../../../../../src/tool/omniidl/cxx/idlfixed.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2420\""
-I/include -DPYTHON_INCLUDE="<python/Python.h>" -fPIC -I.
-I../../../../../src/tool/omniidl/cxx -I../../../../include
-I../../../../../include -D__OSVERSION__=5 -D__sunos__ -D__sparc__ -o
idlpython.o ../../../../../src/tool/omniidl/cxx/idlpython.cc
../../../../../src/tool/omniidl/cxx/idlpython.cc:172:24: python/Python.h: No
such file or directory
../../../../../src/tool/omniidl/cxx/idlpython.cc:188:6: #error "omniidl
requires Python 1.5.2 or higher"
../../../../../src/tool/omniidl/cxx/idlpython.cc:255: syntax error before
`*' 
   token
../../../../../src/tool/omniidl/cxx/idlpython.cc:257: ISO C++ forbids
defining 
   types within return type
../../../../../src/tool/omniidl/cxx/idlpython.cc:257: syntax error before
`*' 
   token
../../../../../src/tool/omniidl/cxx/idlpython.cc:258: syntax error before
`*' 
   token
../../../../../src/tool/omniidl/cxx/idlpython.cc:262: syntax error before
`*' 
   token
 
I have the LD_LIBRARY_PATH set (including the place where th Python.h file
is located); I also set the PYTHONPATH
var...
 
Any suggestions?
Thanks
Sonia D.

------_=_NextPart_001_01C2CC4A.018B0750
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C2CC49.E7F29970">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:PT;}
h5
	{mso-style-update:auto;
	mso-style-parent:Title;
	margin-top:12.0pt;
	margin-right:0cm;
	margin-bottom:3.0pt;
	margin-left:0cm;
	text-align:center;
	mso-pagination:widow-orphan;
	mso-outline-level:5;
	font-size:11.0pt;
	mso-bidi-font-size:13.0pt;
	font-family:Arial;
	mso-font-kerning:14.0pt;
	mso-ansi-language:PT;
	mso-fareast-language:PT;
	mso-bidi-font-weight:normal;
	mso-bidi-font-style:italic;}
p.MsoToc1, li.MsoToc1, div.MsoToc1
	{mso-style-update:auto;
	mso-style-noshow:yes;
	mso-style-next:Normal;
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:PT;}
p.MsoToc4, li.MsoToc4, div.MsoToc4
	{mso-style-update:auto;
	mso-style-noshow:yes;
	mso-style-next:Normal;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";
	mso-ansi-language:PT;
	mso-fareast-language:PT;}
p.MsoToaHeading, li.MsoToaHeading, div.MsoToaHeading
	{mso-style-noshow:yes;
	mso-style-next:Normal;
	margin-top:6.0pt;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:PT;
	font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
	{margin-top:12.0pt;
	margin-right:0cm;
	margin-bottom:3.0pt;
	margin-left:0cm;
	text-align:center;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:16.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-font-kerning:14.0pt;
	mso-ansi-language:PT;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
p.Style4, li.Style4, div.Style4
	{mso-style-name:Style4;
	mso-style-update:auto;
	mso-style-parent:"TOC 1";
	mso-style-next:"TOA Heading";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:right dotted 431.8pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:PT;
	mso-no-proof:yes;}
p.Heading4, li.Heading4, div.Heading4
	{mso-style-name:Heading4;
	mso-style-update:auto;
	mso-style-parent:Title;
	margin-top:12.0pt;
	margin-right:0cm;
	margin-bottom:3.0pt;
	margin-left:0cm;
	text-align:center;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:12.0pt;
	mso-bidi-font-size:16.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-font-kerning:14.0pt;
	mso-ansi-language:PT;
	mso-fareast-language:PT;
	mso-bidi-font-weight:bold;}
p.Style1, li.Style1, div.Style1
	{mso-style-name:Style1;
	mso-style-parent:"Heading 5";
	margin-top:12.0pt;
	margin-right:0cm;
	margin-bottom:3.0pt;
	margin-left:0cm;
	text-align:center;
	mso-pagination:widow-orphan;
	mso-outline-level:5;
	font-size:11.0pt;
	mso-bidi-font-size:13.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-font-kerning:14.0pt;
	mso-ansi-language:PT;
	mso-fareast-language:PT;
	font-weight:bold;
	mso-bidi-font-weight:normal;
	mso-bidi-font-style:italic;}
span.EmailStyle24
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span lang=3DPT
style=3D'font-size:10.0pt;font-family:Arial'>Hi</span></font></span><fon=
t size=3D2
face=3DArial><span lang=3DPT =
style=3D'font-size:10.0pt;font-family:Arial'>!<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>I am trying to compile omniORB-4.0.0, my O.S. =
is
Solaris 8 and I am using gcc-3.1. I have the environment variable
LD_LIBRARY_PATH set. <o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>I was using python version 2.1.1 but I was =
getting
errors; then I installed <span class=3DSpellE>omnipython</span> version =
1.5.2 for
Sun, but I<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><span
class=3DGramE><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier =
New";mso-ansi-language:EN-US'>still</span></font></span><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'> get the following =
errors:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span lang=3DPT =
style=3D'font-size:10.0pt;font-family:
"Courier New"'>g++ -c -O2 -<span class=3DSpellE>Wall</span> -<span =
class=3DSpellE>Wno-unused</span>
-<span class=3DSpellE>fexceptions</span>
-DIDLMODULE_VERSION=3D&quot;\&quot;0x2420\&quot;&quot; -I/<span =
class=3DSpellE>include</span>
-DPYTHON_INCLUDE=3D&quot;&lt;<span class=3DSpellE>python</span>/<span =
class=3DSpellE>Python.h</span>&gt;&quot;
-<span class=3DSpellE>fPIC</span> -I. -I../../../../../<span =
class=3DSpellE>src</span>/<span
class=3DSpellE>tool</span>/<span class=3DSpellE>omniidl</span>/<span =
class=3DSpellE>cxx</span>
-I../../../../<span class=3DSpellE>include</span> =
-I../../../../../<span
class=3DSpellE>include</span> -D__OSVERSION__=3D5 -<span =
class=3DSpellE>D__sunos</span>__
-<span class=3DSpellE>D__sparc</span>__ <span class=3DSpellE>-o</span> =
<span
class=3DSpellE>idlfixed.o</span> ../../../../../<span =
class=3DSpellE>src</span>/<span
class=3DSpellE>tool</span>/<span class=3DSpellE>omniidl</span>/<span =
class=3DSpellE>cxx</span>/<span
class=3DSpellE>idlfixed.cc</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span lang=3DPT =
style=3D'font-size:10.0pt;font-family:
"Courier New"'>g++ -c -O2 -<span class=3DSpellE>Wall</span> -<span =
class=3DSpellE>Wno-unused</span>
-<span class=3DSpellE>fexceptions</span>
-DIDLMODULE_VERSION=3D&quot;\&quot;0x2420\&quot;&quot; -I/<span =
class=3DSpellE>include</span>
-DPYTHON_INCLUDE=3D&quot;&lt;<span class=3DSpellE>python</span>/<span =
class=3DSpellE>Python.h</span>&gt;&quot;
-<span class=3DSpellE>fPIC</span> -I. -I../../../../../<span =
class=3DSpellE>src</span>/<span
class=3DSpellE>tool</span>/<span class=3DSpellE>omniidl</span>/<span =
class=3DSpellE>cxx</span>
-I../../../../<span class=3DSpellE>include</span> =
-I../../../../../<span
class=3DSpellE>include</span> -D__OSVERSION__=3D5 -<span =
class=3DSpellE>D__sunos</span>__
-<span class=3DSpellE>D__sparc</span>__ <span class=3DSpellE>-o</span> =
<span
class=3DSpellE>idlpython.o</span> ../../../../../<span =
class=3DSpellE>src</span>/<span
class=3DSpellE>tool</span>/<span class=3DSpellE>omniidl</span>/<span =
class=3DSpellE>cxx</span>/<span
class=3DSpellE>idlpython.cc</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:172:24:
python/<span class=3DSpellE>Python.h</span>: No such file or =
directory<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:188:6:
#error &quot;<span class=3DSpellE>omniidl</span> requires Python 1.5.2 =
or
higher&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:255:
syntax error before `*' <o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
</span><span
class=3DGramE>token</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:257:
ISO C++ forbids defining <o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
</span><span
class=3DGramE>types</span> within return =
type<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'mso-layout-grid-align:none;text-autospace:=
none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:257:
syntax error before `*' <o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
</span><span
class=3DGramE>token</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:258:
syntax error before `*' <o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
</span><span
class=3DGramE>token</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>../../../../../src/tool/omniidl/cxx/idlpython.c=
c:262:
syntax error before `*' <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New";mso-ansi-language:EN-US'><span
style=3D'mso-spacerun:yes'>&nbsp;&nbsp; </span><span =
class=3DGramE>token</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier =
New";mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New";mso-ansi-language:EN-US'>I have the =
LD_LIBRARY_PATH
set (including the place where <span class=3DSpellE><span =
class=3DGramE>th</span></span>
<span class=3DSpellE>Python.h</span> file is located); I also set the =
PYTHONPATH<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>var</span></font></span></span><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US'>...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier =
New";mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";mso-ansi-language:EN-US'>Any
suggestions?</span></font></span><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";mso-ansi-language:EN-US'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier =
New";mso-ansi-language:EN-US'>Thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New";mso-ansi-language:EN-US'>Sonia =
D.</span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:
EN-US'><o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C2CC4A.018B0750--