1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-28 18:38:31 +00:00
This commit is contained in:
erikjohnston 2024-02-06 09:28:58 +00:00
parent ca98384a74
commit 1d58565b87
4 changed files with 20 additions and 2 deletions

View file

@ -451,6 +451,15 @@ sudo dnf groupinstall "Development Tools"
<p>Some extra dependencies may be needed. You can use Homebrew (https://brew.sh) for them.</p>
<p>You may need to install icu, and make the icu binaries and libraries accessible.
Please follow <a href="https://pypi.org/project/PyICU/">the official instructions of PyICU</a> to do so.</p>
<p>If you're struggling to get icu discovered, and see:</p>
<pre><code> RuntimeError:
Please install pkg-config on your system or set the ICU_VERSION environment
variable to the version of ICU you have installed.
</code></pre>
<p>despite it being installed and having your <code>PATH</code> updated, you can omit this dependency by
not specifying <code>--extras all</code> to <code>poetry</code>. If using postgres, you can install Synapse via
<code>poetry install --extras saml2 --extras oidc --extras postgres --extras opentracing --extras redis --extras sentry</code>.
ICU is not a hard dependency on getting a working installation.</p>
<p>On ARM-based Macs you may also need to install libjpeg and libpq:</p>
<pre><code class="language-sh"> brew install jpeg libpq
</code></pre>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -377,6 +377,15 @@ sudo dnf groupinstall &quot;Development Tools&quot;
<p>Some extra dependencies may be needed. You can use Homebrew (https://brew.sh) for them.</p>
<p>You may need to install icu, and make the icu binaries and libraries accessible.
Please follow <a href="https://pypi.org/project/PyICU/">the official instructions of PyICU</a> to do so.</p>
<p>If you're struggling to get icu discovered, and see:</p>
<pre><code> RuntimeError:
Please install pkg-config on your system or set the ICU_VERSION environment
variable to the version of ICU you have installed.
</code></pre>
<p>despite it being installed and having your <code>PATH</code> updated, you can omit this dependency by
not specifying <code>--extras all</code> to <code>poetry</code>. If using postgres, you can install Synapse via
<code>poetry install --extras saml2 --extras oidc --extras postgres --extras opentracing --extras redis --extras sentry</code>.
ICU is not a hard dependency on getting a working installation.</p>
<p>On ARM-based Macs you may also need to install libjpeg and libpq:</p>
<pre><code class="language-sh"> brew install jpeg libpq
</code></pre>