Csound Csound-dev Csound-tekno Search About

[Cs-dev] Python problem

Date2007-05-03 07:54
Fromjpff
Subject[Cs-dev] Python problem
I can fix the missing FALSE declarations, but this one is beyond me.
Where do I look?
(Linux, OpenSuSE 10.2 on 32 bit)

g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib -L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 -lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lcsnd
collect2: ld returned 1 exit status
scons: *** [lib_csnd.pyd] Error 1
scons: building terminated because of errors.
make: *** [all] Error 2

==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 09:13
FromVictor Lazzarini
SubjectRe: [Cs-dev] Python problem
libcsnd.so is the Interfaces library and should have been built on the toplevel
csound5 sources directory. I wonder if Michael has already started committing
his changes to it. I will wait until this gets fixed before I check out...

Victor

At 07:54 03/05/2007, you wrote:
>I can fix the missing FALSE declarations, but this one is beyond me.
>Where do I look?
>(Linux, OpenSuSE 10.2 on 32 bit)
>
>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared 
>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib 
>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 
>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
>cannot find -lcsnd
>collect2: ld returned 1 exit status
>scons: *** [lib_csnd.pyd] Error 1
>scons: building terminated because of errors.
>make: *** [all] Error 2
>
>==John ffitch
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 11:29
FromVictor Lazzarini
Subject[Cs-dev] tempest fix
I have committed a fix to tempest to remove the NaN errors on OSX.
These were caused by what I can only describe as numerical rounding errors that
were leading to the calculation of a negative square root. One such error then
contaminated the rest of the process. I put a check that fixes it.

However, I am surprised by the relative large differences in the outputs of
pitchamdf and tempest when comparing the Windows and OSX PPC versions.

Estimated tempo on OSX is 1740 and on Windows is 1771. I think these tempest
differences might be caused by the rms measurement in pitchamdf.

Victor


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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 12:07
FromVictor Lazzarini
SubjectRe: [Cs-dev] tempest fix
I've put together a more sane test CSD and the differences reported
below are minimal. I am satisfied that tempest is working well again
on OSX.

Here are the results:

OSX:

krms  = 0.000000        ktempo = 0.000000
krms  = 21.052025       ktempo = 0.000000
krms  = 21.046053       ktempo = 61.066513
krms  = 21.040081       ktempo = 61.218304
krms  = 21.034109       ktempo = 60.603031
krms  = 21.028137       ktempo = 60.300011
krms  = 21.022165       ktempo = 60.149632
krms  = 21.016193       ktempo = 60.074722
krms  = 21.010221       ktempo = 60.037338
krms  = 21.004250       ktempo = 60.018665
krms  = 20.998280       ktempo = 60.009331

Windows:

krms  = 0.000000        ktempo = 0.000000
krms  = 20.812494       ktempo = 0.000000
krms  = 20.808422       ktempo = 60.814003
krms  = 20.804342       ktempo = 61.399055
krms  = 20.800253       ktempo = 60.667290
krms  = 20.796156       ktempo = 60.278011
krms  = 20.792048       ktempo = 60.298264
krms  = 20.787931       ktempo = 60.300056
krms  = 20.783806       ktempo = 60.254429
krms  = 20.779673       ktempo = 60.254429

and here is the test CSD:



-odac -d -m0


   sr        =  48000
   ksmps     =  16
   nchnls    =  1

   gistmd    ftgen     1, 0, 128, 16, 1, 128, 1
   gisin     ftgen     2, 0, 16384, 10, 1

     instr   1
   kphs      phasor    -1
   a1        oscili    kphs*10000, 200, gisin
   kcps, krms   pitchamdf  a1, 150, 500, 200
   ktempo    tempest   krms, .02, .1, 3, 2, 800, .005, 8, 60, gistmd
               out       a1
             printks   "krms  = %f\tktempo = %f\n", 1, krms, ktempo

         endin




i1 0 10
e




At 11:29 03/05/2007, you wrote:
>I have committed a fix to tempest to remove the NaN errors on OSX.
>These were caused by what I can only describe as numerical rounding errors 
>that
>were leading to the calculation of a negative square root. One such error then
>contaminated the rest of the process. I put a check that fixes it.
>
>However, I am surprised by the relative large differences in the outputs of
>pitchamdf and tempest when comparing the Windows and OSX PPC versions.
>
>Estimated tempo on OSX is 1740 and on Windows is 1771. I think these tempest
>differences might be caused by the rms measurement in pitchamdf.
>
>Victor
>
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 13:14
FromColin Kahn
SubjectRe: [Cs-dev] tempest fix
Awesome. Can't wait for the next release!

On May 3, 2007, at 7:07 AM, Victor Lazzarini wrote:

> I've put together a more sane test CSD and the differences reported
> below are minimal. I am satisfied that tempest is working well again
> on OSX.
>
> Here are the results:
>
> OSX:
>
> krms  = 0.000000        ktempo = 0.000000
> krms  = 21.052025       ktempo = 0.000000
> krms  = 21.046053       ktempo = 61.066513
> krms  = 21.040081       ktempo = 61.218304
> krms  = 21.034109       ktempo = 60.603031
> krms  = 21.028137       ktempo = 60.300011
> krms  = 21.022165       ktempo = 60.149632
> krms  = 21.016193       ktempo = 60.074722
> krms  = 21.010221       ktempo = 60.037338
> krms  = 21.004250       ktempo = 60.018665
> krms  = 20.998280       ktempo = 60.009331
>
> Windows:
>
> krms  = 0.000000        ktempo = 0.000000
> krms  = 20.812494       ktempo = 0.000000
> krms  = 20.808422       ktempo = 60.814003
> krms  = 20.804342       ktempo = 61.399055
> krms  = 20.800253       ktempo = 60.667290
> krms  = 20.796156       ktempo = 60.278011
> krms  = 20.792048       ktempo = 60.298264
> krms  = 20.787931       ktempo = 60.300056
> krms  = 20.783806       ktempo = 60.254429
> krms  = 20.779673       ktempo = 60.254429
>
> and here is the test CSD:
>
> 
> 
> -odac -d -m0
> 
> 
>    sr        =  48000
>    ksmps     =  16
>    nchnls    =  1
>
>    gistmd    ftgen     1, 0, 128, 16, 1, 128, 1
>    gisin     ftgen     2, 0, 16384, 10, 1
>
>      instr   1
>    kphs      phasor    -1
>    a1        oscili    kphs*10000, 200, gisin
>    kcps, krms   pitchamdf  a1, 150, 500, 200
>    ktempo    tempest   krms, .02, .1, 3, 2, 800, .005, 8, 60, gistmd
>                out       a1
>              printks   "krms  = %f\tktempo = %f\n", 1, krms, ktempo
>
>          endin
>
>
> 
> 
> i1 0 10
> e
> 
> 
>
>
> At 11:29 03/05/2007, you wrote:
>> I have committed a fix to tempest to remove the NaN errors on OSX.
>> These were caused by what I can only describe as numerical rounding  
>> errors
>> that
>> were leading to the calculation of a negative square root. One such  
>> error then
>> contaminated the rest of the process. I put a check that fixes it.
>>
>> However, I am surprised by the relative large differences in the  
>> outputs of
>> pitchamdf and tempest when comparing the Windows and OSX PPC versions.
>>
>> Estimated tempo on OSX is 1740 and on Windows is 1771. I think these  
>> tempest
>> differences might be caused by the rms measurement in pitchamdf.
>>
>> Victor
>>
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>> ---------------------------------------------------------------------- 
>> ---
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ----------------------------------------------------------------------- 
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 14:23
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] tempest fix
Thanks so much for fixing this victor!

Richard

On May 3, 2007, at 7:07 AM, Victor Lazzarini wrote:

> I've put together a more sane test CSD and the differences reported
> below are minimal. I am satisfied that tempest is working well again
> on OSX.
>
> Here are the results:
>
> OSX:
>
> krms  = 0.000000        ktempo = 0.000000
> krms  = 21.052025       ktempo = 0.000000
> krms  = 21.046053       ktempo = 61.066513
> krms  = 21.040081       ktempo = 61.218304
> krms  = 21.034109       ktempo = 60.603031
> krms  = 21.028137       ktempo = 60.300011
> krms  = 21.022165       ktempo = 60.149632
> krms  = 21.016193       ktempo = 60.074722
> krms  = 21.010221       ktempo = 60.037338
> krms  = 21.004250       ktempo = 60.018665
> krms  = 20.998280       ktempo = 60.009331
>
> Windows:
>
> krms  = 0.000000        ktempo = 0.000000
> krms  = 20.812494       ktempo = 0.000000
> krms  = 20.808422       ktempo = 60.814003
> krms  = 20.804342       ktempo = 61.399055
> krms  = 20.800253       ktempo = 60.667290
> krms  = 20.796156       ktempo = 60.278011
> krms  = 20.792048       ktempo = 60.298264
> krms  = 20.787931       ktempo = 60.300056
> krms  = 20.783806       ktempo = 60.254429
> krms  = 20.779673       ktempo = 60.254429
>
> and here is the test CSD:
>
> 
> 
> -odac -d -m0
> 
> 
>    sr        =  48000
>    ksmps     =  16
>    nchnls    =  1
>
>    gistmd    ftgen     1, 0, 128, 16, 1, 128, 1
>    gisin     ftgen     2, 0, 16384, 10, 1
>
>      instr   1
>    kphs      phasor    -1
>    a1        oscili    kphs*10000, 200, gisin
>    kcps, krms   pitchamdf  a1, 150, 500, 200
>    ktempo    tempest   krms, .02, .1, 3, 2, 800, .005, 8, 60, gistmd
>                out       a1
>              printks   "krms  = %f\tktempo = %f\n", 1, krms, ktempo
>
>          endin
>
>
> 
> 
> i1 0 10
> e
> 
> 
>
>
> At 11:29 03/05/2007, you wrote:
>> I have committed a fix to tempest to remove the NaN errors on OSX.
>> These were caused by what I can only describe as numerical  
>> rounding errors
>> that
>> were leading to the calculation of a negative square root. One  
>> such error then
>> contaminated the rest of the process. I put a check that fixes it.
>>
>> However, I am surprised by the relative large differences in the  
>> outputs of
>> pitchamdf and tempest when comparing the Windows and OSX PPC  
>> versions.
>>
>> Estimated tempo on OSX is 1740 and on Windows is 1771. I think  
>> these tempest
>> differences might be caused by the rms measurement in pitchamdf.
>>
>> Victor
>>
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-03 16:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] Python problem
I fixed SConstruct so that the Python module now builds on Linux.

Victor

At 07:54 03/05/2007, you wrote:
>I can fix the missing FALSE declarations, but this one is beyond me.
>Where do I look?
>(Linux, OpenSuSE 10.2 on 32 bit)
>
>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared 
>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib 
>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 
>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
>cannot find -lcsnd
>collect2: ld returned 1 exit status
>scons: *** [lib_csnd.pyd] Error 1
>scons: building terminated because of errors.
>make: *** [all] Error 2
>
>==John ffitch
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-04 11:57
FromJonathan Murphy
SubjectRe: [Cs-dev] Python problem
On linux 2.6.19.1-rt15, gcc 3.4.3 ...

I have installed Python 2.5, rebuilt and installed scons and swig, and
am able to build but not install. The following line:

scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m buildLoris=0 buildDSSI=0 buildInterfaces=1 install

fails with:

scons: *** Do not know how to make target `install'.  Stop.
scons: building terminated because of errors.

J.

Victor Lazzarini  writes:

> I fixed SConstruct so that the Python module now builds on Linux.
>
> Victor
>
> At 07:54 03/05/2007, you wrote:
>>I can fix the missing FALSE declarations, but this one is beyond me.
>>Where do I look?
>>(Linux, OpenSuSE 10.2 on 32 bit)
>>
>>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared 
>>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib 
>>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 
>>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
>>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
>>cannot find -lcsnd
>>collect2: ld returned 1 exit status
>>scons: *** [lib_csnd.pyd] Error 1
>>scons: building terminated because of errors.
>>make: *** [all] Error 2
>>
>>==John ffitch
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by DB2 Express
>>Download DB2 Express C - the FREE version of DB2 express and take
>>control of your XML. No limits. Just data. Click to get it now.
>>http://sourceforge.net/powerbar/db2/
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-04 12:06
FromJonathan Murphy
SubjectRe: [Cs-dev] Python problem - scons install=1 now needed
Changed the command to:

scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m buildLoris=0 buildDSSI=0 buildInterfaces=1 install=1 install

and everything is fine. Never needed the "install" flag before, wondered
what it was about.

J.

Jonathan Murphy  writes:

> On linux 2.6.19.1-rt15, gcc 3.4.3 ...
>
> I have installed Python 2.5, rebuilt and installed scons and swig, and
> am able to build but not install. The following line:
>
> scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m buildLoris=0 buildDSSI=0 buildInterfaces=1 install
>
> fails with:
>
> scons: *** Do not know how to make target `install'.  Stop.
> scons: building terminated because of errors.
>
> J.
>
> Victor Lazzarini  writes:
>
>> I fixed SConstruct so that the Python module now builds on Linux.
>>
>> Victor
>>
>> At 07:54 03/05/2007, you wrote:
>>>I can fix the missing FALSE declarations, but this one is beyond me.
>>>Where do I look?
>>>(Linux, OpenSuSE 10.2 on 32 bit)
>>>
>>>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared 
>>>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib 
>>>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 
>>>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
>>>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
>>>cannot find -lcsnd
>>>collect2: ld returned 1 exit status
>>>scons: *** [lib_csnd.pyd] Error 1
>>>scons: building terminated because of errors.
>>>make: *** [all] Error 2
>>>
>>>==John ffitch
>>>
>>>-------------------------------------------------------------------------
>>>This SF.net email is sponsored by DB2 Express
>>>Download DB2 Express C - the FREE version of DB2 express and take
>>>control of your XML. No limits. Just data. Click to get it now.
>>>http://sourceforge.net/powerbar/db2/
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-04 12:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] Python problem - scons install=1 now needed
It might be because it was set to 1 by default. I changed it back to 0, as
it should be, because it was messing my linux build. Install should always
be default.

Victor

At 12:06 04/05/2007, you wrote:
>Changed the command to:
>
>scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m 
>buildLoris=0 buildDSSI=0 buildInterfaces=1 install=1 install
>
>and everything is fine. Never needed the "install" flag before, wondered
>what it was about.
>
>J.
>
>Jonathan Murphy  writes:
>
> > On linux 2.6.19.1-rt15, gcc 3.4.3 ...
> >
> > I have installed Python 2.5, rebuilt and installed scons and swig, and
> > am able to build but not install. The following line:
> >
> > scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m 
> buildLoris=0 buildDSSI=0 buildInterfaces=1 install
> >
> > fails with:
> >
> > scons: *** Do not know how to make target `install'.  Stop.
> > scons: building terminated because of errors.
> >
> > J.
> >
> > Victor Lazzarini  writes:
> >
> >> I fixed SConstruct so that the Python module now builds on Linux.
> >>
> >> Victor
> >>
> >> At 07:54 03/05/2007, you wrote:
> >>>I can fix the missing FALSE declarations, but this one is beyond me.
> >>>Where do I look?
> >>>(Linux, OpenSuSE 10.2 on 32 bit)
> >>>
> >>>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared
> >>>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib
> >>>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5
> >>>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
> >>>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
> >>>cannot find -lcsnd
> >>>collect2: ld returned 1 exit status
> >>>scons: *** [lib_csnd.pyd] Error 1
> >>>scons: building terminated because of errors.
> >>>make: *** [all] Error 2
> >>>
> >>>==John ffitch
> >>>
> >>>-------------------------------------------------------------------------
> >>>This SF.net email is sponsored by DB2 Express
> >>>Download DB2 Express C - the FREE version of DB2 express and take
> >>>control of your XML. No limits. Just data. Click to get it now.
> >>>http://sourceforge.net/powerbar/db2/
> >>>_______________________________________________
> >>>Csound-devel mailing list
> >>>Csound-devel@lists.sourceforge.net
> >>>https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >> Victor Lazzarini
> >> Music Technology Laboratory
> >> Music Department
> >> National University of Ireland, Maynooth
> >>
> >>
> >> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net