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

How to compile pkg-config? #46

Open
prRZ5F4LXZ opened this issue Apr 10, 2021 · 3 comments
Open

How to compile pkg-config? #46

prRZ5F4LXZ opened this issue Apr 10, 2021 · 3 comments

Comments

@prRZ5F4LXZ
Copy link

I am trying to following the example. But I failed.

/tmp/pkg-config-0.26$ CC=gclang ./configure --with-internal-glib
...
checking for pkg-config... pkg-config
configure: error: pkg-config and glib-2.0 not found, please set GLIB_CFLAGS and GLIB_LIBS to the correct values

It seems that some dependences need to be installed. But I don't see any instructions in

https://github.com/SRI-CSL/gllvm/blob/master/examples/pkg-config/Makefile

Could anybody let me know how to fix the problem?

@ianamason
Copy link
Member

First try building it with just clang. Then try it with gllvm. The example you are linking to is probably out of date.

@ianamason
Copy link
Member

If you need hints. Homebrew presumably has a package, and so also a recipe.

@ianamason
Copy link
Member

Can I close this @prRZ5F4LXZ?

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