in reply to Re: Tk on Arch on Essentially Garbage Equipment
in thread Tk on Arch on Essentially Garbage Equipment

FWIW, I have just compiled Tk with the clang compiler.

Fair enough, Tk seems a bit "sick" and it needs some "fixing". However, clang's warnings about mismatched pointer types or whether size_t does not fit in int are not fatal, as is the case with the newer gcc.

You still need to apply some of the hacks in my above reply: #4, #6, #7 and #11. The first one is oversight by the authors (including a function which is now deprecated). The next two: it is best to declare the type of the function parameters explicitly rather than having the compiler using default integer. The last one is a mystery to me, I guess it is easily fixable by a Tk configuration setting, it has nothing to do with the compiler.

You also need to modify Makefile.PL to replace the one occurence of gcc with clang

TLDR: it is not that your hardware is old, I guess Tk will fail to install in any Linux with gcc compiler with version 14 or newer. Even with clang it will fail. I am curious to know if gcc's analness hit other Perl packages.

bw, bliako