уааа ставлю!!
а то fuse намучил с нашими ромсетами.
если всё заработает! делаем дему дальше!
- - - Добавлено - - -
bash-4.4$ unreal-speccy-portable
Ошибка сегментирования (стек памяти сброшен на диск)
Эхх как всегда, ничего не работает.
Вид для печати
AER,-что говорит?Код:which unreal-speccy-portable
OS какая? Arch, Manjaro?
А так работает?:
Код:cd /usr/lib/unreal-speccy-portable/
./unreal_speccy_portable
У меня та же ошибка случилась. В Linux Mint все работало отлично, сегодня установил Ubuntu Mate и получил сегфаулт от USP.
Проверил, если предварительно перейти в каталог установленного USP, запускает нормально.
Исправил ярлык, добавив параметр:
Получилось вот так:Код:Path=/opt/unreal
Скрытый текст
Код:[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Unreal Speccy Portable
Comment=Portable ZX-Spectrum emulator
Exec=/opt/unreal/unreal_speccy_portable %F
Path=/opt/unreal
Icon=/opt/unreal/unreal_speccy_portable.png
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Application;Game;
StartupNotify=true
MimeType=application/usp-zx-snapshot;application/usp-zx-disk;application/usp-zx-replay;application/usp-zx-tape;
GenericName[en_GR]=
[свернуть]
Теперь запускается из меню нормально.
В пакете в AUR та же проблема решена с помощью скрипта (взятого из исходного репозитария).
Код:$ cat /usr/bin/unreal-speccy-portable
#!/bin/sh
# Starts Unreal Speccy Portable
BIN_PATH=/usr/lib/unreal-speccy-portable/
cd ${BIN_PATH}
exec ${BIN_PATH}unreal_speccy_portable "$@"
$ ls -l /usr/lib/unreal-speccy-portable/
total 920
drwxr-xr-x 1 root root 14 Nov 10 21:44 res
-rwxr-xr-x 1 root root 941008 Nov 10 21:39 unreal_speccy_portable
$ ls -l /usr/lib/unreal-speccy-portable/res/
total 0
drwxr-xr-x 1 root root 24 Nov 10 21:44 font
drwxr-xr-x 1 root root 126 Nov 10 21:44 rom
Код:$ pacman -Ql unreal-speccy-portable-git
unreal-speccy-portable-git /usr/
unreal-speccy-portable-git /usr/bin/
unreal-speccy-portable-git /usr/bin/unreal-speccy-portable
unreal-speccy-portable-git /usr/lib/
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/font/
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/font/spxtrm4f.fnt
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/dos513f.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/service.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/sos128_0.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/sos128_1.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/sos48.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/res/rom/test.rom
unreal-speccy-portable-git /usr/lib/unreal-speccy-portable/unreal_speccy_portable
unreal-speccy-portable-git /usr/share/
unreal-speccy-portable-git /usr/share/applications/
unreal-speccy-portable-git /usr/share/applications/unreal-speccy-portable.desktop
unreal-speccy-portable-git /usr/share/icons/
unreal-speccy-portable-git /usr/share/icons/hicolor/
unreal-speccy-portable-git /usr/share/icons/hicolor/128x128/
unreal-speccy-portable-git /usr/share/icons/hicolor/128x128/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/128x128/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/icons/hicolor/22x22/
unreal-speccy-portable-git /usr/share/icons/hicolor/22x22/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/22x22/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/icons/hicolor/24x24/
unreal-speccy-portable-git /usr/share/icons/hicolor/24x24/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/24x24/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/icons/hicolor/32x32/
unreal-speccy-portable-git /usr/share/icons/hicolor/32x32/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/32x32/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/icons/hicolor/48x48/
unreal-speccy-portable-git /usr/share/icons/hicolor/48x48/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/48x48/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/icons/hicolor/64x64/
unreal-speccy-portable-git /usr/share/icons/hicolor/64x64/apps/
unreal-speccy-portable-git /usr/share/icons/hicolor/64x64/apps/unreal_speccy_portable.png
unreal-speccy-portable-git /usr/share/mime/
unreal-speccy-portable-git /usr/share/mime/packages/
unreal-speccy-portable-git /usr/share/mime/packages/unreal_speccy_portable.xml
/usr/bin/unreal-speccy-portable
OS arch
bash-4.4$ cd /usr/lib/unreal-speccy-portable/
bash-4.4$ ./unreal-speccy-portable
bash: ./unreal-speccy-portable: Нет такого файла или каталога
незапускается и из bin.
Вообще, как бы чтото промелькивает и валиться все.
bash-4.4$ cd /usr/lib/unreal-speccy-portable/
bash-4.4$ ./unreal_speccy_portable
Ошибка сегментирования (стек памяти сброшен на диск)
bash-4.4$
Также, что-то промелькивает и падает.
AER, можно попробовать установить пакет cogl явно (хотя он скорее всего д.б. уже установлен) и затем переустановить/пересобрать usp.
Либо собрать дебаг-версию usp чтобы понять из за чего именно валится (эта "ошибка" - скорее всего результат какого-то assert() в usp) - отредактировать PKGBUILD перед сборкой, исправить "-DCMAKE_BUILD_TYPE=Release" на "-DCMAKE_BUILD_TYPE=Debug"
bash-4.4$ yaourt -S cogl
разрешение зависимостей...
проверка конфликтов...
Пакеты (1) cogl-1.22.2+10+g3baa2d7a-1
Будет загружено: 0,73 MiB
Будет установлено: 4,08 MiB
:: Приступить к установке? [Y/n] y
:: Получение пакетов...
ошибка: не удалось получить файл 'cogl-1.22.2+10+g3baa2d7a-1-x86_64.pkg.tar.xz' из mirror.lastmikoi.net : The requested URL returned error: 404
ошибка: не удалось получить файл 'cogl-1.22.2+10+g3baa2d7a-1-x86_64.pkg.tar.xz' из f.archlinuxvn.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cogl-1.22.2+10+g3baa2d7a-1-x86_64.pkg.tar.xz' из archlinux.mirror.colo-serv.net : The requested URL returned error: 404
Текущая версия 1.22.2+22+ge023a361-1 вообще-то: https://www.archlinux.org/packages/extra/x86_64/cogl/
Код:$ yaourt -yyS cogl
# вообще лучше (что бы все в системе обновить заодно):
$ yaourt -yySua cogl