[omniORB] problem building omniORB 3.0.4 in VC++ 6.0 on W2K
Yan Zhou
yan.zhou@medplus.com
Fri, 26 Apr 2002 11:13:10 -0400
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_01C1ED34.E06F2FF0
Content-Type: text/plain;
charset="iso-8859-1"
Hi there,
I downloaded minimum distribution of Python and GNU-Win32
and also omniORB 3.0.4 source and library for NT 4.0
I am building omniORB on a W2K box, however, after I did everthing
in the ReadMe.Win32 page, I see compiler error:
1) the include path in the command line does not reflect where Python
headers are
and therefore header files are not found.
2) Error "omniidl requires Python 1.5.2", I do have Python 1.5.2 installed
in omniORB directory as the document says, but it still says this.
Did I miss anything?
Thanks in advance.
See attached compile log:
C:\Program Files\omni\src>make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/Program Files/omni/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: /cygdrive/c/Program: Command not found
make[3]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx
'
make[3]: /cygdrive/c/Program: Command not found
make[3]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx
'
make[3]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx
'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx
/cccp'
(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:
Canno
t 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
chan
ged."; else (set -x; install -c $fullfile $dir); fi; done; )
File omnicpp.exe hasn't changed.
make[4]: Leaving directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx/
cccp'
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GX
-DIDLMODULE_VERSION
="\"0x2301\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I. -I../../../../include
-D__WIN32_
_ -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foidlpython.o idlpython.cc
cl -c -O2 -MD -GX -DIDLMODULE_VERSION=\"0x2301\" -DMSDOS
-DOMNIIDL_EXECUTABLE -I
. -I..\..\..\..\include -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4
-Foidlp
ython.o -Tpidlpython.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
idlpython.cc
idlpython.cc(150) : error C2006: #include expected a filename, found
'identifier
'
idlpython.cc(166) : fatal error C1189: #error : "omniidl requires Python
1.5.2
or higher"
make[3]: *** [idlpython.o] Error 2
make[3]: Leaving directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/Program Files/omni/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/Program Files/omni/src/tool'
make: *** [export] Error 2
------_=_NextPart_001_01C1ED34.E06F2FF0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>Hi
there,</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>I downloaded minimum
distribution of Python and GNU-Win32</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>and also omniORB
3.0.4 source and library for NT 4.0 </FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>I am building
omniORB on a W2K box, however, after I did everthing</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>in the ReadMe.Win32
page, I see compiler error:</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>1) the include path
in the command line does not reflect where Python headers
are</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>and therefore header
files are not found.</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>2) Error "omniidl
requires Python 1.5.2", I do have Python 1.5.2 installed</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>in omniORB directory
as the document says, but it still says this. </FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>Did I miss
anything?</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>Thanks in
advance.</FONT></SPAN></DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>See attached compile
log:</DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>C:\Program
Files\omni\src>make export<BR>making export in src/tool...<BR>make[1]:
Entering directory `/cygdrive/c/Program Files/omni/src/tool'<BR>making export in
src/tool/omniidl...<BR>make[2]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl'<BR>making export in
src/tool/omniidl/cxx...<BR>make[3]: /cygdrive/c/Program: Command not
found<BR>make[3]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx<BR>'<BR>make[3]: /cygdrive/c/Program: Command
not found<BR>make[3]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx<BR>'<BR>make[3]: Entering directory
`/cygdrive/c/Program Files/omni/src/tool/omniidl/cxx<BR>'<BR>making export in
src/tool/omniidl/cxx/cccp...<BR>make[4]: Entering directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx<BR>/cccp'<BR>(dir="../../../../../bin/x86_win32";
files="omnicpp.exe"; for file in $files; do<BR> if [ ! -d $dir ]; then
(umask 002; set -x; mkdir -p $dir); fi; dirs='. '; case<BR>"$file" in /*)
fullfile="$file";; *) fullfile=""; for _dir in $dirs; do if [ -f<BR>$_dir/$file
]; then if [ "$_dir" = "." ]; then fullfile="$file"; else
fullfile="<BR>$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo
"ERROR: Canno<BR>t find $file in $dirs"; exit 1; fi;; esac; base=`basename
$file`; if [ -f $dir/$<BR>base ] && cmp $fullfile $dir/$base
>/dev/null; then echo "File $base hasn't chan<BR>ged."; else (set -x; install
-c $fullfile $dir); fi; done; )<BR>File omnicpp.exe hasn't
changed.<BR>make[4]: Leaving directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx/<BR>cccp'<BR>../../../../bin/x86_win32/clwrapper
-gnuwin32 -c -O2 -MD -GX -DIDLMODULE_VERSION<BR>="\"0x2301\"" -DMSDOS
-DOMNIIDL_EXECUTABLE -I. -I../../../../include -D__WIN32_<BR>_ -D__x86__
-D__NT__ -D__OSVERSION__=4 -Foidlpython.o idlpython.cc<BR>cl -c -O2 -MD -GX
-DIDLMODULE_VERSION=\"0x2301\" -DMSDOS -DOMNIIDL_EXECUTABLE -I<BR>.
-I..\..\..\..\include -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4
-Foidlp<BR>ython.o -Tpidlpython.cc<BR>Microsoft (R) 32-bit C/C++ Optimizing
Compiler Version 12.00.8804 for 80x86<BR>Copyright (C) Microsoft Corp 1984-1998.
All rights reserved.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial
size=2>idlpython.cc<BR>idlpython.cc(150) : error C2006: #include expected a
filename, found 'identifier<BR>'<BR>idlpython.cc(166) : fatal error C1189:
#error : "omniidl requires Python 1.5.2<BR>or higher"<BR>make[3]: ***
[idlpython.o] Error 2<BR>make[3]: Leaving directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl/cxx'</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=462220815-26042002><FONT face=Arial size=2>make[2]: ***
[export] Error 2<BR>make[2]: Leaving directory `/cygdrive/c/Program
Files/omni/src/tool/omniidl'<BR>make[1]: *** [export] Error 2<BR>make[1]:
Leaving directory `/cygdrive/c/Program Files/omni/src/tool'<BR>make: ***
[export] Error 2<BR></FONT></SPAN><FONT face=Arial
size=2></FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C1ED34.E06F2FF0--