commit-gnue
[Top][All Lists]
Advanced

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

gnue/geas doc/apple_mac_osx.txt examples/python...


From: Neil Tiffin
Subject: gnue/geas doc/apple_mac_osx.txt examples/python...
Date: Fri, 07 Sep 2001 08:25:58 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/09/07 08:25:58

Modified files:
        geas/doc       : apple_mac_osx.txt 
        geas/examples/python: test.py 

Log message:
        Update test program to python 2.0 and add instructions for running with 
Mac OS X.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/doc/apple_mac_osx.txt.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/examples/python/test.py.diff?cvsroot=OldCVS&tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: gnue/geas/doc/apple_mac_osx.txt
diff -u gnue/geas/doc/apple_mac_osx.txt:1.3 gnue/geas/doc/apple_mac_osx.txt:1.4
--- gnue/geas/doc/apple_mac_osx.txt:1.3 Thu Aug 23 08:41:24 2001
+++ gnue/geas/doc/apple_mac_osx.txt     Fri Sep  7 08:25:58 2001
@@ -1,4 +1,4 @@
-$Id: apple_mac_osx.txt,v 1.3 2001/08/23 15:41:24 ntiffin Exp $
+$Id: apple_mac_osx.txt,v 1.4 2001/09/07 15:25:58 ntiffin Exp $
 
 Notes for using GEAS with Apple Macintosh OS X
 
@@ -37,6 +37,30 @@
 Notes:
     Project Builder projects exists for both GEAS and gcdVerifier.
     
+Modifing orbit-python
+=====================
+To run the python test programs in gnue/geas/examples/python directory
+you will need to install orbit-python
+
+I got it from here:
+http://prdownloads.sourceforge.net/orbit-python/orbit-python-0.3.0.tar.gz
+
+and then you will have to apply the following patch (which as been
+submitted to the developers on 7 Sept. 2001.
+
+PortableServermodule.c
+--- PortableServermoduleOld.c   Fri Sep  7 07:26:57 2001
++++ PortableServermodule.c      Wed Sep  5 20:07:45 2001
+@@ -1,6 +1,6 @@
+ #include "CORBAmodule.h"
+ 
+-PyObject *servant_base; // PortableServer.Servant
++extern PyObject *servant_base; // PortableServer.Servant
+ 
+ PyMethodDef PortableServer_methods[] = {
+                  { NULL, NULL }
+
+
     If you have questions email me at address@hidden
-    
+
 Neil
Index: gnue/geas/examples/python/test.py
diff -u gnue/geas/examples/python/test.py:1.14 
gnue/geas/examples/python/test.py:1.15
--- gnue/geas/examples/python/test.py:1.14      Thu Aug 23 16:02:47 2001
+++ gnue/geas/examples/python/test.py   Fri Sep  7 08:25:58 2001
@@ -3,7 +3,7 @@
 # a test file: relies on GEAS being run from gnue/geas/src
 # and this from gnue/geas/examples/python
 
-# $Id: test.py,v 1.14 2001/08/23 23:02:47 ntiffin Exp $
+# $Id: test.py,v 1.15 2001/09/07 15:25:58 ntiffin Exp $
 
 import sys
 import md5
@@ -11,7 +11,7 @@
 
 try:
     import CORBA
-    CORBA.load_idl("../../idl/geas.idl")
+    CORBA._load_idl("../../idl/geas.idl")
     import GEAS
 except ImportError,ex:
     print "Failed to load CORBA module."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]