[PD] recompiling pd tk error?

Pat Pagano bigswift at ufl.edu
Tue Apr 12 17:42:58 CEST 2005


hi

trying to re-compile pd i get a tk error?
OSX 10.3

it says it's here
/Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h

but the configure script does not find it and i get:
i would like to build it properly, but it seems i have been shamefully 
getting by with binaries :-0


t_tkcmd.c:6:16: tk.h: No such file or directory
t_tkcmd.c:54: error: parse error before '*' token
t_tkcmd.c:54: warning: type defaults to `int' in declaration of 
`tk_pdinterp'
t_tkcmd.c:54: warning: data definition has no type or storage class
t_tkcmd.c:111: error: parse error before "cd"
t_tkcmd.c:112: warning: function declaration isn't a prototype
t_tkcmd.c: In function `pdgui_connecttosocket':
t_tkcmd.c:302: warning: implicit declaration of function 
`Tk_CreateFileHandler'
t_tkcmd.c:302: error: `TK_READABLE' undeclared (first use in this 
function)
t_tkcmd.c:302: error: (Each undeclared identifier is reported only once
t_tkcmd.c:302: error: for each function it appears in.)
t_tkcmd.c:302: error: `TK_EXCEPTION' undeclared (first use in this 
function)
t_tkcmd.c: In function `pd_startfromgui':
t_tkcmd.c:337: warning: implicit declaration of function `Tcl_GetVar'
t_tkcmd.c:337: warning: assignment makes pointer from integer without a 
cast
t_tkcmd.c:448: error: `TK_READABLE' undeclared (first use in this 
function)
t_tkcmd.c:448: error: `TK_EXCEPTION' undeclared (first use in this 
function)
t_tkcmd.c: At top level:
t_tkcmd.c:481: error: parse error before "cd"
t_tkcmd.c:482: warning: function declaration isn't a prototype
t_tkcmd.c: In function `pdCmd':
t_tkcmd.c:483: error: `argc' undeclared (first use in this function)
t_tkcmd.c:485: error: `argv' undeclared (first use in this function)
t_tkcmd.c:501: error: `interp' undeclared (first use in this function)
t_tkcmd.c:502: error: `TCL_ERROR' undeclared (first use in this 
function)
t_tkcmd.c:513: error: `TCL_OK' undeclared (first use in this function)
t_tkcmd.c: In function `tcl_mess':
t_tkcmd.c:521: warning: implicit declaration of function `Tcl_Eval'
t_tkcmd.c:522: error: `TCL_OK' undeclared (first use in this function)
t_tkcmd.c:524: error: request for member `result' in something not a 
structure or union
t_tkcmd.c:524: error: request for member `result' in something not a 
structure or union
t_tkcmd.c: At top level:
t_tkcmd.c:555: error: parse error before '*' token
t_tkcmd.c:556: warning: function declaration isn't a prototype
t_tkcmd.c: In function `pdgui_startup':
t_tkcmd.c:558: error: `interp' undeclared (first use in this function)
t_tkcmd.c:561: warning: implicit declaration of function 
`Tcl_CreateCommand'
t_tkcmd.c:561: error: `Tcl_CmdProc' undeclared (first use in this 
function)
t_tkcmd.c:561: error: parse error before ')' token
t_tkcmd.c: At top level:
t_tkcmd.c:598: error: parse error before '*' token
t_tkcmd.c:599: warning: function declaration isn't a prototype
t_tkcmd.c: In function `Pdtcl_Init':
t_tkcmd.c:600: error: `interp' undeclared (first use in this function)
t_tkcmd.c:600: warning: initialization makes pointer from integer 
without a cast
t_tkcmd.c:608: error: `TCL_OK' undeclared (first use in this function)
make: *** [t_tkcmd.o] Error 1

On Apr 12, 2005, at 9:25 AM, james tittle wrote:

> On Apr 12, 2005, at 9:15 AM, Patrick Pagano wrote:
>
>> how do i properly apply this patch james?
>> i have not done this for pd yet :-)
>
> ...place the patch in the the src directory and then go to terminal, 
> change into the pd/src dir, and type "patch -p0 < 
> nameofthepatch"...not that the -p0 is a zero...alternatively, you 
> could just copy paste it from the patch to s_loader.c:  it's just a 
> few lines of code and should be fairly obvious...then recompile pd and 
> your good to go!
>
> james
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>





More information about the Pd-list mailing list