PLEBTracker
PLEBTracker copied to clipboard
Not support Alpine Linux
I had a problem compiling PLEBTracker
When I make, g++ (and clang) said get_wch is not defined. But I can use gcc to call get_wch
It seem like NCURSES_WIDECHAR flag is disabled by default in C++ compilation. I made the compilation suceed by using -DNCURSES_WIDECHAR. But when I started plebtrk and tried editting the pattern I got a SegFault
My system is Alpine Linux 3.22 (musl), and I got the ncurses-dev, ncurses, libncurses++ and libncursesw from apk. I tried -lncurses -lncursesw (these make SegFault) lncurses++ -lncurses++w (these don't have the same api as ncurses and can't be linked with your code)
What can I do with it? Can you give a version without get_wch or tell me how to make my ncursesw work?