[CWB] -fPIC on docker on Mac

Maarten Janssen maartenpt at gmail.com
Thu Feb 23 20:55:26 CET 2023


I just made a dockerized version of TEITOK, allowing users to run the entire TEITOK system locally on an Apache server inside a dockerized Linux system. The installer in that Docker set-up installs CWB from SVN, but there is a problem in the installer, which does not seem to like Ubuntu on ARM. There is a simple work-around for that: it complains about several things, but the only fatal error has to do with attachment in regopt.c - which can be remedied by adding

CFLAGS = -fPIC

to the config.mk, after which it installs fine.

Since this is a generic issue, which is likely to show up in various new installations with the increasing popularity of Docker, would it be possible to add that flag to install-scripts/config-basic?


More information about the CWB mailing list