[omniORB] Build problem

David Scott djs@uk.research.att.com
Tue, 21 Mar 2000 11:43:08 +0000 (GMT)


On Tue, 21 Mar 2000, Sergiu Gavrila wrote:

> I have downloaded the ftp snapshot for OmniOrb3
> (omniORB3-20000321.tar.gz) and the pyton files
> (omnipython-x86_win32.zip) and try to build it, but without succes.
> Maybe somebody can tell me what is wrong.
>
There was a silly bug in the C++ backend of omniIDL. (Oops!)

This patch should fix the problem (it will be propagated to the external
cvs server overnight):

--- src/lib/omniORB2/omniidl_be/cxx/header/__init__.py	2000/03/20 11:50:18	1.12.2.2
+++ src/lib/omniORB2/omniidl_be/cxx/header/__init__.py	2000/03/21 10:58:49	1.12.2.3
@@ -256,19 +259,19 @@
         # build the defs file
         defs_filename = config.basename() + config.defs_fragment_suffix() +\
                         config.hdrsuffix()
-        defs_stream = util.Stream(open(defs_filename, "w"), 2)
+        defs_stream = util.LazyStream(open(defs_filename, "w"), 2)
         defs_fragment(defs_stream, tree)
 
         # build the opers file
         opers_filename = config.basename() + config.opers_fragment_suffix() +\
                          config.hdrsuffix()
-        opers_stream = util.Stream(open(opers_filename, "w"), 2)
+        opers_stream = util.LazyStream(open(opers_filename, "w"), 2)
         opers_fragment(opers_stream, tree)
 
         # build the poa file
         poa_filename = config.basename() + config.poa_fragment_suffix() +\
                        config.hdrsuffix()
-        poa_stream = util.Stream(open(poa_filename, "w"), 2)
+        poa_stream = util.LazyStream(open(poa_filename, "w"), 2)
         poa_fragment(poa_stream, tree)
     else:
         # build the full header file

-- 
  Dave Scott, Research Engineer, AT&T Research Cambridge UK