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

gelf.h: No such file or directory #372

Closed
Raynos opened this issue Apr 11, 2015 · 2 comments
Closed

gelf.h: No such file or directory #372

Raynos opened this issue Apr 11, 2015 · 2 comments
Labels

Comments

@Raynos
Copy link
Contributor

Raynos commented Apr 11, 2015

flow needs more then just opam to compile.

I tried installing opam and running make; looks like I need a gelf.h file.

I can install libelf-dev to work around this. Can we update the README to mention this edge case ?

As a seperate question, why does a javascript type checker need to read elf files ? It's probably for this hack IDE support stuff.

@popham
Copy link
Contributor

popham commented Apr 25, 2015

For part 2, the elf dependence allows the library tarball to be bundled into the executable. This line from the Makefile does the deed:

objcopy --add-section flowlib=bin/flowlib.tar.gz _build/src/flow.native bin/flow

I don't know if there's anything else going on with elf.

@mroch mroch added the Build label Jun 1, 2016
@gabelevi
Copy link
Contributor

I've removed the libelf dependency, so I'm going to close this task out.

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

No branches or pull requests

4 participants