I am rolling out my own mathview.el (similar to preview.el but aim to be more efficient) package for editing LaTeX in emacs. Currently it uses dvipng but I would like to use dvisvgm as an alternative. Could someone share how they compile dvisvgm with TeX live 2009 installed to /usr/local/texlive/2009?
The reason I am considering using dvisvgm is that text in pngs doesn't look as thick as normal text in emacs buffer. See this image
.
I am using Snow Leopard 10.6.4. Thanks.
Update:
I don't mind if this question is deleted. Basically the header files of kpathsea must be available. But my tl2009 installation is incomplete so I stopped trying. Also dvipng has a --gamma option to change the darkness of the font, which can be adjusted to make images blend better with text in emacs.

dvisvgmis included in TeX Live 2010, which - as far as I know - should be released “soon“. The pretest should be mostly identical to the final version. – Caramdir Aug 28 '10 at 18:24