Open LAC-Tech opened 3 years ago
The reporter says curses
but this is actually an issue with conf-ncurses
, which is depended on by several opam packages.
The actual problem here is some distributions provide hacks so that you can either pkg-config ncurses
or pkg-config ncursesw
. But at least one, Void Linux, does not, so it fails and they consider this a feature not a bug.
So. I've never heard of Void Linux and perhaps I never will again after this. This does bring up an interesting question though: what do we do for depexts if two libraries provide equivalent functionality under different names and we're not sure which one will be available?
When installing curses, it does a pkg-config for
ncurses
. However, on some system what we really want to look for isncursesw
.IE, the following would work if it did
pkg-config ncursesw
afterpkg-config ncurses
fails.