Starting sccache server error

Hello
Hope this you all well.

I'm trying to install and build Swift Compiler project to contribute to it, following this guide:
https://github.com/apple/swift/blob/master/docs/HowToGuides/GettingStarted.md#system-requirements
When I run:
sccache --start-server
it gives me an error, attached is an imaged showing the error message:


I searched online but didn't find anything helpful/useful.

I'm using Ubuntu 18.04 LTS machine.
Any advice on what to do?

Thanks so much in advance.

There are a couple of options:

  1. Install ccache using apt and use that wherever the guide says sccache. (They're very similar programs.)
  2. Skip the parts related to sccache (such as the commandline arguments like --cmake-c-launcher). This may make repeated builds slower, but things should still work.
1 Like

sccache is not required to build Swift compiler, it will help reduce build time by using the local cache.

1 Like
Terms of Service

Privacy Policy

Cookie Policy