alexandru-balan / Stremio-Install-Scripts

A repo with scripts that install Stremio from scratch on systems that do not package it.
GNU General Public License v3.0
66 stars 7 forks source link

Got an error trying to install on Solus #9

Open gnomo223 opened 4 years ago

gnomo223 commented 4 years ago

I use Solus 4.1, KDE Plasma version, in the budgie version i could install normally, but now a got:

fatal: cannot use Perl-compatible regexes when not compiled with USELIBPCRE wget "https://s3-eu-west-1.amazonaws.com/stremio-artifacts/four/v/server.js" -qO server.js || rm server.js mkdir -p "icons" cd "icons" && printf 16,22,24,32,64,128 | xargs -I^ -d, sh -c 'rsvg-convert ../images/stremio.svg -w ^ -o smartcode-stremio^.png && rsvg-convert ../images/stremio_traywhite.svg -w ^ -o smartcode-stremio-tray^.png' make -C build install make[1]: Entrando no diretório '/home/gnomo/Stremio-Install-Scripts/stremio-shell/build'` /usr/bin/qmake -install qinstall /home/gnomo/Stremio-Install-Scripts/stremio-shell/smartcode-stremio.desktop /opt/stremio/smartcode-stremio.desktop /usr/bin/qmake -install qinstall -exe stremio /opt/stremio/stremio make[1]: Saindo do diretório '/home/gnomo/Stremio-Install-Scripts/stremio-shell/build' install -Dm 644 server.js "/opt/stremio/server.js" install: não foi possível obter estado de 'server.js': Arquivo ou diretório inexistente make: *** [release.makefile:15: install] Erro 1 Can't install the project. MAKE error !

How can i fix it ? For now i'm trying a flatpak version, the link is https://github.com/bilelmoussaoui/stremio-flatpak

alexandru-balan commented 4 years ago

Hi @gnomo223 , I'll be able to take a look at this in the following days. However, this repo will soon be marked obsolete once I finish packaging Stremio for Solus. Stremio has been approved for inclusion and once I upload the yaml file, you should be able to install Stremio from the Solus app store.

gnomo223 commented 4 years ago

Wow, thank you man for this great work. As you say it's better to wait the packing for Solus, i'm a newbie in this world of open source and don't how to do it myself. Anyway thank you. Can you recommend any books our pages so i can learn how to do sutch things ?

Kabouik commented 4 years ago

For what it's worth, I used the scripts to install Stremio on two computers running Solus Budgie and Solus i3, respectively, and it worked well, so maybe it's a KDE issue.

Kabouik commented 4 years ago

Any news on inclusion in the Solus repository @alexandru-balan? I've been trying to tell Josh on dev.getsol.us (@Matf here) that just because there's no package yet doesn't mean there is no demand for a software not target at programmers who know how to package, and it seems they are still considering inclusion if someone steps up to package it and maintain it, but I'm afraid they will definitely make their mind at some point.

Note that I now get an error when trying to install with the Solus script on my machine too now:

…
/usr/bin/moc -DSTREMIO_SHELL_VERSION=\"4.4.116\" -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/build/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/singleapplication -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/libmpv/include -I/usr/include/QtWebEngine -I/usr/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtWidgets -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/include/c++/9 -I/usr/include/c++/9/x86_64-solus-linux -I/usr/include/c++/9/backward -I/usr/lib64/gcc/x86_64-solus-linux/9/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-solus-linux/9/include-fixed -I/usr/include ../autoupdater.h -o moc_autoupdater.cpp
/usr/bin/moc -DSTREMIO_SHELL_VERSION=\"4.4.116\" -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/build/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/singleapplication -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/libmpv/include -I/usr/include/QtWebEngine -I/usr/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtWidgets -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/include/c++/9 -I/usr/include/c++/9/x86_64-solus-linux -I/usr/include/c++/9/backward -I/usr/lib64/gcc/x86_64-solus-linux/9/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-solus-linux/9/include-fixed -I/usr/include ../systemtray.h -o moc_systemtray.cpp
/usr/bin/moc -DSTREMIO_SHELL_VERSION=\"4.4.116\" -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/build/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/singleapplication -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/libmpv/include -I/usr/include/QtWebEngine -I/usr/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtWidgets -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/include/c++/9 -I/usr/include/c++/9/x86_64-solus-linux -I/usr/include/c++/9/backward -I/usr/lib64/gcc/x86_64-solus-linux/9/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-solus-linux/9/include-fixed -I/usr/include ../razerchroma.h -o moc_razerchroma.cpp
/usr/bin/moc -DSTREMIO_SHELL_VERSION=\"4.4.116\" -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/build/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/singleapplication -I/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/deps/libmpv/include -I/usr/include/QtWebEngine -I/usr/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtWidgets -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/include/c++/9 -I/usr/include/c++/9/x86_64-solus-linux -I/usr/include/c++/9/backward -I/usr/lib64/gcc/x86_64-solus-linux/9/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-solus-linux/9/include-fixed -I/usr/include ../qclipboardproxy.h -o moc_qclipboardproxy.cpp
In file included from ../verifysig.c:1:
../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory
    4 | #include <openssl/evp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:958: verifysig.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../../stremio-shell/autoupdater.h:21,
                 from ../autoupdater.cpp:1:
../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory
    4 | #include <openssl/evp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:945: autoupdater.o] Error 1
In file included from ../autoupdater.h:21,
                 from ../mainapplication.h:4,
                 from ../main.cpp:22:
../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory
    4 | #include <openssl/evp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:927: main.o] Error 1
../deps/singleapplication/singleapplication.cpp: In member function ‘void SingleApplicationPrivate::slotConnectionEstablished()’:
../deps/singleapplication/singleapplication.cpp:285:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  285 |                     break; // Otherwise set to invalid connection (next line)
      |                          ^
../deps/singleapplication/singleapplication.cpp:287:13: note: here
  287 |             default:
      |             ^~~~~~~
make[1]: Leaving directory '/home/mathieu/.config/Stremio-Install-Scripts/stremio-shell/build'
make: *** [release.makefile:36: build/stremio] Error 2
Can't compile project. MAKE error !