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

Make building / running on FreeBSD easier #25

Closed
johnae opened this issue Jan 24, 2017 · 3 comments
Closed

Make building / running on FreeBSD easier #25

johnae opened this issue Jan 24, 2017 · 3 comments

Comments

@johnae
Copy link
Owner

johnae commented Jan 24, 2017

I know spook runs on FreeBSD 11 now. However building and running it could be more straightforward. The steps to make it run are:

  1. Install gmake and gcc48
  2. export CC=/usr/local/bin/gcc48
  3. export LD_LIBRARY_PATH=/usr/local/lib/gcc48
  4. gmake clean-deps; gmake clean ## just make sure spook artifacts are all cleaned out
  5. gmake
  6. run spook

It only runs properly as long as the LD_LIBRARY_PATH is set as above.

@johnae
Copy link
Owner Author

johnae commented Jan 24, 2017

By the way, it might work fine with any version of gcc.

@johnae
Copy link
Owner Author

johnae commented Jan 24, 2017

There's no reason I know of why it wouldn't build fine with clang like it does on OS X. Will investigate at some point.

@johnae
Copy link
Owner Author

johnae commented Apr 4, 2017

As of 7050b70 this should work fine (since I've now got a freebsd laptop). Added instructions to README which basically boils down to:

install gmake
link cc to gcc (eg. clang is linked to gcc), more specifically:

sudo pkg install gmake
ln -s /usr/bin/cc /usr/local/bin/gcc
gmake

No need to install gcc.

@johnae johnae closed this as completed Apr 4, 2017
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

1 participant