[omniORB] omniORB build enviroment

Duncan Grisby dgrisby@uk.research.att.com
Fri, 06 Jul 2001 10:37:56 +0100


On Thursday 5 July, David Byron wrote:

[...]
> Here are the mods I've made:
> 
> omni/config/config.mk
> 	-- uncommented i586_linux_2.0_glibc2.1

That's right.

> 
> omni/mk/platforms/i586_linux_2.0_glibc2.1.mk
> 	-- commented out BuildSharedLibrary = 1 and added a
> BuildSharedLibrary = 0

Why do that?  Shared libraries are normally better, and I'm not even
sure it works if you set BuildSharedLibrary to 0. (Part of the reason
a new build system would be a good idea.)  Even if you do want to use
static libraries, you might as well build the shared ones, and tell
the linker of your program to use the static versions.

> 	-- uncommented PYTHON = line and set to /usr/bin/python

That's right.

> 	-- uncommented CPP = line and set to /usr/local/bin/cpp
> 	-- uncommented include of unix.mk
> 	-- uncommented AR = line

I'm confused now. None of those things are commented out in the first
place.

[...]
> ../../../../bin/i586_linux_2.0_glibc2.1/omkdepend: warning:  (from
> idlpython.cc) idlpython.cc: 308: #    error "omniidl requires Python 1.5.2
> or higher" ../../../../bin/i586_linux_2.0_glibc2.1/omkdepend: warning:
> (from idlexpr.cc) /usr/include/bits/mathdef.h: 20: # error "Never use
> <bits/mathdef.h> directly; include <math.h> instead"

The warnings from omkdepend are totally spurious. It just fails to
understand some things about defines. They are not a problem at all,
and the build should continue happily after that.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --