Welcome to the forum, Guest

  • Page:
  • 1
  • 2

TOPIC: Installing Headless server on Raspberry pi 3?

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2390

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

Thanks Luis Angel,
Where can I download p7zip ver. 7.20 source? do you mean 9.20?
best regards, j
Last Edit: 7 years 11 months ago by josephm.
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2392

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

I finally installed ver. 9.20, but when I launch YACReaderLibraryServer create-library I get the following error:

Processing comicsQSqlDatabase: QSQLITE driver not loaded

I have however apt-get installed sqlite3 and libsqlite3-dev as adviced by selmf.
Last Edit: 7 years 11 months ago by josephm.
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2393

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

The database driver for sqlite is missing in Qt. You can install it like this:
apt-get install libqt5sql5-sqlite

The problem here is that the way Linux distributions ship certain packages isn't always the same. Debian for example likes to split packages into development and runtime (and generally in multiple packages) and the package detection mechanism qmake provides is limited so I can't detect everything. I'm currently working on improving the build situation but there's a limit on how much it can be improved.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2399

Luis Ángel

Offline

Administrator

Posts: 2616

Thank you received: 543

Karma: 22

Yeah, 9.20. Sorry for the typo.

Hopefully, installing libqt5sql5-sqlite would be enough for making YACReaderLibraryServer work properly.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2402

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

Thanks Luis Angel, i followed the procedure and installed in compressed_archive p7zip from and renamed libp7zip (lib7zip was showing an error) but when qmaking i got this error:


patching file libp7zip/CPP/myWindows/StdAfx.h

when i make and install and create the library i still got:

Processing comicsQSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

even if the drivers seem to be installed:

ii libpoppler-qt5-1:armhf 0.26.5-2+deb8u1 armhf PDF rendering library (Qt 5 based shared library)
ii libpoppler-qt5-dev:armhf 0.26.5-2+deb8u1 armhf PDF rendering library -- development files (Qt 5 interface)
ii libqt5concurrent5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 concurrent module
ii libqt5core5a:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 core module
ii libqt5dbus5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 D-Bus module
ii libqt5gui5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 GUI module
ii libqt5network5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 network module
ii libqt5opengl5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 OpenGL module
ii libqt5opengl5-dev:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 OpenGL library development files
ii libqt5printsupport5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 print support module
ii libqt5script5:armhf 5.3.2+dfsg-2 armhf Qt 5 script module
ii libqt5scripttools5:armhf 5.3.2+dfsg-2 armhf Qt 5 script tools module
ii libqt5sql5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 SQL module
ii libqt5sql5-sqlite:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 SQLite 3 database driver
ii libqt5test5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 test module
ii libqt5widgets5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 widgets module
ii libqt5xml5:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 XML module
ii qt5-default 5.3.2+dfsg-4+rpi1 armhf Qt 5 development defaults package
ii qt5-qmake:armhf 5.3.2+dfsg-4+rpi1 armhf Qt 5 qmake Makefile generator tool

I think that qmake think that I am compiling under Windows and not Linux.
How to solve it?

thanks and best regards,
Last Edit: 7 years 11 months ago by josephm.
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2403

Luis Ángel

Offline

Administrator

Posts: 2616

Thank you received: 543

Karma: 22

No, that is not the problem. The 'myWindows' folder is just part of 7zip code.

Try to find where are the Qt plugins installed. For example:
/usr/lib/arm-linux-gnueabihf/qt5/plugins/

Set the environment variable QT_PLUGIN_PATH containing that path and try again.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 11 months ago #2404

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

yes I tried by setting the environment variable QT_PLUGIN_PATH and then qmake, make, install, but always the same error:
Processing comicsQSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 10 months ago #2412

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

I tried to compile YACReaderLibrary with libunrarr and with lib7zip 9.20.1 but none is working properly.

with unarr i get the errors:
- rar.c:65: Skipping directory entry "Comics X"
- zip.c:104: Skipping directory entry "Comics Y" and so on for each comics
but the server can be launched and seen remotely but without any comics inside.

with lib7zip there are many errors:
Processing comicsQSqlDatabase: QSQLITE driver not loaded

what to do then?
I really want to install YACReaderLibrary Server on Raspberry 3.

Best regards,
The administrator has disabled public write access.

Installing Headless server on Raspberry pi 3? 7 years 10 months ago #2424

Luis Ángel

Offline

Administrator

Posts: 2616

Thank you received: 543

Karma: 22

I have bought a Raspberry Pi 3 today, it should be at home tomorrow. I will try to write a tutorial this weekend and fix any possible issues in the source code. I can confirm that YACReaderLibraryServer + p7zip is working fine in a Pi 2.

Hopefully this can be fixed without changes in p7zip or unarr code, if not then where are going to be stuck with 32bit for a while, so the solution should be to install a 32bit version of Raspian in the Pi 3.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum