[omniORB] Compile error on UNIX

Richard Hardgrave hardgrav@ttd.teradyne.com
Thu, 20 Sep 2001 16:25:29 -0500 (CDT)


> From owner-omniorb-list@uk.research.att.com Thu Sep 20 15:33 CDT 2001
> From: Fr=E9d=E9ric Prin <frederic.prin@silvaco.com>
> To: <omniorb-list@uk.research.att.com>
> Subject: [omniORB] Compile error on UNIX
> Date: Thu, 20 Sep 2001 12:56:07 +0200
> MIME-Version: 1.0
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
> X-Loop: omniorb-list@uk.research.att.com
>=20
 (snip)

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

In UNIX, the convention with incremental releases is to keep a copy of
the executable around with each "release suffix" attached (1.5.2).  To
make that executable accessible to your application, you attach a =
symbolic
link in that directory, e.g.,

(copy the Python1.5.2 executable to your tools bin)

-> cd <wherever_your_tools_dir_is>/bin
-> ln -s Python1.5.2 python

If you don't want to follow this convention, a simple copy will work.
omniORB [GNU makefiles, really] is expecting the name of the executable =
to be "python".

If you built your own python executable, the include & lib directories
produced would most likely be parallel directories with /bin, as in -

<wherever_your_tools_dir_is>/include
<wherever_your_tools_dir_is>/lib

Richard

> <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>
>=20
> ------=3D_NextPart_000_1046_01C141D3.9D56F070--
>=20
>=20
>=20