Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: 5.08Beta OS X installation

Date2008-03-13 09:01
Fromvictor
Subject[Csnd] Re: Re: Re: 5.08Beta OS X installation
strange, they should have gone into the macpython framework (2.4)
and the apple python framework(2.3) in the right places.


----- Original Message ----- 
From: "DavidW" 
To: 
Sent: Thursday, March 13, 2008 6:00 AM
Subject: [Csnd] Re: Re: 5.08Beta OS X installation


> On Leopard 10.5.2 (the latest)
> I've installed and "csound tst.csd" tested  the In Csound5.08beta- 
> OSX10.4-Intel packages in reverse name (ls) order.
>  all files seem to be installed with user = root group =wheel
> Macintosh:Desktop drw$ which csound
> /usr/local/bin/csound
> Macintosh:Desktop drw$ ls -l /usr/local/bin/csound
> -rwxr-xr-x@ 1 root  wheel  13924 13 Mar 13:22 /usr/local/bin/csound*
>
> .csd  files play without problem.
>
> There seems too have been no installation of csnd.py or it's .so.
> Should there have been? else, how is that now done, from the cvs 
> repository?
>
> The installer notes say:
>> Csound5.mpkg ..........
>> Csound 5 Environment (API version 1).
>> ....
>> This installer will install the following components:
>> ...
>> 1.3. Csound 5 Python: the Csound 5 Python module is placed in
>>       /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/ 
>> Python2.3/
>> ...
>> Victor Lazzarini, 2005
>> (c) 2005, The Csound Team, csound.sf.net
>
>
> It didn't seem to overwrite the existing files:
> $ cd /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/ 
> Python2.3/
> $ ls -l  *csnd*
> -rwxr-xr-x  1 root  wheel  798564  4 Feb 23:39 _csnd.so*
> -rw-r--r--  1 root  wheel  128459  4 Feb 23:39 csnd.py
>
>
> I note that the Apple 10.5 to 10.5.2 update installed python in / 
> System/Library/Frameworks/Python.framework/Versions/
>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/ 
>> Python.framework/Versions/
>> total 4
>> drwxr-xr-x   7 root  wheel  238 28 Dec 13:59 2.3/
>> drwxr-xr-x  11 root  wheel  374 12 Mar 17:46 2.5/
>> lrwxr-xr-x   1 root  wheel    3 28 Dec 13:59 Current@ -> 2.5
>
>
>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/ 
>> Python.framework/Versions/Current/
>> total 5000
>> -rw-r--r--   1 root  wheel     4745 18 Jan 14:41 CodeResources
>> drwxr-xr-x   4 root  wheel      136 28 Dec 13:59 Extras/
>> lrwxr-xr-x   1 root  wheel       17 20 Jan 20:08 Headers@ -> include/ 
>> python2.5
>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 Mac/
>> -rwxr-xr-x   1 root  wheel  5106240 18 Jan 14:40 Python*
>> drwxr-xr-x   7 root  wheel      238 12 Mar 17:46 Resources/
>> drwxr-xr-x  14 root  wheel      476 28 Dec 13:59 bin/
>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 include/
>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 lib/
>
>
> and, needless to say
>> Macintosh:Python2.3 drw$ /System/Library/Frameworks/Python.framework/ 
>> Versions/2.5/bin/python
>> Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>
>> Executable: /System/Library/Frameworks/Python.framework/Versions/2.5/ 
>> Resources/Python.app/Contents/MacOS/Python
>>
>> Thu Mar 13 14:40:22 2008 Having some spam today??
>>
>> >>> import csnd
>> Fatal Python error: Interpreter not initialized (version mismatch?)
>> Abort trap
>> Macintosh:Python2.3 drw$
>
>
> which was to be expected.
>
> Should there have been an installation of 5.08 beta version of csnd.py 
> and _csnd_so?
> How is an appropriation done nowdays? I forget - , from the cvs 
> repository?
>
>
> ciao,
> David
>
>
> On 10/03/2008, at 11:03 AM, dp51 wrote:
>
>>
>> I downloaded and installed "Csound5.08-OSX10.4-Intel.tar.gz" on  10.4.11.
>> The API works, as far as I could tell.  I did try command-line  csound 
>> and
>> csound5gui.  They ran my csd's without problems.
>>
>> I can't do extensive testing because I need to run a version  compiled 
>> from
>> sources.  I'm currently running 5.08beta (compiled from 
>> "Csound5.08.zip")
>> without problems.
>>
>> Davis
>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Re%3A-Csound-5.08Beta---OS-X-Warning-tp15926123p15948523.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  "unsubscribe 
>> csound"
>>
>
> ________________________________________________
> David Worrall.
> - Experimental Polymedia: www.avatar.com.au
> - Education for Financial Independence: www.mindthemarkets.com.au
> Australian research affiliations:
> - Capital Markets Cooperative Research Centre: www.cmcrc.com
> - Sonic Communications Research Group: creative.canberra.edu.au/scrg
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-03-13 10:08
FromDavidW
Subject[Csnd] Re: Re: Re: Re: 5.08Beta OS X installation
It may be because the Apple default  (/Sys/Lib/..../Current) is now  
python 2.5 and my Current is also now 2.5 (but a different download  
to /Library/Frameworks..)
I think the issue of where it's located is an easier problem to solve.  
What would be ideal is for the build to be sensitive to the python  
which builds it.
Can you remind me where in  the CVS code the SConstruct or whatever  
is, so I can attempt to to the build here. I looked back at old list  
corresp. and I think I ended up w. a .dmg from you when I was  
installing under OSX 10.5.

BTW OSX 10.5.2 'feels'  much faster/slicker/more stable than 10.5  
(10.5.1 was a disaster). And w. a new Tb drive, backups are happening  
every hour or so, which is quietly comforting. How easily pleased am  
I?   :-)

D.

On 13/03/2008, at 8:01 PM, victor wrote:

> strange, they should have gone into the macpython framework (2.4)
> and the apple python framework(2.3) in the right places.
>
>
> ----- Original Message ----- From: "DavidW" 
> To: 
> Sent: Thursday, March 13, 2008 6:00 AM
> Subject: [Csnd] Re: Re: 5.08Beta OS X installation
>
>
>> On Leopard 10.5.2 (the latest)
>> I've installed and "csound tst.csd" tested  the In Csound5.08beta-  
>> OSX10.4-Intel packages in reverse name (ls) order.
>> all files seem to be installed with user = root group =wheel
>> Macintosh:Desktop drw$ which csound
>> /usr/local/bin/csound
>> Macintosh:Desktop drw$ ls -l /usr/local/bin/csound
>> -rwxr-xr-x@ 1 root  wheel  13924 13 Mar 13:22 /usr/local/bin/csound*
>>
>> .csd  files play without problem.
>>
>> There seems too have been no installation of csnd.py or it's .so.
>> Should there have been? else, how is that now done, from the cvs  
>> repository?
>>
>> The installer notes say:
>>> Csound5.mpkg ..........
>>> Csound 5 Environment (API version 1).
>>> ....
>>> This installer will install the following components:
>>> ...
>>> 1.3. Csound 5 Python: the Csound 5 Python module is placed in
>>>      /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/  
>>> Python2.3/
>>> ...
>>> Victor Lazzarini, 2005
>>> (c) 2005, The Csound Team, csound.sf.net
>>
>>
>> It didn't seem to overwrite the existing files:
>> $ cd /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/  
>> Python2.3/
>> $ ls -l  *csnd*
>> -rwxr-xr-x  1 root  wheel  798564  4 Feb 23:39 _csnd.so*
>> -rw-r--r--  1 root  wheel  128459  4 Feb 23:39 csnd.py
>>
>>
>> I note that the Apple 10.5 to 10.5.2 update installed python in /  
>> System/Library/Frameworks/Python.framework/Versions/
>>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/  
>>> Python.framework/Versions/
>>> total 4
>>> drwxr-xr-x   7 root  wheel  238 28 Dec 13:59 2.3/
>>> drwxr-xr-x  11 root  wheel  374 12 Mar 17:46 2.5/
>>> lrwxr-xr-x   1 root  wheel    3 28 Dec 13:59 Current@ -> 2.5
>>
>>
>>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/  
>>> Python.framework/Versions/Current/
>>> total 5000
>>> -rw-r--r--   1 root  wheel     4745 18 Jan 14:41 CodeResources
>>> drwxr-xr-x   4 root  wheel      136 28 Dec 13:59 Extras/
>>> lrwxr-xr-x   1 root  wheel       17 20 Jan 20:08 Headers@ ->  
>>> include/ python2.5
>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 Mac/
>>> -rwxr-xr-x   1 root  wheel  5106240 18 Jan 14:40 Python*
>>> drwxr-xr-x   7 root  wheel      238 12 Mar 17:46 Resources/
>>> drwxr-xr-x  14 root  wheel      476 28 Dec 13:59 bin/
>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 include/
>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 lib/
>>
>>
>> and, needless to say
>>> Macintosh:Python2.3 drw$ /System/Library/Frameworks/ 
>>> Python.framework/ Versions/2.5/bin/python
>>> Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more  
>>> information.
>>>
>>> Executable: /System/Library/Frameworks/Python.framework/Versions/ 
>>> 2.5/ Resources/Python.app/Contents/MacOS/Python
>>>
>>> Thu Mar 13 14:40:22 2008 Having some spam today??
>>>
>>> >>> import csnd
>>> Fatal Python error: Interpreter not initialized (version mismatch?)
>>> Abort trap
>>> Macintosh:Python2.3 drw$
>>
>>
>> which was to be expected.
>>
>> Should there have been an installation of 5.08 beta version of  
>> csnd.py and _csnd_so?
>> How is an appropriation done nowdays? I forget - , from the cvs  
>> repository?
>>
>>
>> ciao,
>> David
>>

________________________________________________
David Worrall.
- Experimental Polymedia:	www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au
Australian research affiliations:
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group:	creative.canberra.edu.au/scrg



Date2008-03-13 10:31
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: 5.08Beta OS X installation
you can download the sources and run scons
from it. SConstruct is in the top directory.

But I will not change the installation location, because as
you know this is a build for 10.4 and I don't have any 10.5
machines around. It becomes quite complicated when
OSX versions start to accummulate (10.4, 10.5, Intel, PPC).

Victor




At 10:08 13/03/2008, you wrote:
>It may be because the Apple default  (/Sys/Lib/..../Current) is now
>python 2.5 and my Current is also now 2.5 (but a different download
>to /Library/Frameworks..)
>I think the issue of where it's located is an easier problem to solve.
>What would be ideal is for the build to be sensitive to the python
>which builds it.
>Can you remind me where in  the CVS code the SConstruct or whatever
>is, so I can attempt to to the build here. I looked back at old list
>corresp. and I think I ended up w. a .dmg from you when I was
>installing under OSX 10.5.
>
>BTW OSX 10.5.2 'feels'  much faster/slicker/more stable than 10.5
>(10.5.1 was a disaster). And w. a new Tb drive, backups are happening
>every hour or so, which is quietly comforting. How easily pleased am
>I?   :-)
>
>D.
>
>On 13/03/2008, at 8:01 PM, victor wrote:
>
>>strange, they should have gone into the macpython framework (2.4)
>>and the apple python framework(2.3) in the right places.
>>
>>
>>----- Original Message ----- From: "DavidW" 
>>To: 
>>Sent: Thursday, March 13, 2008 6:00 AM
>>Subject: [Csnd] Re: Re: 5.08Beta OS X installation
>>
>>
>>>On Leopard 10.5.2 (the latest)
>>>I've installed and "csound tst.csd" tested  the In Csound5.08beta-
>>>OSX10.4-Intel packages in reverse name (ls) order.
>>>all files seem to be installed with user = root group =wheel
>>>Macintosh:Desktop drw$ which csound
>>>/usr/local/bin/csound
>>>Macintosh:Desktop drw$ ls -l /usr/local/bin/csound
>>>-rwxr-xr-x@ 1 root  wheel  13924 13 Mar 13:22 /usr/local/bin/csound*
>>>
>>>.csd  files play without problem.
>>>
>>>There seems too have been no installation of csnd.py or it's .so.
>>>Should there have been? else, how is that now done, from the cvs
>>>repository?
>>>
>>>The installer notes say:
>>>>Csound5.mpkg ..........
>>>>Csound 5 Environment (API version 1).
>>>>....
>>>>This installer will install the following components:
>>>>...
>>>>1.3. Csound 5 Python: the Csound 5 Python module is placed in
>>>>      /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/
>>>>Python2.3/
>>>>...
>>>>Victor Lazzarini, 2005
>>>>(c) 2005, The Csound Team, csound.sf.net
>>>
>>>
>>>It didn't seem to overwrite the existing files:
>>>$ cd /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/
>>>Python2.3/
>>>$ ls -l  *csnd*
>>>-rwxr-xr-x  1 root  wheel  798564  4 Feb 23:39 _csnd.so*
>>>-rw-r--r--  1 root  wheel  128459  4 Feb 23:39 csnd.py
>>>
>>>
>>>I note that the Apple 10.5 to 10.5.2 update installed python in /
>>>System/Library/Frameworks/Python.framework/Versions/
>>>>Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/
>>>>Python.framework/Versions/
>>>>total 4
>>>>drwxr-xr-x   7 root  wheel  238 28 Dec 13:59 2.3/
>>>>drwxr-xr-x  11 root  wheel  374 12 Mar 17:46 2.5/
>>>>lrwxr-xr-x   1 root  wheel    3 28 Dec 13:59 Current@ -> 2.5
>>>
>>>
>>>>Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/
>>>>Python.framework/Versions/Current/
>>>>total 5000
>>>>-rw-r--r--   1 root  wheel     4745 18 Jan 14:41 CodeResources
>>>>drwxr-xr-x   4 root  wheel      136 28 Dec 13:59 Extras/
>>>>lrwxr-xr-x   1 root  wheel       17 20 Jan 20:08 Headers@ ->
>>>>include/ python2.5
>>>>drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 Mac/
>>>>-rwxr-xr-x   1 root  wheel  5106240 18 Jan 14:40 Python*
>>>>drwxr-xr-x   7 root  wheel      238 12 Mar 17:46 Resources/
>>>>drwxr-xr-x  14 root  wheel      476 28 Dec 13:59 bin/
>>>>drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 include/
>>>>drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 lib/
>>>
>>>
>>>and, needless to say
>>>>Macintosh:Python2.3 drw$ /System/Library/Frameworks/ Python.framework/ 
>>>>Versions/2.5/bin/python
>>>>Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>>>>[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>>>>Type "help", "copyright", "credits" or "license" for more
>>>>information.
>>>>
>>>>Executable: /System/Library/Frameworks/Python.framework/Versions/ 2.5/ 
>>>>Resources/Python.app/Contents/MacOS/Python
>>>>
>>>>Thu Mar 13 14:40:22 2008 Having some spam today??
>>>>
>>>> >>> import csnd
>>>>Fatal Python error: Interpreter not initialized (version mismatch?)
>>>>Abort trap
>>>>Macintosh:Python2.3 drw$
>>>
>>>
>>>which was to be expected.
>>>
>>>Should there have been an installation of 5.08 beta version of
>>>csnd.py and _csnd_so?
>>>How is an appropriation done nowdays? I forget - , from the cvs
>>>repository?
>>>
>>>
>>>ciao,
>>>David
>
>________________________________________________
>David Worrall.
>- Experimental Polymedia:       www.avatar.com.au
>- Education for Financial Independence: www.mindthemarkets.com.au
>Australian research affiliations:
>- Capital Markets Cooperative Research Centre: www.cmcrc.com
>- Sonic Communications Research Group:  creative.canberra.edu.au/scrg
>
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


Date2008-03-13 11:06
FromPeiman Khosravi
Subject[Csnd] Re: Re: Re: Re: Re: Re: 5.08Beta OS X installation
Just to mention,

I've noticed that the FLTK windows are still not recognized properly  
on leopard. Also double clicking on cswish application gives an error  
and the application quits immediately.

Best
Peiman


On 13 Mar 2008, at 10:31, Victor Lazzarini wrote:

> you can download the sources and run scons
> from it. SConstruct is in the top directory.
>
> But I will not change the installation location, because as
> you know this is a build for 10.4 and I don't have any 10.5
> machines around. It becomes quite complicated when
> OSX versions start to accummulate (10.4, 10.5, Intel, PPC).
>
> Victor
>
>
>
>
> At 10:08 13/03/2008, you wrote:
>> It may be because the Apple default  (/Sys/Lib/..../Current) is now
>> python 2.5 and my Current is also now 2.5 (but a different download
>> to /Library/Frameworks..)
>> I think the issue of where it's located is an easier problem to  
>> solve.
>> What would be ideal is for the build to be sensitive to the python
>> which builds it.
>> Can you remind me where in  the CVS code the SConstruct or whatever
>> is, so I can attempt to to the build here. I looked back at old list
>> corresp. and I think I ended up w. a .dmg from you when I was
>> installing under OSX 10.5.
>>
>> BTW OSX 10.5.2 'feels'  much faster/slicker/more stable than 10.5
>> (10.5.1 was a disaster). And w. a new Tb drive, backups are happening
>> every hour or so, which is quietly comforting. How easily pleased am
>> I?   :-)
>>
>> D.
>>
>> On 13/03/2008, at 8:01 PM, victor wrote:
>>
>>> strange, they should have gone into the macpython framework (2.4)
>>> and the apple python framework(2.3) in the right places.
>>>
>>>
>>> ----- Original Message ----- From: "DavidW" 
>>> To: 
>>> Sent: Thursday, March 13, 2008 6:00 AM
>>> Subject: [Csnd] Re: Re: 5.08Beta OS X installation
>>>
>>>
>>>> On Leopard 10.5.2 (the latest)
>>>> I've installed and "csound tst.csd" tested  the In Csound5.08beta-
>>>> OSX10.4-Intel packages in reverse name (ls) order.
>>>> all files seem to be installed with user = root group =wheel
>>>> Macintosh:Desktop drw$ which csound
>>>> /usr/local/bin/csound
>>>> Macintosh:Desktop drw$ ls -l /usr/local/bin/csound
>>>> -rwxr-xr-x@ 1 root  wheel  13924 13 Mar 13:22 /usr/local/bin/ 
>>>> csound*
>>>>
>>>> .csd  files play without problem.
>>>>
>>>> There seems too have been no installation of csnd.py or it's .so.
>>>> Should there have been? else, how is that now done, from the cvs
>>>> repository?
>>>>
>>>> The installer notes say:
>>>>> Csound5.mpkg ..........
>>>>> Csound 5 Environment (API version 1).
>>>>> ....
>>>>> This installer will install the following components:
>>>>> ...
>>>>> 1.3. Csound 5 Python: the Csound 5 Python module is placed in
>>>>>     /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/
>>>>> Python2.3/
>>>>> ...
>>>>> Victor Lazzarini, 2005
>>>>> (c) 2005, The Csound Team, csound.sf.net
>>>>
>>>>
>>>> It didn't seem to overwrite the existing files:
>>>> $ cd /System/Library/Frameworks/Python.Framework/Versions/2.3/lib/
>>>> Python2.3/
>>>> $ ls -l  *csnd*
>>>> -rwxr-xr-x  1 root  wheel  798564  4 Feb 23:39 _csnd.so*
>>>> -rw-r--r--  1 root  wheel  128459  4 Feb 23:39 csnd.py
>>>>
>>>>
>>>> I note that the Apple 10.5 to 10.5.2 update installed python in /
>>>> System/Library/Frameworks/Python.framework/Versions/
>>>>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/
>>>>> Python.framework/Versions/
>>>>> total 4
>>>>> drwxr-xr-x   7 root  wheel  238 28 Dec 13:59 2.3/
>>>>> drwxr-xr-x  11 root  wheel  374 12 Mar 17:46 2.5/
>>>>> lrwxr-xr-x   1 root  wheel    3 28 Dec 13:59 Current@ -> 2.5
>>>>
>>>>
>>>>> Macintosh:Python2.3 drw$ ls -l /System/Library/Frameworks/
>>>>> Python.framework/Versions/Current/
>>>>> total 5000
>>>>> -rw-r--r--   1 root  wheel     4745 18 Jan 14:41 CodeResources
>>>>> drwxr-xr-x   4 root  wheel      136 28 Dec 13:59 Extras/
>>>>> lrwxr-xr-x   1 root  wheel       17 20 Jan 20:08 Headers@ ->
>>>>> include/ python2.5
>>>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 Mac/
>>>>> -rwxr-xr-x   1 root  wheel  5106240 18 Jan 14:40 Python*
>>>>> drwxr-xr-x   7 root  wheel      238 12 Mar 17:46 Resources/
>>>>> drwxr-xr-x  14 root  wheel      476 28 Dec 13:59 bin/
>>>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 include/
>>>>> drwxr-xr-x   3 root  wheel      102  6 Oct 14:11 lib/
>>>>
>>>>
>>>> and, needless to say
>>>>> Macintosh:Python2.3 drw$ /System/Library/Frameworks/  
>>>>> Python.framework/ Versions/2.5/bin/python
>>>>> Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>>>>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>>>>> Type "help", "copyright", "credits" or "license" for more
>>>>> information.
>>>>>
>>>>> Executable: /System/Library/Frameworks/Python.framework/ 
>>>>> Versions/ 2.5/ Resources/Python.app/Contents/MacOS/Python
>>>>>
>>>>> Thu Mar 13 14:40:22 2008 Having some spam today??
>>>>>
>>>>> >>> import csnd
>>>>> Fatal Python error: Interpreter not initialized (version  
>>>>> mismatch?)
>>>>> Abort trap
>>>>> Macintosh:Python2.3 drw$
>>>>
>>>>
>>>> which was to be expected.
>>>>
>>>> Should there have been an installation of 5.08 beta version of
>>>> csnd.py and _csnd_so?
>>>> How is an appropriation done nowdays? I forget - , from the cvs
>>>> repository?
>>>>
>>>>
>>>> ciao,
>>>> David
>>
>> ________________________________________________
>> David Worrall.
>> - Experimental Polymedia:       www.avatar.com.au
>> - Education for Financial Independence: www.mindthemarkets.com.au
>> Australian research affiliations:
>> - Capital Markets Cooperative Research Centre: www.cmcrc.com
>> - Sonic Communications Research Group:  creative.canberra.edu.au/scrg
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2008-03-14 02:31
FromDavidW
Subject[Csnd] Re: 5.08Beta OS X installation
On 13/03/2008, at 9:31 PM, Victor Lazzarini wrote:

> you can download the sources and run scons
> from it. SConstruct is in the top directory.
>
> But I will not change the installation location, because as
> you know this is a build for 10.4 and I don't have any 10.5
> machines around. It becomes quite complicated when
> OSX versions start to accummulate (10.4, 10.5, Intel, PPC).
>
> Victor


Thanks. I do appreciate the complications. I wasn't really asking you  
to change it now.
I do think it would be fairer if you didn't have to shoulder all the  
responsibility for the OSX builds.
I'd be happy to learn, if you're willing to share the esoteria you've  
built up so far.
I sconed sources last night (default settings of SContruct) and built  
and installed something.
On import to python (v2.5 on /Library  framework):
> >>> import csnd
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "csnd.py", line 7, in 
>     import _csnd
> ImportError: dlopen(./_csnd.so, 2): Symbol not found:  
> _csoundGetOutputFileName
>   Referenced from: /usr/local/csound5/_csnd.so
>   Expected in: /Library/Frameworks/CsoundLib.framework/Versions/5.1/ 
> lib_csnd.dylib


I notice the /Library/Frameworks/CsoundLib.framework/Versions/5.1/ 
lib_csnd.dylib
is dated -rwxr-xr-x   1 root  wheel  193528  4 Feb 23:39 lib_csnd.dylib*
This presumably is from (or left alone by) the 5.08Beta .dmg install.
Does anyone know if that installer writes over the top of regardless  
or leaves alone if current
  (what are cp's flags?)

Anyway, I'll have a closer look at the scons, but perhaps we can  
collab. on this (after non-beta release of 5.08!)
For e.g. I'm not sure why it's necessary to go to all that bit  
shifting to work out the version, when you can get is so easily in  
python:
with the OSX 10.5.2 apple python:

> >>> sys.version
> '2.5.1 (r251:54863, Jan 17 2008, 19:35:17) \n[GCC 4.0.1 (Apple Inc.  
> build 5465)]'
> >>> sys.executable
> '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/ 
> Python.app/Contents/MacOS/Python'

and with the latest MacPython:

 >>> sys.version
'2.5.2 (r252:60911, Feb 22 2008, 07:57:53) \n[GCC 4.0.1 (Apple  
Computer, Inc. build 5363)]'
 >>> sys.executable
'/Library/Frameworks/Python.framework/Versions/2.5/Resources/ 
Python.app/Contents/MacOS/Python'

At the risk of it becoming even more like spagetti perhaps we can  
modify SConstruct to build more specifically.
At least it's more readable than Make.
ciao,
David

________________________________________________
David Worrall.
- Experimental Polymedia:	www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au
Australian research affiliations:
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group:	creative.canberra.edu.au/scrg



Date2008-03-14 10:36
FromVictor Lazzarini
Subject[Csnd] Re: Re: 5.08Beta OS X installation
I think if you build with

scons dynamicCsoundLibrary=1

then it will work.

The problem is not really building Csound, which is all automated in 
SConstruct,
but making the installer, which is not. I have some scripts that I use, but 
it's
a little byzantine at the moment.

Victor

At 02:31 14/03/2008, you wrote:
>On 13/03/2008, at 9:31 PM, Victor Lazzarini wrote:
>
>>you can download the sources and run scons
>>from it. SConstruct is in the top directory.
>>
>>But I will not change the installation location, because as
>>you know this is a build for 10.4 and I don't have any 10.5
>>machines around. It becomes quite complicated when
>>OSX versions start to accummulate (10.4, 10.5, Intel, PPC).
>>
>>Victor
>
>
>Thanks. I do appreciate the complications. I wasn't really asking you
>to change it now.
>I do think it would be fairer if you didn't have to shoulder all the
>responsibility for the OSX builds.
>I'd be happy to learn, if you're willing to share the esoteria you've
>built up so far.
>I sconed sources last night (default settings of SContruct) and built
>and installed something.
>On import to python (v2.5 on /Library  framework):
>> >>> import csnd
>>Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "csnd.py", line 7, in 
>>     import _csnd
>>ImportError: dlopen(./_csnd.so, 2): Symbol not found:
>>_csoundGetOutputFileName
>>   Referenced from: /usr/local/csound5/_csnd.so
>>   Expected in: /Library/Frameworks/CsoundLib.framework/Versions/5.1/ 
>> lib_csnd.dylib
>
>
>I notice the /Library/Frameworks/CsoundLib.framework/Versions/5.1/ 
>lib_csnd.dylib
>is dated -rwxr-xr-x   1 root  wheel  193528  4 Feb 23:39 lib_csnd.dylib*
>This presumably is from (or left alone by) the 5.08Beta .dmg install.
>Does anyone know if that installer writes over the top of regardless
>or leaves alone if current
>  (what are cp's flags?)
>
>Anyway, I'll have a closer look at the scons, but perhaps we can
>collab. on this (after non-beta release of 5.08!)
>For e.g. I'm not sure why it's necessary to go to all that bit
>shifting to work out the version, when you can get is so easily in
>python:
>with the OSX 10.5.2 apple python:
>
>> >>> sys.version
>>'2.5.1 (r251:54863, Jan 17 2008, 19:35:17) \n[GCC 4.0.1 (Apple Inc.
>>build 5465)]'
>> >>> sys.executable
>>'/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/ 
>>Python.app/Contents/MacOS/Python'
>
>and with the latest MacPython:
>
> >>> sys.version
>'2.5.2 (r252:60911, Feb 22 2008, 07:57:53) \n[GCC 4.0.1 (Apple
>Computer, Inc. build 5363)]'
> >>> sys.executable
>'/Library/Frameworks/Python.framework/Versions/2.5/Resources/ 
>Python.app/Contents/MacOS/Python'
>
>At the risk of it becoming even more like spagetti perhaps we can
>modify SConstruct to build more specifically.
>At least it's more readable than Make.
>ciao,
>David
>
>________________________________________________
>David Worrall.
>- Experimental Polymedia:       www.avatar.com.au
>- Education for Financial Independence: www.mindthemarkets.com.au
>Australian research affiliations:
>- Capital Markets Cooperative Research Centre: www.cmcrc.com
>- Sonic Communications Research Group:  creative.canberra.edu.au/scrg
>
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth