Csound Csound-dev Csound-tekno Search About

[Cs-dev] Building tclcsound

Date2006-02-16 17:33
FromAndres Cabrera
Subject[Cs-dev] Building tclcsound
Hi,
I'm using the following line to build csound, but tclcsound isn't built,
though scons finishes succesfully and csound is built. What am I
missing?
scons useOSC=1 pythonVersion=2.4 useOldPortAudioPlugin=0
buildJavaWrapper=0 buildStkOpcodes=1 buildInterfaces=1 buildTclcsound=1
buildPythonOpcodes=1 buildPDclass=1 install

Thanks,
Andres




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-16 18:10
FromIstvan Varga
SubjectRe: [Cs-dev] Building tclcsound
AttachmentsNone  

Date2006-02-17 00:35
FromAndres Cabrera
SubjectRe: [Cs-dev] Building tclcsound
Thanks Istvan,
Scons reports:
Checking for C header file m_pd.h... yes
Checking for C header file tcl.h... yes

and later:
CONFIGURATION DECISION: Building Tclcsound frontend

also:
$ locate libtcl8.4
/usr/lib/libtcl8.4.so
$ locate libtk8.4
/usr/lib/libtk8.4.so

But still no tclcsound binary...

I tried running the cleanup.sh script, but now the build fails with:
scons: *** Source `csnd.py' not found, needed by target
`/usr/local/lib/csnd.py'.  Stop.

If I set 
buildInterfaces=0
the build finishes succesfully but still no tclcsound... I know I've
seen it on my machine, but I can't get it to build now...

Any help very appreciated.
Andres


On Thu, 2006-02-16 at 19:10 +0100, Istvan Varga wrote:
> On Thursday 16 February 2006 18:33, Andres Cabrera wrote:
> 
> > I'm using the following line to build csound, but tclcsound isn't built,
> > though scons finishes succesfully and csound is built. What am I
> > missing?
> 
> Make sure that you have Tcl and Tk installed, as well as the devel packages
> for these. In particular, tcl.h should be found by SCons for TclCsound to be
> actually built. Also, the libraries libtcl8.4.so and libtk8.4.so should exist
> - if that is not the case, edit SConstruct or create symbolic links.
> 
> > useOldPortAudioPlugin=0
> 
> By the way, this option is no longer available.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-17 09:26
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building tclcsound
when you build Tclcsound, you should get three things: cstclsh, cswish and
tclcsound.so. These, if you don't do a 'install' will be in the top-level 
build directory.
Perhaps the install bit is not copying these to the right places?

Also check that Scons prints out that is compiling commands.c, tclcsound.c,
main_wish.c and main_tclsh.c. Looking at Sconstruct, once it prints the
message below, it should proceed to compile and link the Tclcsound targets.

Victor

At 00:35 17/02/2006, Andres Cabrera wrote:
>Thanks Istvan,
>Scons reports:
>Checking for C header file m_pd.h... yes
>Checking for C header file tcl.h... yes
>
>and later:
>CONFIGURATION DECISION: Building Tclcsound frontend
>
>also:
>$ locate libtcl8.4
>/usr/lib/libtcl8.4.so
>$ locate libtk8.4
>/usr/lib/libtk8.4.so
>
>But still no tclcsound binary...
>
>I tried running the cleanup.sh script, but now the build fails with:
>scons: *** Source `csnd.py' not found, needed by target
>`/usr/local/lib/csnd.py'.  Stop.
>
>If I set
>buildInterfaces=0
>the build finishes succesfully but still no tclcsound... I know I've
>seen it on my machine, but I can't get it to build now...
>
>Any help very appreciated.
>Andres
>
>
>On Thu, 2006-02-16 at 19:10 +0100, Istvan Varga wrote:
> > On Thursday 16 February 2006 18:33, Andres Cabrera wrote:
> >
> > > I'm using the following line to build csound, but tclcsound isn't built,
> > > though scons finishes succesfully and csound is built. What am I
> > > missing?
> >
> > Make sure that you have Tcl and Tk installed, as well as the devel packages
> > for these. In particular, tcl.h should be found by SCons for TclCsound 
> to be
> > actually built. Also, the libraries libtcl8.4.so and libtk8.4.so should 
> exist
> > - if that is not the case, edit SConstruct or create symbolic links.
> >
> > > useOldPortAudioPlugin=0
> >
> > By the way, this option is no longer available.
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-17 15:02
FromDavid Akbari
SubjectRe: [Cs-dev] Building tclcsound
Also, even though SConstruct does not check for it, you also need the  
tk.h header file (in addition to tcl.h which SConstruct *does* check  
for) which is a part of the Tk-dev package.


-David

On Feb 17, 2006, at 4:26 AM, Victor Lazzarini wrote:

> when you build Tclcsound, you should get three things: cstclsh, cswish  
> and
> tclcsound.so. These, if you don't do a 'install' will be in the  
> top-level build directory.
> Perhaps the install bit is not copying these to the right places?
>
> Also check that Scons prints out that is compiling commands.c,  
> tclcsound.c,
> main_wish.c and main_tclsh.c. Looking at Sconstruct, once it prints the
> message below, it should proceed to compile and link the Tclcsound  
> targets.
>
> Victor
>
> At 00:35 17/02/2006, Andres Cabrera wrote:
>> Thanks Istvan,
>> Scons reports:
>> Checking for C header file m_pd.h... yes
>> Checking for C header file tcl.h... yes
>>
>> and later:
>> CONFIGURATION DECISION: Building Tclcsound frontend
>>
>> also:
>> $ locate libtcl8.4
>> /usr/lib/libtcl8.4.so
>> $ locate libtk8.4
>> /usr/lib/libtk8.4.so
>>
>> But still no tclcsound binary...
>>
>> I tried running the cleanup.sh script, but now the build fails with:
>> scons: *** Source `csnd.py' not found, needed by target
>> `/usr/local/lib/csnd.py'.  Stop.
>>
>> If I set
>> buildInterfaces=0
>> the build finishes succesfully but still no tclcsound... I know I've
>> seen it on my machine, but I can't get it to build now...
>>
>> Any help very appreciated.
>> Andres
>>
>>
>> On Thu, 2006-02-16 at 19:10 +0100, Istvan Varga wrote:
>> > On Thursday 16 February 2006 18:33, Andres Cabrera wrote:
>> >
>> > > I'm using the following line to build csound, but tclcsound isn't  
>> built,
>> > > though scons finishes succesfully and csound is built. What am I
>> > > missing?
>> >
>> > Make sure that you have Tcl and Tk installed, as well as the devel  
>> packages
>> > for these. In particular, tcl.h should be found by SCons for  
>> TclCsound to be
>> > actually built. Also, the libraries libtcl8.4.so and libtk8.4.so  
>> should exist
>> > - if that is not the case, edit SConstruct or create symbolic links.
>> >
>> > > useOldPortAudioPlugin=0
>> >
>> > By the way, this option is no longer available.
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.net email is sponsored by: Splunk Inc. Do you grep through  
>> log files
>> > for problems?  Stop!  Download the new AJAX search engine that makes
>> > searching your log files as easy as surfing the  web.  DOWNLOAD  
>> SPLUNK!
>> >  
>> http://sel.as-us.falkag.net/sel? 
>> cmd=lnk&kid=103432&bid=230486&dat=121642
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through  
>> log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD  
>> SPLUNK!
>> http://sel.as-us.falkag.net/sel? 
>> cmd=lnk&kid=103432&bid=230486&dat=121642
>> _______________________________________________
>> 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: Splunk Inc. Do you grep through log  
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-17 15:26
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building tclcsound
yes, I should add that check as well...

At 15:02 17/02/2006, you wrote:
>Also, even though SConstruct does not check for it, you also need the
>tk.h header file (in addition to tcl.h which SConstruct *does* check
>for) which is a part of the Tk-dev package.
>
>
>-David
>
>On Feb 17, 2006, at 4:26 AM, Victor Lazzarini wrote:
>
>>when you build Tclcsound, you should get three things: cstclsh, cswish
>>and
>>tclcsound.so. These, if you don't do a 'install' will be in the
>>top-level build directory.
>>Perhaps the install bit is not copying these to the right places?
>>
>>Also check that Scons prints out that is compiling commands.c,
>>tclcsound.c,
>>main_wish.c and main_tclsh.c. Looking at Sconstruct, once it prints the
>>message below, it should proceed to compile and link the Tclcsound
>>targets.
>>
>>Victor
>>
>>At 00:35 17/02/2006, Andres Cabrera wrote:
>>>Thanks Istvan,
>>>Scons reports:
>>>Checking for C header file m_pd.h... yes
>>>Checking for C header file tcl.h... yes
>>>
>>>and later:
>>>CONFIGURATION DECISION: Building Tclcsound frontend
>>>
>>>also:
>>>$ locate libtcl8.4
>>>/usr/lib/libtcl8.4.so
>>>$ locate libtk8.4
>>>/usr/lib/libtk8.4.so
>>>
>>>But still no tclcsound binary...
>>>
>>>I tried running the cleanup.sh script, but now the build fails with:
>>>scons: *** Source `csnd.py' not found, needed by target
>>>`/usr/local/lib/csnd.py'.  Stop.
>>>
>>>If I set
>>>buildInterfaces=0
>>>the build finishes succesfully but still no tclcsound... I know I've
>>>seen it on my machine, but I can't get it to build now...
>>>
>>>Any help very appreciated.
>>>Andres
>>>
>>>
>>>On Thu, 2006-02-16 at 19:10 +0100, Istvan Varga wrote:
>>> > On Thursday 16 February 2006 18:33, Andres Cabrera wrote:
>>> >
>>> > > I'm using the following line to build csound, but tclcsound isn't
>>>built,
>>> > > though scons finishes succesfully and csound is built. What am I
>>> > > missing?
>>> >
>>> > Make sure that you have Tcl and Tk installed, as well as the devel
>>>packages
>>> > for these. In particular, tcl.h should be found by SCons for
>>>TclCsound to be
>>> > actually built. Also, the libraries libtcl8.4.so and libtk8.4.so
>>>should exist
>>> > - if that is not the case, edit SConstruct or create symbolic links.
>>> >
>>> > > useOldPortAudioPlugin=0
>>> >
>>> > By the way, this option is no longer available.
>>> >
>>> >
>>> > -------------------------------------------------------
>>> > This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>>log files
>>> > for problems?  Stop!  Download the new AJAX search engine that makes
>>> > searching your log files as easy as surfing the  web.  DOWNLOAD
>>>SPLUNK!
>>> >
>>>http://sel.as-us.falkag.net/sel? cmd=lnk&kid=103432&bid=230486&dat=121642
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> >
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>>log files
>>>for problems?  Stop!  Download the new AJAX search engine that makes
>>>searching your log files as easy as surfing the  web.  DOWNLOAD
>>>SPLUNK!
>>>http://sel.as-us.falkag.net/sel? cmd=lnk&kid=103432&bid=230486&dat=121642
>>>_______________________________________________
>>>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: Splunk Inc. Do you grep through log
>>files
>>for problems?  Stop!  Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>http://sel.as-us.falkag.net/sel? cmd=lnk&kid=103432&bid=230486&dat=121642
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-17 21:23
FromAndres Cabrera
SubjectRe: [Cs-dev] Building tclcsound
Thanks Victor and David,
I did a clean build, but it seems none of the files you mention are
being built. I have checked the frontends/tclcsound directory, but apart
from the sources there are no built objects. The same happens for
csoundapi_tilde.
I have also checke and I have tk-devel installed and tk.h is
in /usr/include/tk.h
Any ideas?

Andrés

On Fri, 2006-02-17 at 09:26 +0000, Victor Lazzarini wrote:
> when you build Tclcsound, you should get three things: cstclsh, cswish and
> tclcsound.so. These, if you don't do a 'install' will be in the top-level 
> build directory.
> Perhaps the install bit is not copying these to the right places?
> 
> Also check that Scons prints out that is compiling commands.c, tclcsound.c,
> main_wish.c and main_tclsh.c. Looking at Sconstruct, once it prints the
> message below, it should proceed to compile and link the Tclcsound targets.
> 
> Victor
> 
> At 00:35 17/02/2006, Andres Cabrera wrote:
> >Thanks Istvan,
> >Scons reports:
> >Checking for C header file m_pd.h... yes
> >Checking for C header file tcl.h... yes
> >
> >and later:
> >CONFIGURATION DECISION: Building Tclcsound frontend
> >
> >also:
> >$ locate libtcl8.4
> >/usr/lib/libtcl8.4.so
> >$ locate libtk8.4
> >/usr/lib/libtk8.4.so
> >
> >But still no tclcsound binary...
> >
> >I tried running the cleanup.sh script, but now the build fails with:
> >scons: *** Source `csnd.py' not found, needed by target
> >`/usr/local/lib/csnd.py'.  Stop.
> >
> >If I set
> >buildInterfaces=0
> >the build finishes succesfully but still no tclcsound... I know I've
> >seen it on my machine, but I can't get it to build now...
> >
> >Any help very appreciated.
> >Andres
> >
> >
> >On Thu, 2006-02-16 at 19:10 +0100, Istvan Varga wrote:
> > > On Thursday 16 February 2006 18:33, Andres Cabrera wrote:
> > >
> > > > I'm using the following line to build csound, but tclcsound isn't built,
> > > > though scons finishes succesfully and csound is built. What am I
> > > > missing?
> > >
> > > Make sure that you have Tcl and Tk installed, as well as the devel packages
> > > for these. In particular, tcl.h should be found by SCons for TclCsound 
> > to be
> > > actually built. Also, the libraries libtcl8.4.so and libtk8.4.so should 
> > exist
> > > - if that is not the case, edit SConstruct or create symbolic links.
> > >
> > > > useOldPortAudioPlugin=0
> > >
> > > By the way, this option is no longer available.
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > >
> > >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> >for problems?  Stop!  Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >_______________________________________________
> >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: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net