ORBit patch




Hello,

This patch will resolve the problem that compile fails in the
machine which ORBit isn't being installed in at all.


Best regards,
--
Akira TAGOH <at@ue-spacy.ccom>
diff -ruN ORBit.orig/src/daemons/interface_repository/Makefile.am ORBit/src/daemons/interface_repository/Makefile.am
--- ORBit.orig/src/daemons/interface_repository/Makefile.am	Thu Jul 20 04:01:47 2000
+++ ORBit/src/daemons/interface_repository/Makefile.am	Thu Jul 20 04:02:33 2000
@@ -26,6 +26,7 @@
 orbit_ird_built = interface_repository-skels.c
 
 $(orbit_ird_built): $(IRIDL) $(IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(IDL) --noheaders --nostubs --nocommon $(IRIDL)
 
 EXTRA_DIST = interface_repository.idl
diff -ruN ORBit.orig/src/orb/Makefile.am ORBit/src/orb/Makefile.am
--- ORBit.orig/src/orb/Makefile.am	Thu Jul 20 03:15:06 2000
+++ ORBit/src/orb/Makefile.am	Thu Jul 20 03:46:05 2000
@@ -92,6 +92,7 @@
 interface_repository-stubs.c: my_ir_stuff
 
 my_ir_stuff: $(IRIDL) $(IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(IDL) --noskels $(IRIDL)
 	touch my_ir_stuff
 
diff -ruN ORBit.orig/src/services/event/Makefile.am ORBit/src/services/event/Makefile.am
--- ORBit.orig/src/services/event/Makefile.am	Thu Jul 20 03:56:42 2000
+++ ORBit/src/services/event/Makefile.am	Thu Jul 20 03:54:39 2000
@@ -25,7 +25,9 @@
 $(CosEvent_built): my_cosevent_built
 
 my_cosevent_built: CosEventComm.idl CosEventChannel.idl $(IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(IDL) $(srcdir)/CosEventComm.idl
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(IDL) $(srcdir)/CosEventChannel.idl
 	touch my_cosevent_built
 
diff -ruN ORBit.orig/src/services/name/Makefile.am ORBit/src/services/name/Makefile.am
--- ORBit.orig/src/services/name/Makefile.am	Thu Jul 20 03:44:01 2000
+++ ORBit/src/services/name/Makefile.am	Thu Jul 20 03:49:36 2000
@@ -35,6 +35,7 @@
 	@:
 
 my_cosnaming_built: CosNaming.idl $(srcdir)/LName.h $(IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(IDL) $(srcdir)/CosNaming.idl
 	cat $(srcdir)/LName.h >>CosNaming.h
 	touch my_cosnaming_built
diff -ruN ORBit.orig/test/Makefile.am ORBit/test/Makefile.am
--- ORBit.orig/test/Makefile.am	Thu Jul 20 04:04:33 2000
+++ ORBit/test/Makefile.am	Thu Jul 20 04:07:08 2000
@@ -122,30 +122,35 @@
 echo.h echo-common.c echo-stubs.c echo-skels.c: echo_built
 
 echo_built: echo.idl $(ORBIT_IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(ORBIT_IDL) $(srcdir)/echo.idl
 	touch echo_built
 
 empty.h empty-common.c empty-stubs.c empty-skels.c: empty_built
 
 empty_built: empty.idl $(ORBIT_IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(ORBIT_IDL) $(srcdir)/empty.idl
 	touch empty_built
 
 test-any.h test-any-common.c test-any-stubs.c test-any-skels.c: test_any_built
 
 test_any_built: test-any.idl $(ORBIT_IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(ORBIT_IDL) $(srcdir)/test-any.idl
 	touch test_any_built
 
 test-tc.h test-tc-common.c test-tc-stubs.c test-tc-skels.c: test_tc_built
 
 test_tc_built: test-tc.idl $(ORBIT_IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(ORBIT_IDL) $(srcdir)/test-tc.idl
 	touch test_tc_built
 
 test-ir.h test-ir-common.c test-ir-stubs.c test-ir-skels.c: test_ir_built
 
 test_ir_built: test-ir.idl $(ORBIT_IDL)
+	export LD_LIBRARY_PATH=$(top_builddir)/libIDL/.libs; \
 	$(ORBIT_IDL) $(srcdir)/test-ir.idl
 	touch test_ir_built
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]