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

[SR-3222] Packages listed in top-level README are not sufficient to build Swift on Linux #45810

Closed
alblue opened this issue Nov 16, 2016 · 2 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@alblue
Copy link
Contributor

alblue commented Nov 16, 2016

Previous ID SR-3222
Radar None
Original Reporter @alblue
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee @alblue
Priority Medium

md5: 0c0db3fab24005e623de9399a9a146ab

Issue Description:

The README at the top level of the Swift tree suggests the following is needed to build Swift on Linux:

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev libcurl4-openssl-dev

https://github.com/apple/swift/blob/546af19690aa2b2071806add3d710f713fe099d8/README.md#system-requirements

However, it is now necessary to build lib dispatch on Linux when building Foundation, and that has additional dependencies not listed here:

sudo apt-get install autoconf libtool pkg-config clang systemtap-sdt-dev libbsd-dev

https://github.com/apple/swift-corelibs-libdispatch/blob/92773e0ce5faecb1ab3decd4ee6a474b9c877747/INSTALL.md#building-and-installing-for-linux

Ideally the top-level README should list a combination of these so that the user only has to download one set of dependencies to build everything, instead of two separate installations:

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev libcurl4-openssl-dev autoconf libtool systemtap-sdt-dev

https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20161114/003512.html

@alblue
Copy link
Contributor Author

alblue commented Nov 18, 2016

Pushed a fix to #5861

@alblue
Copy link
Contributor Author

alblue commented Nov 29, 2016

Fix merged to master

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant