[omniORB] Compiling omniorb 3 on Windows

Olaf Meding OlafMeding at compuserve.com
Sat Dec 2 16:53:15 GMT 2006


How do I compile omniorb 4.1.0 on Windows using (ActiveState) Python
2.3.5?

Note, I first used the omniorb Python and all compiled fine.  Note, I
am using VS .NET 2003 (VS 7) on W2K.

Created a new source tree but this time w/o the omniorb Python.
Installed ActiveState Python 2.3.5.
I changed the config.mk file to use:
  "platform = x86_win32_vs_7".
I changed the x86_win32_vs_7.mkto use:
  "PYTHON = /cygdrive/c/Python23/python"

Doing a "make export" results in the below error:

C:\omniORB-4.1.0\src>make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB-4.1.0/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory
`/cygdrive/c/omniORB-4.1.0/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory
`/cygdrive/c/omniORB-4.1.0/src/tool/omniidl/cxx'
../../../../bin/x86_win32/omkdepend -D__cplusplus -D_MSC_VER -DIDLMODU
LE_VERSION
="0x2630" -DMSDOS -DOMNIIDL_EXECUTABLE -Ic:/python23/include -Ic:/pyth
on23/PC -I
c:/python23/include/python2.3 -DPYTHON_INCLUDE=<Python.h> -I. -I. -I..
/../../../
include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVER
SION__=4 i
dlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldump.cc idlvalidate.cc
idlast.cc
 idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idlutil.cc idlerr.cc
lex.yy.cc y
.tab.cc
../../../../bin/x86_win32/omkdepend: warning:  idlpython.cc, line 165:
unknown d
irective == "#warning "Please use an up-to-date version of gcc! (>2.91
recommend
ed)""
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory
`/cygdrive/c/omniORB-4.1.0/src/tool/omniidl/cxx/cccp
'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Z
i -nologo
-DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WI
N32_WINNT=
0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\
..\..\..\i
nclude -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERS
ION__=4 -F
ocexp.o cexp.c
cl: No such file or directory
make[4]: *** [cexp.o] Error 1
make[4]: Leaving directory
`/cygdrive/c/omniORB-4.1.0/src/tool/omniidl/cxx/cccp'

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

C:\omniORB-4.1.0\src>

*********************************
tried again
*********************************

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

C:\omniORB-4.1.0\src>






More information about the omniORB-list mailing list