gjtorikian / mathematical

Convert mathematical equations to SVGs, PNGs, or MathML. A general wrapper to Lasem and mtex2MML.
https://gjtorikian.github.io/mathematical/
MIT License
164 stars 31 forks source link

pathname for dir constants. Use pkg-config for system libs #82

Closed dsisnero closed 3 years ago

dsisnero commented 6 years ago

I am trying to get this to compile on windows using the msys2 ruby installation. I have created pacman packages for lasem and mtex2mml. I needed these changes to get the extconf.rb file to not have errors when creating the Makefile. The makefile is made but when running make, it still errors because of missing headers from the lasem package. I need to patch the lasem distribution to include the mathml headers because it errors on compilation. I am looking for help in this because I am not very proficient in the libtools system.

Added pathname to make dirs easier to follow. Changes to logic for system packages to correct errors

gjtorikian commented 6 years ago

The Lasem project is in an entirely different distribution repo: https://wiki.gnome.org/Projects/Lasem