perl and tk

Denis Buffenoir Denis.Buffenoir at inria.fr
Thu Mar 20 02:44:37 PDT 2008


Hi
I just install MacPorts-1.6.0-10.5-Leopard on Leopard version 10.5.2.
I wanted to use perltk, I for that I do (perhaps that I'm wrong):

port install perl5.10
port install p5-tk

for perl5.10, everything is fine, but when I try to install p5-tk, I  
get an error (see bellow)

thanks for your help
Denis
------------------------------

Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_perl_p5-tk/work/Tk-804.027" && make all "  
returned error 2
Command output: tkGlue.c: In function 'PushObjCallbackArgs':
tkGlue.c:1625: warning: unknown conversion type character '_' in format
tkGlue.c:1625: warning: too many arguments for format
tkGlue.c:1649: warning: unknown conversion type character '_' in format
tkGlue.c:1649: warning: too many arguments for format
tkGlue.c:1673: warning: unknown conversion type character '_' in format
tkGlue.c:1673: warning: too many arguments for format
tkGlue.c:1732: warning: format '%ld' expects type 'long int', but  
argument 2 has type 'unsigned int'
tkGlue.c: In function 'Lang_TaintCheck':
tkGlue.c:2151: warning: unknown conversion type character '_' in format
tkGlue.c:2151: warning: too many arguments for format
tkGlue.c: In function 'do_comp':
tkGlue.c:5237: error: 'PMOP' has no member named 'op_pmdynflags'
tkGlue.c:5237: error: 'PMdf_DYN_UTF8' undeclared (first use in this  
function)
tkGlue.c:5237: error: (Each undeclared identifier is reported only once
tkGlue.c:5237: error: for each function it appears in.)
tkGlue.c:5238: warning: passing argument 1 of 'Perl_pregcomp' from  
incompatible pointer type
tkGlue.c:5238: warning: passing argument 2 of 'Perl_pregcomp' makes  
integer from pointer without a cast
tkGlue.c:5238: error: too many arguments to function 'Perl_pregcomp'
tkGlue.c: In function 'Tcl_RegExpRange':
tkGlue.c:5360: error: 'struct regexp' has no member named 'startp'
tkGlue.c:5360: error: 'struct regexp' has no member named 'endp'
tkGlue.c:5362: error: 'struct regexp' has no member named 'startp'
tkGlue.c:5363: error: 'struct regexp' has no member named 'endp'
tkGlue.c: In function 'install_vtab':
tkGlue.c:5459: warning: format '%d' expects type 'int', but argument 3  
has type 'size_t'
tkGlue.c: In function 'Boot_Glue':
tkGlue.c:5493: warning: initialization from incompatible pointer type
tkGlue.c:5501: warning: assignment from incompatible pointer type
make: *** [tkGlue.o] Error 1

Error: Status 1 encountered during processing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/91e2df31/attachment-0001.html 


More information about the macports-users mailing list