Open kq6up opened 9 months ago
You are welcome to mess with the code all you like, no warranties expressed or implied that it will work. :)
I have not tried compiling it on Arch, as almost everything I've tried doing with Arch has been painful.
You may find that if you change it back to ncurses, it still may not compile, if it can't find the functions it is looking for (that would normally be in the ncursesw library). You will have to try and see.
Lee
I tried simply using ed to ",s/ncursesw/ncurses/g" the configure macro. Same problem, but then found: https://aur.archlinux.org/packages/ncurses-git which states that it includes: "libformw.so, libmenuw.so, libncurses++w.so, libncursesw.so, libpanelw.so, ncurses", but now I am wondering if it includes the headers for build. I installed that instead of the regular package, and it still can't find the headers. I am not a programmer, so consider me in the know enough to be dangerous camp. I have been playing with Linux packet for a while, so not a n00b there, but as far as this stuff I can get in over my head fast.
The file in question is here on my system:
/usr/include/curses.h /usr/include/ncurses.h /usr/include/slcurses.h /usr/include/brltty/get_curses.h /usr/include/python3.11/py_curses.h
But I don't know how to modify the prefix of the search folders in the configure script.
-73 de Chris KQ6UP
Please note the following changes that need to be applied across the codebase:
Header File Update: All instances of #include <ncursesw/ncurses.h> should be replaced with #include <ncurses.h>.
Listener.c Modification: Add #include <time.h> at the beginning of listener.c.
Configuration Update: Replace the line related to configure with 5011.
for ac_header in arpa/inet.h fcntl.h limits.h memory.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h sys/time.h syslog.h termio.h termios.h utime.h curses.h
Header File Check: For the following headers, please ensure they are updated accordingly:
arpa/inet.h
fcntl.h
limits.h
memory.h
netdb.h
netinet/in.h
sys/ioctl.h
sys/socket.h
sys/time.h
syslog.h
termio.h
termios.h
utime.h
curses.h
the ncurses library is installed on this system, but it seems to be looking for ncursesw (wide). I found something that talks about ncursesw and Arch here, but wanted to get your input first before messing with the autoconf file:
https://bbs.archlinux.org/viewtopic.php?id=117029
Here is the error when I go to compile ax25-apps checking for ncursesw/curses.h... no configure: error: Required headers missing; aborting
Thanks, Chris KQ6UP