I most humbly beg your pardons, Monks, for the delay in my reply. I did not think there would be more in this thread after I stated I had filed a bug report, so did not look here for several days. Then I had to get past the hopeless feeling I was out of my depth. Then I did this: in the Makefile in the pTk directory, I changed this line CCCDLFLAGS = -fPIC to this: CCCDLFLAGS = -fPIC -DNeedWidePrototypes=1. (I readily admit I do not know if this was correct perl Monk{hv}'s suggestion.) In the event, however, I got quite a ways further! I am now getting this error in compiling the tkCanvText.c file (with a few preceding lines for context):
cc -c -I.. -I. -Ibitmaps -fwrapv -fno-strict-aliasing -pipe -fsta +ck-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_ +OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"804.036\" -DXS_V +ERSION=\"804.036\" -fPIC -DNeedWidePrototypes=1 "-I/home/giz/perl5/pe +rlbrew/perls/perl-5.40.0/lib/5.40.0/x86_64-linux/CORE" tkCanvPs.c cc -c -I.. -I. -Ibitmaps -fwrapv -fno-strict-aliasing -pipe -fstack +-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OF +FSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"804.036\" -DXS_VER +SION=\"804.036\" -fPIC -DNeedWidePrototypes=1 "-I/home/giz/perl5/perl +brew/perls/perl-5.40.0/lib/5.40.0/x86_64-linux/CORE" tkCanvText.c tkCanvText.c: In function ‘GetTextIndex’: tkCanvText.c:1253:40: error: passing argument 2 of ‘TcldeclsVptr->V_Tc +l_GetStringFromObj’ from incompatible pointer type [-Wincompatible-po +inter-types] 1253 | string = Tcl_GetStringFromObj(obj, &length); | ^~~~~~~ | | | size_t * {aka long unsi +gned int *} tkCanvText.c:1253:40: note: expected ‘int *’ but argument is of type ‘ +size_t *’ {aka ‘long unsigned int *’} make[1]: *** [Makefile:865: tkCanvText.o] Error 1 make[1]: Leaving directory '/home/giz/.cpanm/work/1719011242.11417/Tk- +804.036/pTk' make: *** [Makefile:1658: pTk/libpTk.a] Error 2 [giz@daisy Tk-804.036$
If everybody hasn't lost patience with me and has further suggestions, I should be very appreciative. --Bob

In reply to Re^6: Tk install failing by ckmate-king-2
in thread Tk install failing by ckmate-king-2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.