On Fri, Jul 04, 2025 at 12:57:10PM +0000, Kirill Makurin wrote:
> Hi Thomas,
> 
> I tried building ncurses-6.5-20250628 and can confirm that build error with
> clang-cl has been fixed.
> 
> Speaking of terminfo database.  If building from Msys2 environment and have
> ncurses installed, one can use --host={i386|x86_64}-w64-mingw32 so that
> installed tools required to compile terminfo database are found by configure
> script.

I'll take a look at that (actually it seems that would assume that
AC_PATH_TOOL gives a native tool, which doesn't appear consistent)
> 
> When building from Cygwin environment, `make install` seems to simply copy
> existing terminfo database.  One issue here is that it will copy Cygwin's
> symbolic links which cannot be read by native Windows APIs.
 
that's not simple to solve in ncurses, because it's the host system's
tic/infocmp.  In a quick check, I see that cygwin does support hard links,
but for whatever reason, the packager chose to use symbolic links.

You can work around it by copying with a tool that doesn't use the
symbolic links (zip for example, or the cp program has the -L option)

> Also, having libdir/terminfo on native Windows seems redundant.  Recall that
> `ln -s` in Msys2 is equivalent to `cp -Rp`, so we end up having two copies of
> the terminfo database in prefix.

That should be configurable (making a note...)
 
> - Kirill Makurin

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to