In order to compile successfully the homebrew poppler formula, it is necessary to:
- move/rename the old cairo directorry, /opt/X11/include/cairo , which is used by default by the poppler formula.
- Install cairo with homebrew.
- Since the previous is a keg only formula, follow the instructions at the end of the installation, adding
ENV.append 'LDFLAGS', '-L/usr/local/Cellar/cairo/1.10.2/lib'
ENV.append 'CPPFLAGS', '-I/usr/local/Cellar/cairo/1.10.2/include'
inside install function before configure
- Install it.
No comments:
Post a Comment