Skip to content
YACReader
Help and support for Linux users.

Installing Headless server on Raspberry pi 3?

More
10 years 4 months ago - 10 years 4 months ago #2390 by josephm
Replied by josephm on topic Installing Headless server on Raspberry pi 3?
Thanks Luis Angel,
Where can I download p7zip ver. 7.20 source? do you mean 9.20?
best regards, j
Last edit: 10 years 4 months ago by josephm.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago - 10 years 4 months ago #2392 by josephm
Replied by josephm on topic Installing Headless server on Raspberry pi 3?
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: 10 years 4 months ago by josephm.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2393 by selmf
The database driver for sqlite is missing in Qt. You can install it like this:
Code:
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.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2399 by Luis Ángel
Replied by Luis Ángel on topic Installing Headless server on Raspberry pi 3?
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\

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago - 10 years 4 months ago #2402 by josephm
Replied by josephm on topic Installing Headless server on Raspberry pi 3?
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: 10 years 4 months ago by josephm.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2403 by Luis Ángel
Replied by Luis Ángel on topic Installing Headless server on Raspberry pi 3?
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:
Code:
/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\

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2404 by josephm
Replied by josephm on topic Installing Headless server on Raspberry pi 3?
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:

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2412 by josephm
Replied by josephm on topic Installing Headless server on Raspberry pi 3?
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,

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2424 by Luis Ángel
Replied by Luis Ángel on topic Installing Headless server on Raspberry pi 3?
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\

Please Log in or Create an account to join the conversation.

Moderators: Luis Ángel
Powered by Kunena Forum

Thanks for downloading YACReader!

Your download is starting.

YACReader for iOS and Android

Connect to YACReaderLibrary to browse, read remotely and import comics. Your reading progress is synchronized across devices.

Download on the App Store Get it on Google Play Available at Amazon Appstore

Discover all the features on the iOS and Android pages, and learn how to use them in the iOS and Android user guides.

Support YACReader

YACReader for desktop and server is free to use, but it is not free to develop: maintaining this website, developer programs, code signing certificates, test devices and, of course, all the time it takes. Less than 0.01% of downloads end in a donation, so any amount counts.

By supporting the project you help keep it regularly updated and, most importantly, alive. Thanks!