tamtam (was Re: [sugar] today's sugar)

Joshua N Pritikin jpritikin
Sat Mar 3 06:16:40 EST 2007


On Sat, Mar 03, 2007 at 04:24:01PM +0530, Joshua N Pritikin wrote:
> It is a little crazy. Apply the following patch

The attached patch is also needed. It still doesn't work. From the 
TamTam log, it seems like python is not able to find _csnd.so.

I'm out of time for today.

diff --git a/SConstruct b/SConstruct
index a465137..a3b7592 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1949,15 +1949,15 @@ INCLUDE_DIR = PREFIX + "/include/csound"
 
 if (commonEnvironment['Word64'] == '1'):
     LIB_DIR = PREFIX + "/lib64"
-    PYTHON_DIR = '%s/lib64' % sys.prefix
+    PYTHON_DIR = '%s/lib64' % PREFIX
 else:
     LIB_DIR = PREFIX + "/lib"
-    PYTHON_DIR = '%s/lib' % sys.prefix
+    PYTHON_DIR = '%s/lib' % PREFIX
 PYTHON_DIR += '/python%s/site-packages' % commonEnvironment['pythonVersion']
 
-for i in sys.path:
-    if i[:sys.prefix.__len__()] == sys.prefix and i[-13:] == 'site-packages':
-        PYTHON_DIR = i
+#for i in sys.path:
+#    if i[:sys.prefix.__len__()] == sys.prefix and i[-13:] == 'site-packages':
+#        PYTHON_DIR = i
 
 if commonEnvironment['useDouble'] == '0':
     PLUGIN_DIR = LIB_DIR + "/csound/plugins"


More information about the Sugar-devel mailing list