Errors when building graphviz with brew
hi I am trying to install graphviz with the command: brew isntall graphviz
Here's the error I get:
==> ./configure --prefix=/home/wjs/.linuxbrew/Cellar/graphviz/2.40.1 --without-qt --with-quartz --disable-php --disable-swig --without-pangocairo --without-freetype2 --without-x --without-rsvg ==> make install
Last 15 lines from /home/wangjingsong/.cache/Homebrew/Logs/graphviz/02.make: malloc.c:331:15: error: return type is an incomplete type struct mstats mstats(void) ^ malloc.c: In function 'mstats': malloc.c:334:19: error: storage size of 'ms' isn't known struct mstats ms; ^ make[3]: *** [malloc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory
/tmp/graphviz-20180912-12028-15brl3t/graphviz-2.40.1/lib/vmalloc' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory
/tmp/graphviz-20180912-12028-15brl3t/graphviz-2.40.1/lib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/tmp/graphviz-20180912-12028-15brl3t/graphviz-2.40.1' make: *** [install] Error 2