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
Can't invoke swift build #213
Comments
@eimantas Please install an appropriate Swift 3.0 driver. 02/08 for the master branch of Kitura or 02/25 for the develop branch. |
I'm using 02/25 image of Swift on Linux Ubntu 14.04 and attempting to build using the given command in
|
Okay, so I managed to push a bit further. I removed everything from
After recloning all dependencies and starting building the project it got stuck on building
I have applied the swift dispatch library patch before going further, but it seems that there's still something lacking here. |
The error probably means that you do not have dispatch directory in /usr/local/include/ . Please make sure that you run sudo make install in swift-corelibs-libdispatch and that dispatch directory is created in /usr/local/include/. |
I see. Is there a way to pass the linker a flag where it can find the Dispatch library? Since the library was configured with certain prefix which defines non-standard swift location. |
Yes - you can add flags to swift build command to pass compiler/linker options, e.g -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib. |
so this is weird. I have verified that libdispatch is present in
|
Verified:
|
The path to swift is following:
|
Could the build do a quick check |
FWIW:
|
Your /use/local/include has no dispatch library, just some header files |
I thought include is supposed to have header files. And |
@eimantas My mistake regarding /usr/local/include - please verify that dispatch directory exists in
Step 4 of README should install it there. |
@vadimeisenbergibm it's not there. Should I attempt recompiling and reinstalling the libdispatch? I'm pretty sure I defined prexis as <path-to-swift-dir> |
@eimantas yes, make sure that you provide the correct path to config command. |
I am having the same problem on OS X with the latest Swift 2.2 from March 1st. I saw the comments above about installing the appropriate Swift 3.0 driver -- where can I find this? |
@chrisozenne Please install Swift 3.0 snapshot, 8th of February for the master branch of Kitura or 25th of February for the develop branch. |
Took me a while to figure this out - I could not find the Swift 3.0 snapshot because it's not called Swift 3.0, it's just called "Swift Development Snapshot" on Swift.org. |
@chrisozenne Correct, sorry, I should have mentioned that. |
Okay, I got it working! I got a "Hello world!"!!!11!!! I followed the instructions on the develop branch and it works great! Thanks everyone for support! For anyone bumping in to the same issue: I got it working with 02/25 development snapshot (which is named 2.2, but actually is future 3.0 version of Swift). Follow the instructions on develop branch. |
I have latest release of swift 2.2 (march 1st as of this writing). When running
make
on ubuntu 14.04 in the root of kitura, i get an error:Any help is appreciated.
The text was updated successfully, but these errors were encountered: