Hi monks,

In order to learn Python (to compare against Perl) I wrote a nifty scientific calculator with tkinter widgets (modeled after my Sharp; lacks only calculus functions and converters; TODOs). I then attempted to install Perl Tk, Tk-804.036, with cpanm into my private perlbrew perl 5.30.2, to port the calculator to Perl/Tk and bummer, my compilation segmentation faults. My machine is Apple laptop running macOS 10.13.6 with clang Apple LLVM version 10.0.0 (clang-1000.10.44.4). The build log (man, so many C warnings, mostly pointer type mismatches and faulty casts, :-( ) proclaims:

"/Users/carly/perl5/perlbrew/perls/perl-5.30.2/bin/perl" "-I../t" "-MT +kTest" "-e" "checked_test_harness('../xt', 0, '../blib/lib', '../blib +/arch')" t/*.t make[1]: *** [test_dynamic] Segmentation fault: 11 make: *** [subdirs-test_dynamic] Error 2 -> FAIL Installing Tk failed.

Any suggestions, and thanks in advance?


In reply to Tk-804.036 build failure by perlboy_emeritus

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.