-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Compile error CTLS module #34
Comments
eval "$(curl -sL openssl.vapor.sh)" but tel me it's ok. Hw can I upgrade my tool chain ? Xcode is up to date |
This package uses Vapor 2. That script is for Vapor 1. eval "$(curl -sL check2.vapor.sh)" You'll need to either:
|
Thanks you for your answer gonna try to update those and try agin |
You may also need to add this to your bash profile: export TOOLCHAINS=swift That will make the terminal use the latest version of Swift on your computer. You can test to see if it's using Swift 3.1 with |
Or as an alternative, you could stick with the 0.8 version of the library if you don't want to make the jump to Vapor 2's alpha. |
After export TOOLCHAINS=swift, swift --version still give me 3.0.2. I'm upgrading so I can move to Vapor 2 as I was experiencing some compatibility issues with some providers. Is jwt-provider ready for Vapor 2 ? I'm building a bearer auth system based on jwt. |
I've installed Xcode 8.3 beta 4, selected the beta with Xcode-select. Both scripts seems to perform ok :
So everything should work but I still have the same error. Also tried couple things like clean, rebuilt etc.. |
Tried to clone again the project as I may have broken something but same result |
I've restarted my computer, downloaded a fresh version of the repo, got all the scripts to say it's ok but it's always stuck at compile time. |
Can you paste me the output of the following two commands on your computer: Gyda:~ tanner$ pkg-config openssl --cflags
-I/usr/local/opt/openssl/include
Gyda:~ tanner$ pkg-config openssl --libs
-L/usr/local/opt/openssl/lib -lssl -lcrypto -lz -lcrypto -lz Additionally, is it the same error |
@Alex293 https://github.com/kylef/swiftenv is a great tool for managing your swift version & tool chain. Often you can set the tool chain in Xcode preferences, however that doesn't switch the one used in your shell environment... so that's a great tool to view and switch quickly. |
Did the had time to test but avec the last Xcode it should ok I think |
Closing due to inactivity. Please feel free to reopen. |
I am running into this issue now. I have the latest Xcode installed (8.3.2) along with CLI tools and vapor (2.0.3) installed from homebrew tap. The only thing "special" about my setup is that homebrew is installed to a non-standard location (i.e. not Edit, the output:
Edit 2: If I manually specify Since my machine has a custom path I don't want to commit these paths up to the repository. |
Still an issue on ARM. Hypriot 1.5 Swift 3.1.1 |
Hi, I can't build a newly downloaded version of master on my mac :
.../jwt-master-2/Packages/CTLS-0.1.1/shim.h:4:10: 'openssl/conf.h' file not found
.../jwt-master-2/Packages/Crypto-2.0.0-alpha.4/Sources/Crypto/Cipher/Cipher+Method.swift:1:8: Could not build Objective-C module 'CTLS'
NB : I did got it working couple weeks ago !
The text was updated successfully, but these errors were encountered: