[PD] Building pd-l2ork on arch linux 64

Ivica Ico Bukvic ico at vt.edu
Sat Jan 19 17:18:39 CET 2013


Can you try the following:

Replace the code inside t_tkcmd.c line 585:

         printf("error in file %s line %d: %s\n", buf, 
interp->errorLine, Tcl_GetStringResult(interp));

with:

         const char *trace = Tcl_GetVar(interp, "errorInfo", 
TCL_GLOBAL_ONLY);
         printf("error in file %s: %s\n", buf, trace);

Then, can you test if it all works ok and report? Thanks!

On 01/19/2013 11:00 AM, Ivica Ico Bukvic wrote:
> Quick "fix" is to comment the line 585 by putting // in front of it. 
> The right way would be to figure out what changed betweeen 8.5 and 8.6 
> to prevent this from working--since I am not using 8.6 I cannot tell 
> for sure. What you can look for is documentation on Tcl_EvalFile call 
> and more specifically its first argument (in the code we call that 
> interp and get the interp->errorLine member which is apparently 
> causing problems). Commenting this out should not have any negative 
> impact on pd. This only provides a user-readable error if something in 
> tcl/tk croaks at start-up...
>
> HTH
>
> On 01/19/2013 08:08 AM, Fero Kiraly wrote:
>> the problem is with he new version of Tcl/Tk 8.6.
>> When I made some little changes about version numbers in pd/Makefile, 
>> the error is :
>>
>> t_tkcmd.c:589:55: error: 'Tcl_Interp' has no member named 'errorLine'
>>
>>
>> I tried to google, but with no effect. I am totally lost how to solve 
>> this problem...
>>
>> -- 
>> Fero Kiraly
>> www.cluster-ensemble.com <http://www.cluster-ensemble.com>
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at  mailing list
>> UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
>
>
> -- 
> Ivica Ico Bukvic, D.M.A
> Composition, Music Technology
> Director, DISIS Interactive Sound & Intermedia Studio
> Director, L2Ork Linux Laptop Orchestra
> Head, ICAT IMPACT Studio
> Virginia Tech
> Department of Music
> Blacksburg, VA 24061-0240
> (540) 231-6139
> (540) 231-5034 (fax)
> disis.music.vt.edu
> l2ork.music.vt.edu
> ico.bukvic.net


-- 
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound & Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130119/b17828ef/attachment.htm>


More information about the Pd-list mailing list