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

fix bootstrap on osx #513

Closed
wants to merge 1 commit into from
Closed

fix bootstrap on osx #513

wants to merge 1 commit into from

Conversation

r8k
Copy link
Contributor

@r8k r8k commented Nov 11, 2016

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact cla@fb.com if you have any questions.

@r8k
Copy link
Contributor Author

r8k commented Nov 11, 2016

@facebook-github-bot CLA signed !!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@ghost
Copy link

ghost commented Nov 11, 2016

Pulled this branch and attempted to compile using the bootstrap-osx-homebrew.sh script and things still didn't work. It appears as though the configure script fails when running through one of its checks.
checking whether compiling and linking against OpenSSL works... no configure: error: "Error: libssl required"
I'm using OSX ElCapitan 10.11.6, also to add to this I already have openssl installed on my machine.

 * include all dependencies
 * update `autoconf` & `configure` with correct params
 * include `make` & `make install` in the bootstrap for a better
   user experience
 * fixes facebook#332
@r8k
Copy link
Contributor Author

r8k commented Nov 12, 2016

@RBlafford I've fixed the script to ensure LDFLAGS & CPPFLAGS are set in the environment, so should be working good now. Let me know how it goes.

@facebook-github-bot
Copy link
Contributor

@Orvid has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@r8k
Copy link
Contributor Author

r8k commented Nov 17, 2016

@Orvid Any review comments?

# install deps
install_deps() {
# folly deps
dependencies=(autoconf automake libtool pkg-config double-conversion glog gflags boost libevent xz snappy lz4 jemalloc openssl)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yfeldblum:
Would prefer to have this split across lines, one entry per line.

popd

# make, test, install
make
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yfeldblum:
Seems like make check is missing?

@Orvid
Copy link
Contributor

Orvid commented Nov 17, 2016

Only a couple of minor things, but otherwise it looks good!

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

Successfully merging this pull request may close these issues.

bootstrap-osx-homebrew.sh doesn't properly handle OpenSSL dependency on El Capitan
3 participants