mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 19:19:41 +00:00
New translations faq.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -4,16 +4,16 @@ sidebar_label: Часто задаваемые вопросы
|
||||
|
||||
# Часто задаваемые вопросы
|
||||
|
||||
## Registry not found
|
||||
## Реестр не найден
|
||||
|
||||
```
|
||||
error: registry not found
|
||||
Ошибка: реестр не найден
|
||||
```
|
||||
|
||||
**Solution:** Make sure `~/.dcr/config.toml` exists:
|
||||
**Решение:** Убедитесь, что файл `~/.dcr/config.toml` существует:
|
||||
|
||||
```toml
|
||||
[[registry]]
|
||||
[[реестр]]
|
||||
name = "default"
|
||||
url = "https://index.dcr.pm"
|
||||
```
|
||||
@@ -24,27 +24,27 @@ url = "https://index.dcr.pm"
|
||||
echo $DCR_INDEX_PATH
|
||||
```
|
||||
|
||||
## Compiler not found
|
||||
## Компилятор не найден
|
||||
|
||||
```
|
||||
error: compiler not found
|
||||
Ошибка: компилятор не найден
|
||||
```
|
||||
|
||||
**Решение:** Убедитесь, что компилятор установлен и доступен в PATH.
|
||||
|
||||
```bash
|
||||
which gcc
|
||||
which clang
|
||||
какой gcc
|
||||
какой clang
|
||||
```
|
||||
|
||||
Или укажите явно через `[toolchain]` или `DCR_COMPILER`.
|
||||
|
||||
## openssl-sys build failed
|
||||
## Сбой сборки openssl-sys
|
||||
|
||||
При сборке DCR из исходников:
|
||||
|
||||
```
|
||||
error: failed to run custom build command for openssl-sys
|
||||
Ошибка: не удалось выполнить пользовательскую команду сборки для openssl-sys
|
||||
```
|
||||
|
||||
**Решение:** Установите OpenSSL development headers:
|
||||
@@ -68,7 +68,7 @@ DCR корректно обрабатывает SIGINT: прерывает те
|
||||
|
||||
[Library Recipe](/docs/recipes/library-project).
|
||||
|
||||
## How to cross-compile to Windows?
|
||||
## Как выполнить кросс-компиляцию для Windows?
|
||||
|
||||
См. [Cross-Compile Recipe](/docs/recipes/cross-to-windows).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user