Я создаю оснастку, но когда я собираю пакет, Snapcraft говорит мне:
Failed to run './configure --prefix=' for 'synchrorep': Exited with code 126.
Когда я запускаю ./configure на моем локальном компьютере, все в порядке.
Вот мой файл snap.yaml:
name: synchrorep
version: "v1.5.5"
summary: Synchronize folders
description: |
Synchorep is an opensource software to synchronize two directories, that means reporting all modifications of one to the other and vice versa. At the end of synchronization, both directories will be strictly the same. This is useful mainly for nomads who work with a laptop or usb key but may interest also users who want to gain time with the use of differential copy.
base: core18
confinement: classic
parts:
synchrorep:
plugin: autotools
source: https://github.com/sebk69/Synchrorep.git
build-packages:
- g++
- make
- libgtk2.0-dev
- libsqlite3-dev
- libnautilus-extension-dev
apps:
synchrorep:
command: "synchrorep --config"
enter code here
Может кто-нибудь помочь?
Я просто проверил тот проект в GitHub. Это make
проект не autotools
один. Таким образом набор:
...
parts:
synchrorep:
plugin: make
...
использование Проверки каждого плагина в этой ссылке: Snapcraft - Поддерживаемые плагины