[omniORB] Changes to build omniORBpy for Linux
Ian Searle
ians@amc.com
Wed, 09 Feb 2000 11:37:45 -0800
I have just recently built omniORB 2.8 and omniORBpy on a Linux (RedHat
6.1) box. I had to make minor modifications to two dir.mk files to get
it to build. The diffs are below.
Thanks,
--
-Ian Searle
ians@amc.com
Index: modules/omnipy/dir.mk
===================================================================
RCS file: /cvsroot/omniORBpy/modules/omnipy/dir.mk,v
retrieving revision 1.13
diff -c -w -c -r1.13 dir.mk
*** dir.mk 2000/01/31 10:50:05 1.13
--- dir.mk 2000/02/09 19:24:36
***************
*** 27,32 ****
--- 27,36 ----
#############################################################################
ifdef UnixPlatform
+ PYPREFIX := $(shell python -c 'import sys; print sys.prefix')
+ PYINCDIR := $(PYPREFIX)/include
+ CXXOPTIONS += -I$(PYINCDIR)
+
CXXDEBUGFLAGS = -g
endif
Index: omniidl/cxx/dir.mk
===================================================================
RCS file: /cvsroot/omniidl/cxx/dir.mk,v
retrieving revision 1.16
diff -c -w -c -r1.16 dir.mk
*** dir.mk 2000/01/31 10:50:06 1.16
--- dir.mk 2000/02/09 19:25:23
***************
*** 47,52 ****
--- 47,56 ----
#############################################################################
ifdef UnixPlatform
+ PYPREFIX := $(shell python -c 'import sys; print sys.prefix')
+ PYINCDIR := $(PYPREFIX)/include
+ CXXOPTIONS += -I$(PYINCDIR)
+
CXXDEBUGFLAGS = -g
endif