[omniORB] Building on Windows 7 for 32-bit ...

Marcus MacWilliam marcus.macwilliam at 1spatial.com
Thu Jan 24 18:49:39 GMT 2013


Duncan,

I have installed the version of python as per your link,
this is still putting the python27.dll in the C:\Windows\SysWOW64
directory.

I have extracted the OmniORB zip to C:\omniORB-4.1.6,
and altered the following files:
* config\config.mk : platform = x86_win32_vs_10
* mk\platforms\x86_win32_vs_10.mk : PYTHON = /cygdrive/c/Python27/python

In the C:\omniORB-4.1.6\src, I type make export:

Microsoft (R) Manifest Tool version 5.2.3790.2076
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
(dir="../../../../../bin/x86_win32"; files="omnicpp.exe"; for file in
$files; do
  if [ ! -d $dir ]; then (umask 002; set -x; mkdir -p $dir); fi; dirs='.
.'; case
  "$file" in /*) fullfile="$file";; *) fullfile=""; for _dir in $dirs;
do if [ -f
  $_dir/$file ]; then if [ "$_dir" = "." ]; then fullfile="$file"; else
fullfile=
"$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo
"ERROR: Cann
ot find $file in $dirs"; exit 1; fi;; esac; base=`basename $file`; if [
-f $dir/
$base ] && cmp $fullfile $dir/$base >/dev/null; then echo "File $base
hasn't cha
nged."; else (set -x; install -c  $fullfile $dir); fi; done; )
+ install -c omnicpp.exe ../../../../../bin/x86_win32
install: permission denied
make[4]: *** [export] Error 126
make[4]: Leaving directory
`/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx/cccp'

make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool'
make: *** [export] Error 2

C:\>chmod -R +w omniORB-4.1.6

C:\>cd omniORB-4.1.6\src

Then run make export again:

C:\omniORB-4.1.6\src>make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB-4.1.6/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omniORB-4.1.6/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory
`/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx'
make[3]: *** No rule to make target `/c/python27/include/Python.h',
needed by `i
dlpython.d'.  Stop.
make[3]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB-4.1.6/src/tool'
make: *** [export] Error 2

It looks like an error in a makefile somewhere as
`/c/python27/include/Python.h'
should be `/cygdrive/c/python27/include/Python.h'

Cheers,

Marcus A.T MacWilliam, Senior Software Engineer. 1Spatial Ltd.
Tel: +44 (0)1223 420414, ext 2289,    Mob: +44 (0)7803 706597.
E-Mail: marcus.macwilliam at 1spatial.com Skype:marcus.macwilliam

Tennyson House, 7 Cambridge Business Park, Cambridge, CB4 0WZ.
Registered in England No. 4785688,     VAT Reg. No. 135539408.
Website: http://www.1spatial.com/    E-mail: info at 1spatial.com

On 24/01/13 16:51, Duncan Grisby wrote:
> On Thu, 2013-01-24 at 15:28 +0000, Marcus MacWilliam wrote:
>
>> I have downloaded OmniORB 4.1.6 from here.
> The link you give is for a 64 bit build of omniORB. There isn't a 32 bit
> build available so you have to get the source and compile it.
>
>> I have downloaded Python 2.7.3 from here.
> I think that's the 32 bit Python installer.
>
> You should download the omniORB source from here:
>
> http://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.1.6/omniORB-4.1.6.tar.bz2/download
>
> and the 32-bit Python from here:
>
> http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi
>
> Install a recent cygwin, then build according to the instructions in
> README.win32.txt. Make sure your path is set up right for the 32 bit
> compiler. The easiest way to do that is to use Start -> All Programs ->
> Microsoft Visual Studio -> Visual Studio Tools -> Visual Studio Command
> Prompt. That makes sure your environment is set for the right tools.
>
> Duncan.
>

 [http://www.1spatial.com/signatures/1SpatialLogo_Small.jpg] <http://www.1spatial.com>





[http://www.1spatial.com/wp-content/themes/1spatial/images/youtube.png]<http://www.youtube.com/user/1SpatialGroup> [http://www.1spatial.com/wp-content/themes/1spatial/images/facebook.png] <https://www.facebook.com/1Spatial>  [http://www.1spatial.com/wp-content/themes/1spatial/images/linkedIn.png] <http://www.linkedin.com/company/1spatial>  [http://www.1spatial.com/wp-content/themes/1spatial/images/twitter.png] <http://www.twitter.com/1spatial>

________________________________

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of 1Spatial Plc. This email has been scanned for viruses and message content. 1Spatial Group Limited is a company registered in England and Wales No.4785688. Registered Office: Tennyson House, Cambridge Business Park, Cambridge CB4 0WZ




More information about the omniORB-list mailing list