When compiling MyPaint from source, I ran into two problems with the documentation.
The first is easy enough to fix:
echo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig >>/etc/environment
echo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ >> /etc/environment
since the trailing slash seems to be a requirement for actually finding libmypaint. Might also be a good idea to direct it into
~/.bashrc instead since that won’t require a restart and is more user-specific?
The only reason I didn’t just submit a pull request to fix that was because I’m not sure if a pull request should include the second problem I ran into: running
sudo ldconfig wasn’t enough for me to get MyPaint to recognize that the library was installed.
so files for me ended up being located under
/usr/local/lib/mypaint, but the demo build wouldn’t launch until I symlinked them to
/usr/local/mypaint, even though
pkg-config --list-all | grep -i mypaint could find them no problem.
I’m on Manjaro Linux, and I’m installing the source alongside a packaged installation from the pacman repos. It’s possible I just messed something else up or that my distro setup is atypical and this isn’t a normally needed extra step?