[omniORB] Import error _omnipy
Duncan Grisby
dgrisby@uk.research.att.com
Mon, 12 Feb 2001 10:38:41 +0000
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4632.981974275.1@pineapple>
On Friday 9 February, Gnana wrote:
> I compiled latest snapshot of omniORB3 and omniORBpy today on Dec
> Unix 4.0F. Compile went fine. I setup LD_LIBRARY_PATH and
> PYTHONPATH as indicated in the documentation. The c++ clients and
> servers are working fine.
It turns out that nobody has ever used omniORBpy on Digital Unix / Tru
64 / whatever they're calling it this week, so there aren't any make
rules for it. Try the following patch, and see if it works. It's
untested, but based on the rules for omniidl, which work.
Cheers,
Duncan.
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="osf.patch"; charset="us-ascii"
Content-ID: <4632.981974275.2@pineapple>
diff -u -r1.27.2.7 dir.mk
--- src/lib/omniORBpy/modules/dir.mk 2000/11/27 11:07:47 1.27.2.7
+++ src/lib/omniORBpy/modules/dir.mk 2001/02/12 10:36:07
@@ -452,3 +452,41 @@
endif
endif
+
+
+#############################################################################
+# Make rules for Digital Unix #
+#############################################################################
+
+ifdef OSF1
+ifeq ($(notdir $(CXX)),cxx)
+
+libname = _omnipymodule.so
+soname = $(libname).$(OMNIPY_MAJOR)
+lib = $(soname).$(OMNIPY_MINOR)
+
+all:: $(lib)
+
+$(lib): $(OBJS)
+ (set -x; \
+ $(RM) $@; \
+ ld -shared -soname $(soname) -set_version $(soname) -o $@ $(IMPORT_LIBRARY_FLAGS) \
+ $(filter-out $(LibSuffixPattern),$^) $(OMNIORB_LIB_NODYN) -lcxxstd -lcxx -lexc -lots -lc \
+ )
+
+
+clean::
+ $(RM) $(lib)
+
+export:: $(lib)
+ @$(ExportLibrary)
+ @(set -x; \
+ cd $(EXPORT_TREE)/$(LIBDIR); \
+ $(RM) $(soname); \
+ ln -s $(lib) $(soname); \
+ $(RM) $(libname); \
+ ln -s $(soname) $(libname); \
+ )
+
+endif
+endif
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4632.981974275.3@pineapple>
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --
------- =_aaaaaaaaaa0--