Having trouble with dvisvgm (MacOS)
I installed manim on MacOS 10.11.6 but had an error trying to run my files because I didn't have dvisvgm installed. I tried to install running the compile file provided but I was missing kpathsea. I tried using tlmgr to download it but I got
tlmgr: package repository http://www.ctan.org/tex-archive/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr install: package already present: kpathsea
I indeed saw in TeX Live Utility I have kpathsea installed as x86_64-darwin files of kpathsea, however I am still missing files such as kpathsea.h when I'm trying to install dvisvgm.
Note: I can't upgrade my OS to Sierra and therefore have macTex 2017 installed.
Thanks for reading my issue!
Install GhostScript
I have Ghostscript installed but it wasn't linked so I ran
brew link ghostscript
and got
Error: Could not symlink share/ghostscript/9.50
/usr/local/share/ghostscript is not writable.
I tried using brew doctor
which issued Broken symlinks were found. Remove them with brew cleanup:
following with ghostscript files.
I then ran brew cleanup
which answered with Permission denied @ apply2files - /usr/local/share/ghostscript/9.21/Resource/CIDFSubst/ipaexg.ttf
I'm stuck at this point...
Update : I followed these instructions ( https://discussions.apple.com/thread/250801501?answerId=251544673022#251544673022 ) and cleanup worked.
I used brew link --overwrite ghostscript which created the files.
Yet I still have
checking kpathsea/kpathsea.h usability... no
checking kpathsea/kpathsea.h presence... no
checking for kpathsea/kpathsea.h... no
configure: error: please install the kpathsea development package
when running ./compile to install dvisvgm...
I am having this issue as well on MacOS even though ghostscript is installed and linked correctly.
I had the same issue. Please install dvisvgm using tlmgr. Just go ahead and run tlmgr install dvisvgm with sudo permission. Hope this helps! Comment whether it worked. If not we can figure out what's wrong further.