Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subs.c:22:10: fatal error: 'pango/pangocairo.h' file not found #5

Closed
iooops opened this issue Jun 21, 2017 · 2 comments
Closed

subs.c:22:10: fatal error: 'pango/pangocairo.h' file not found #5

iooops opened this issue Jun 21, 2017 · 2 comments

Comments

@iooops
Copy link

iooops commented Jun 21, 2017

When I tried to install abcm2ps-8.13.11 on my mac using the command
make

the following error occured:

gcc -g -O2 -Wall -pipe -DHAVE_PANGO=1 -I. -I/usr/include/pango-1.0 -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/freetype2 -c -o subs.o subs.c
subs.c:22:10: fatal error: 'pango/pangocairo.h' file not found
#include <pango/pangocairo.h>
^
1 error generated.
make: *** [subs.o] Error 1

I have already installed pango on my mac(OS Sierra 10.12) and I am sure the folders are under the /usr/include directory.

Could anyone who has ever compiled the sources successfully give me a solution?

@iooops
Copy link
Author

iooops commented Jun 21, 2017

Ah.. Just use the command
brew install abcm2ps

And everything's all done.

@iooops iooops closed this as completed Jun 21, 2017
@lewdlime
Copy link
Owner

I should note that if you do need pango support in abcm2ps on Mac, you should first run

brew install pango

then run brew install abcm2ps, as the pango Homebrew formula includes all the needed dependencies, and sets up the development files for other packages to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants