Tiny Core Extensions > Extension requests
Ncursesw
andyj:
Ncursesw (on 64-bit, I haven't looked on 32-bit yet) is missing libtic.so and libtinfo.so, so it means that ncurses has to be loaded for extensions that require these. Would it be possible to get ncursesw to have these, and to have the include files NOT in a ncursesw subdirectory as this makes building mariadb 10.4 impossible and many other extensions very difficult? If the goal is to use ncursesw as the default then it should be easy to use and normal ncurses should be harder. To build a mariadb 10.4 extension I had to make my own ncursesw extension.
Juanito:
The libtic and libtinfo functions are contained in ncursesw and it seems that most recent source code looks for them there, whereas old source code looks for them in the separate libraries.
Usually you can disable the the tests for libtic/libinfo, add LIBS="-lncursesw" and the source will compile.
andyj:
Mariadb is always hard to compile, but what worked for 10.3 isn't working for 10.4. I've tried it lots of ways with lots of hacks. If there is a way to get it to compile with ncursesw includes in /usr/local/include/ncursesw I haven't found it yet. Cmake finds ncursesw with the path I give it, but it isn't being set in the Makefiles no matter which variables I set.
Juanito:
I pointed out the bug in detecting ncursesw with cmake to a developer and apparently they are working on it?
The location of the headers is not important to the final product, so if /usr/local/include/ncursesw is not found, you can symlink it to where the app is looking for the headers.
As for the location of ncursesw in the Makefiles, I guess the only option is to hack them at the moment.
andyj:
--- Quote from: Juanito on July 08, 2019, 03:42:02 AM ---The location of the headers is not important to the final product, so if /usr/local/include/ncursesw is not found, you can symlink it to where the app is looking for the headers.
--- End quote ---
I have to do this sometimes (net-snmp).
--- Quote from: Juanito on July 08, 2019, 03:42:02 AM ---As for the location of ncursesw in the Makefiles, I guess the only option is to hack them at the moment.
--- End quote ---
I have to do this too (iftop, php). Mariadb requires that I hack the locations in the source to make it compile.
It's hard to deny these have broken curses implementations when some like vim and rxvt work just fine and prove it can be done. <rant>My point being that I don't have to do this with any other library, just ncursesw. Why is this the one that I keep having to spend so much time on finding the hacks to make it work?</rant>
Navigation
[0] Message Index
[#] Next page
Go to full version