Thanks Michael Henning, I have managed to build a GIMP binary using clang 4.0.1 using
CC=clang
and the trick by patdavid also solved my problem with libmypaint:
git clone https://github.com/mypaint/libmypaint.git
cd libmypaint/
git checkout v1.3.0
Now, when I try to execute the binary, it displays:
Liblcms2 version mismatch!
GIMP was compiled against LittleCMS version 2.8, but the
LittleCMS version found at runtime is only 2.7.
Somehow you or your software packager managed
to install a LittleCMS that is older than what GIMP was
built against.
Please make sure that the installed LittleCMS version
is at least 2.8 and that headers and library match.
I have downloaded liblcms2-2 version 2.8 from:
then went to the folder and did:
./configure
make
sudo make install
but still no luck. Any ideas how to get around this?
thanks