Titor8115 / mandown

man-page inspired Markdown viewer
GNU General Public License v3.0
245 stars 13 forks source link

Builds fine on MacOS with small Makefile addition #21

Closed edrozenberg closed 4 years ago

edrozenberg commented 4 years ago

Not a bug but a comment that mdn builds fine on MacOS via the following (assumes use of HomeBrew):

brew install libxml2

Add libxml2 HomeBrew Cellar include path to the mandown Makefile as follows:

CFLAGS = -c -g -O3 -Wall -Wsign-compare -Iparser -Iblender -Iinclude -I/usr/include/libxml2 -I/usr/local/Cellar/libxml2/2.9.10_1/include/libxml2 $(DEFINE)
Titor8115 commented 4 years ago

Feedback received!

DiegoMagdaleno commented 4 years ago

@edrozenberg Could you try "brew install mandown" pls

edrozenberg commented 4 years ago

@Titor8115 that worked fine thanks!

DiegoMagdaleno commented 4 years ago

@edrozenberg are you responding to me or to Titor lel

edrozenberg commented 4 years ago

Responding to @DiegoMagdaleno actually :)

DiegoMagdaleno commented 4 years ago

Thanks, @Titor8115 I think this issue can now be closed :)

edrozenberg commented 4 years ago

Great, closing. BTW if mandown ever needs newer libxml2 or ncurses than standard MacOS provides, believe changing the brew formula to depends_on "ncurses" and depends_on "libxml2" would make it use the homebrew versions of these libs (which would also mean having to install these 2 brews).