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

Install nghttp2 with curl #36369

Closed
Etienne-Meunier opened this issue Jan 24, 2019 · 3 comments
Closed

Install nghttp2 with curl #36369

Etienne-Meunier opened this issue Jan 24, 2019 · 3 comments
Labels
outdated PR was locked due to age

Comments

@Etienne-Meunier
Copy link

Hey !
I am trying to install curl along with nghttp2 using the command brew install curl --with-openssl --with-nghttp2 but there is no option with-nghttp2, indeed :

MacBook-Air-de-Etienne:sdk-folder etiennemeunier$ brew info curl
curl: stable 7.63.0 (bottled), HEAD [keg-only]
Get a file from an HTTP, HTTPS or FTP server
https://curl.haxx.se/
/usr/local/Cellar/curl/HEAD-3cbf731 (450 files, 3MB)
  Built from source on 2019-01-24 at 12:14:22
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/curl.rb
==> Dependencies
Build: pkg-config ✔
==> Options
--HEAD
	Install HEAD version
==> Caveats
curl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.


zsh completions have been installed to:
  /usr/local/opt/curl/share/zsh/site-functions

My brew version is :

MacBook-Air-de-Etienne:sdk-folder etiennemeunier$ brew --version
Homebrew 1.9.3-10-g40bfc39
Homebrew/homebrew-core (git revision 5e1a0; last commit 2019-01-24)
Homebrew/homebrew-cask (git revision 375ee0; last commit 2019-01-24)

My goal is to get http2 in order to do commands as curl -I --http2 https://nicluo.com that actually give me : curl: (1) Unsupported protocol

@SMillerDev
Copy link
Member

Homebrew is removing all options, if you want to use this option on curl it'd be better to make a pull request to add this option as a default.

@djerfy
Copy link
Contributor

djerfy commented Jan 24, 2019

Hi @Etienne-Meunier!
Check with curl-openssl (here), available and works with http2 and more options :)

@MikeMcQuaid
Copy link
Member

Agreed that curl-openssl is probably the best fit here 👍

@lock lock bot added the outdated PR was locked due to age label Feb 25, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

4 participants