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

Compiling on FreeBSD fails using your directions #96

Open
tomsparks opened this issue Sep 4, 2019 · 3 comments
Open

Compiling on FreeBSD fails using your directions #96

tomsparks opened this issue Sep 4, 2019 · 3 comments

Comments

@tomsparks
Copy link

I'm using FreeBSD 12.
I installed wandio from packages fine, however running ./configure && gmake fails due to configure not including /usr/local/{lib,include}

I successfully compiled with this commandline:
./configure LDFLAGS='-L/usr/local/lib -L/usr/lib' CPPFLAGS='-I/usr/local/include -I/usr/include' && gmake

I'm not sure why this is failing, its not something I've usually had to do when automake is involved.

@alistairking
Copy link
Member

Hey,
Thanks for using BGPStream.

Interestingly, I've had the opposite experience with FreeBSD where I need to assume that /usr/local isn't searched by automake and friends.

I have the following in my environment to deal with exactly this problem:

export LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH"
export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH"

(though, I'll admit, it is now several years since I used FreeBSD in anger so maybe there is something else going on here.)

Probably the best bet is to create a port for BGPStream.

@tomsparks
Copy link
Author

Probably the best bet is to create a port for BGPStream.

I thought y'alls were gonna do that?
I can build and submit one though if you'd like?

@alistairking
Copy link
Member

Sorry, yeah, I meant "Probably the best bet is for us to finally create a port" :)
We will probably get around to it in a few weeks, but if you would like to help us out and get it done sooner, then please go ahead.

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