in reply to Re: Tk install failing
in thread Tk install failing
Thank you very much, kind Monk{hv}. I have progressed, if after long delay on my part (my apologies; I was a bit daunted). The problem was in trying to compile in JPEG/jpeg/configure, lines 625-26, which was as follows:
625 #include "confdefs.h" 626 main(){return(0);}
Running that snippet with same invocation as in the error message, the crux was that it wanted s/main/int main/
I changed the snippet to 'int main', backed up to the main Tk directory, ran perl Makefile.PL there, and progressed to another error, in compiling Xlib_f.c, as follows:
Xlib.t:334:14: error: initialization of ‘KeySym (*)(Display *, unsigne +d int, int)’ {aka ‘long unsigned int (*)(Display *, unsigned int, i +nt)’} from incompatible pointer type ‘KeySym (*)(Display *, KeyCode, + int)’ {aka ‘long unsigned int (*)(Display *, unsigned char, int)’} +[-Wincompatible-pointer-types]
If your Monkness could vouchsafe another bit of wisdom about this, I would be most thankful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk install failing
by hv (Prior) on Jun 22, 2024 at 02:07 UTC | |
by ckmate-king-2 (Novice) on Jun 24, 2024 at 22:06 UTC | |
by syphilis (Archbishop) on Jun 25, 2024 at 11:36 UTC | |
by ckmate-king-2 (Novice) on Jul 05, 2024 at 22:09 UTC | |
by syphilis (Archbishop) on Jul 06, 2024 at 01:00 UTC |