[omniORB] Compile error on UNIX

Frédéric Prin frederic.prin@silvaco.com
Thu, 20 Sep 2001 12:56:07 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_1046_01C141D3.9D56F070
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi everybody,

I'm a new user of OmniORB.
I've to compile OmniORB on 3 platforms : Windows NT4, Unix SunOs5.7 and =
Linux RH7.1

I succeed with Windows NT4

I fail, for few days, on UNIX. I have the following error at compile =
time :
-------------------------------------------------------------------------=
------------------------------
gnumake export
making export in src/tool...
gnumake[1]: Entering directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool'
making export in src/tool/omkdepend...
...
gnumake[3]: Entering directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx'
gnumake[3]: execvp: /home/fredp/local/Python1.5.2/include: Permission =
denied
gnumake[3]: execvp: /home/fredp/local/Python1.5.2/include: Permission =
denied
...
gnumake[4]: Leaving directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx/cccp'
CC -c -O2 -g  -Kpic -DIDLMODULE_VERSION=3D"\"0x2301\"" -I/include =
-DPYTHON_INCLUDE=3D"<python/Python.h>" -I.  -I../../../../include =
-D__sparc__ -D__sunos__ -D__OSVERSION__=3D5 -o idlpython.o idlpython.cc
"idlpython.cc", line 150: Error: Could not open include file =
<python/Python.h>.
...
Compilation aborted, too many Error messages.
gnumake[3]: *** [idlpython.o] Error 1
gnumake[3]: Leaving directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx'
gnumake[2]: *** [export] Error 2
gnumake[2]: Leaving directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl'
gnumake[1]: *** [export] Error 2
gnumake[1]: Leaving directory =
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool'
gnumake: *** [export] Error 2
-------------------------------------------------------------------------=
------------------------------

Of course I have compiled with success, Python 1.5.2 (that I found at =
http://www.python.org/ftp/python/src/py152.tgz, because the ftp site =
ftp.uk.research.att.com doen't respond)
The Python self test programs runs fine.

and I've modified the file ./config/config.mk to uncomment : platform =
=3D sun4_sosV_5.7
then I have modified the file ./mk/platforms/sun4_sosV_5.7.mk : PYTHON =
=3D /home/fredp/local/Python1.5.2 (or even =
/home/fredp/local/Python1.5.2/bin and include, but the errors still =
remains)
and then in ./src typed : gnumake export

I do not see -I/home/fredp/local/Python1.5.2/include appear in the CC =
command line !!!!

Please tell me what's wrong ?
I must have miss something, somewhere !

My env :
----------
I use OmniORB version 3_0_4.
>uname -a
SunOS thabor 5.7 Generic_106541-01 sun4u sparc SUNW,Ultra-60

>CC -V
CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11


Thanks for your response


| Fr=E9d=E9ric Prin - Senior software engineer
| Tel 04 56 38 10 33
| S I L V A C O    G . R E . C E


------=_NextPart_000_1046_01C141D3.9D56F070
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi everybody,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm a new user of OmniORB.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I've to compile OmniORB on 3 platforms =
: Windows=20
NT4, Unix SunOs5.7 and Linux RH7.1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I succeed with Windows NT4</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I fail, for few days, on UNIX. I have =
the following=20
error at compile time :</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gnumake export<BR>making export in=20
src/tool...<BR>gnumake[1]: Entering directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool'<BR>making export in=20
src/tool/omkdepend...<BR>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gnumake[3]: Entering directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx'<BR><STRONG>gnu=
make[3]:=20
execvp: /home/fredp/local/Python1.5.2/include: Permission =
denied<BR>gnumake[3]:=20
execvp: /home/fredp/local/Python1.5.2/include: Permission=20
denied<BR></STRONG>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gnumake[4]: Leaving directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx/cccp'<BR>CC -c =
-O2=20
-g&nbsp; -Kpic -DIDLMODULE_VERSION=3D"\"0x2301\"" <STRONG>-I/include=20
</STRONG>-DPYTHON_INCLUDE<STRONG>=3D"&lt;python/Python.h&gt;</STRONG>" =
-I.&nbsp;=20
-I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=3D5 -o =
idlpython.o=20
idlpython.cc<BR>"idlpython.cc", line 150: Error: Could not open include =
file=20
&lt;python/Python.h&gt;.<BR>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Compilation aborted, too many Error=20
messages.<BR>gnumake[3]: *** [idlpython.o] Error 1<BR>gnumake[3]: =
Leaving=20
directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl/cxx'<BR>gnumake[2]:=
 ***=20
[export] Error 2<BR>gnumake[2]: Leaving directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool/omniidl'<BR>gnumake[1]: =
***=20
[export] Error 2<BR>gnumake[1]: Leaving directory=20
`/home/fredp/BenchCORBA/OmniORB/omni/src/tool'<BR>gnumake: *** [export] =
Error=20
2</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Of course I have compiled with success, =
Python=20
1.5.2 (that I found at <A=20
href=3D"http://www.python.org/ftp/python/src/py152.tgz">http://www.python=
.org/ftp/python/src/py152.tgz</A>,=20
because the ftp site <A=20
href=3D"ftp://ftp.uk.research.att.com">ftp.uk.research.att.com</A> =
doen't=20
respond)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The Python self test programs runs=20
fine.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and I've modified the file =
./config/config.mk to=20
uncomment&nbsp;: platform =3D sun4_sosV_5.7</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then I have modified the file=20
./mk/platforms/sun4_sosV_5.7.mk</FONT><FONT face=3DArial size=3D2> : =
PYTHON =3D=20
/home/fredp/local/Python1.5.2 (or even /home/fredp/local/Python1.5.2/bin =
and=20
include, but the errors still remains)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and then in ./src typed : gnumake=20
export</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do not see=20
-I/home/fredp/local/Python1.5.2/include appear in the CC command line=20
!!!!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please tell me what's wrong =
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I must have miss something, somewhere=20
!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My env :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>----------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I use OmniORB version =
3_0_4.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&gt;uname -a<BR>SunOS thabor 5.7 =
Generic_106541-01=20
sun4u sparc SUNW,Ultra-60</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&gt;CC -V<BR>CC: Sun WorkShop 6 update =
1 C++ 5.2=20
2000/09/11<BR></DIV></FONT>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your response</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>| Fr=E9d=E9ric Prin - Senior software =
engineer<BR>| Tel=20
04 56 38 10 33<BR>| S I L V A C O&nbsp;&nbsp;&nbsp; G . R E . C=20
E<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_1046_01C141D3.9D56F070--