-
Notifications
You must be signed in to change notification settings - Fork 672
Unable to run 'make' on Fedora Distro #370
Comments
The other issue was the absence of the static libs for libpthread and libc. This was fixed by installing glibc-static. |
We should update our docs |
@dpw iirc you mentioned that you ran into a bunch of problems building weave on Fedora. Anything other than the above? |
I'm not sure. But we shouldn't be recommending that people install non-distro libs into system-wide locations, because then we risk breaking stuff for them. Which means you need to set the appropriate environment variables to 'go build' to make it use the alternate libpcap and associated header file. If we are going to document how to build under other distros, it might be better simply to recommend building in a debian/ubuntu container. |
Well, we already have the vagrant instructions. Perhaps we just need to tweak the docs in some other way, e.g. put the vagrant section first. |
@dpw @rade |
@aanm you don't need to build weave in order to run it. |
Haven't you heard my opinion of vagrant? Or are you just teasing? What's wrong with recommending building in a container? |
Nothing. But somebody would actually have to make that work and document it. |
I thought you were talking about using weave (as release) inside vagrant and not building it |
I suspect that the WEAVETOOLS_EXES build step doesn't work under fedora with selinux enabled (due to the use of the |
This has been superseded by #387. |
Hi,
I was unable to run 'make' on Fedora.
It returned:
/bin/ld: cannot find -lpcap
Although there's a libpcap-devel package, it doesn't provide the "libpcap.a".
To fix it, you just have to build it from libpcap.a from sources (http://www.tcpdump.org/release/).
And copy it to /usr/lib/libpcap.a
The text was updated successfully, but these errors were encountered: