[CWB] compilation fails for 3.4.12

Jörg Tiedemann Jorg.Tiedemann at lingfil.uu.se
Fri Nov 3 11:57:38 CET 2017


OK - thanks. This seems to work.

All the best,
Jörg

**********************************************************************************************
Jörg Tiedemann
Department of Modern Languages        http://blogs.helsinki.fi/tiedeman/
University of Helsinki                             http://blogs.helsinki.fi/language-technology/



On 03 Nov 2017, at 08:46, Stefan Evert <stefanML at collocations.de<mailto:stefanML at collocations.de>> wrote:


On 3 Nov 2017, at 07:09, Jörg Tiedemann <jorg.tiedemann at lingfil.uu.se<mailto:jorg.tiedemann at lingfil.uu.se>> wrote:

I’m not root at the machine and I don’t want to mess around too much with local lib-files.
The funny thing is that CWB compiled on the same machine without problems before. I wonder if that is an update on the machine or in CWB that causes the difference now …

Hm, it looks like this functionality was factored out from libncurses into libtinfo on recent Linux distros.  Jörg, can you try whether things work if you also link against -ltinfo when compiling CQP?  You can edit the TERMCAP_LIBS line in config/platform/unix:

TERMCAP_LIBS = -lncurses -ltinfo

or override it whatever linux configuration file you've specified in config.mk.


Backstory: CQP used to link against libtermcap (which complemented the libcurses). But then stupid Linux stopped supporting the old libraries in favour of the new libncurses, which provided both functionalities, so we had to link against -lncurses even though CQP doesn't need any of the curses stuff. Not stupid Linux suddenly breaks things up into libncurses and libtinfo, while e.g. my Mac only has libncurses …


Andrew: We should probably get the correct ncurses flags from pkg-config on Linux, in the same way as for Glib2.  But _not_ as the global default in config/platform/unix because e.g. MacOS doesn't use pkg-config.


Best,
Stefan
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20171103/cfe0b9a2/attachment.html>


More information about the CWB mailing list