Skip to content
YACReader
Help and support for Linux users.

Can't compile on Debian Jesse

More
10 years 4 months ago #2418 by AnMartini
Replied by AnMartini on topic Can't compile on Debian Jesse
Hi,
I'm sorry to post again, but I was wondering if you could confirm that this is a YACReaderLibrary Server problem and not a problem of my installation.
Thank you.

- Andrea

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

More
10 years 4 months ago #2423 by Luis Ángel
Replied by Luis Ángel on topic Can't compile on Debian Jesse
I use YACReaderLibraryServer on a daily basis, so I think that it is not an issue with YACReaderLibraryServer.

Please, create a new folder and put a couple of comics inside it. Then create a library in that folder using YACReaderLibraryServer. After that, go to the initial folder and zip the hidden folder ".yacreaderlibrary". Send it to me so I can see what is going on there. I will neet the full path to that folder too, f.e. /mount/external/MyComicsTest.

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 following user(s) said Thank You: AnMartini

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

More
10 years 4 months ago - 10 years 4 months ago #2425 by AnMartini
Replied by AnMartini on topic Can't compile on Debian Jesse
Here is the zip:
www.dropbox.com/s/lepgjgvqvrrdu2w/yacreaderlibrary.zip?dl=0
The full path to the folder is
Code:
/home/pi/ComicsTest
Here is the terminal:
Code:
pi@raspberrypi:~ $ YACReaderLibraryServer create-library "ComicsTest" ComicsTest QSqlDatabasePrivate::removeDatabase: connection 'ComicsTest/.yacreaderlibrary/library.ydb' is still in use, all queries will cease to work. Processing comics..Done! Number of comis processed = 2 pi@raspberrypi:~ $ YACReaderLibraryServer start Logging to /home/pi/.local/share/YACReader/YACReaderLibrary/server_log.log INFO 2016-05-19T14:50:50.989 YACReaderLibraryServer attempting to start INFO 2016-05-19T14:50:50.995 ---------- System & configuration ---------- INFO 2016-05-19T14:50:50.996 SO : Linux (unknown version) INFO 2016-05-19T14:50:50.996 7z : found INFO 2016-05-19T14:50:50.996 Libraries: QMap(("ComicsTest", QPair(2,"ComicsTest"))("Fumetti", QPair(1,"Fumetti"))) INFO 2016-05-19T14:50:50.997 -------------------------------------------- INFO 2016-05-19T14:50:51.003 YACReaderLibrary starting

Thank you for your help.

- Andrea
Last edit: 10 years 4 months ago by AnMartini.

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

More
10 years 4 months ago - 10 years 4 months ago #2430 by Luis Ángel
Replied by Luis Ángel on topic Can't compile on Debian Jesse
Thank you for your help. For some reason the comics are imported storing the wrong path in the database...

I have compiled and tested YACReaderLibraryServer creating a new library and it is generating the right information. Tested in Raspbian and Windows 10.

What version of Qt are you using?

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\
Last edit: 10 years 4 months ago by Luis Ángel.
The following user(s) said Thank You: AnMartini

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

More
10 years 4 months ago #2437 by AnMartini
Replied by AnMartini on topic Can't compile on Debian Jesse
Code:
QMake version 3.0 Using Qt version 5.3.2 in /usr/lib/arm-linux-gnueabihf

- Andrea

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

More
10 years 4 months ago #2440 by Luis Ángel
Replied by Luis Ángel on topic Can't compile on Debian Jesse
AnMartini, are you creating the library using a relative path?


Try with something like this:
Code:
YACReaderLibraryServer create-library MyComics /home/pi/ComicsTest

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 #2441 by selmf
Replied by selmf on topic Can't compile on Debian Jesse
Hi AnMartini,

could you test something for me? Please remove all you libraries using "YACReaderLibraryServer remove-library library" and then recreate them using full paths, i.e something like:
Code:
YACReaderLibraryServer create-library Comicstest /home/pi/ComicsTest/

After that, please check if these libraries are working for you.

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 #2442 by Luis Ángel
Replied by Luis Ángel on topic Can't compile on Debian Jesse
Just in case, remove manually .yacreaderlibrary hidden folder from /home/pi/ComicsTest/ too.

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 #2444 by josephm
Replied by josephm on topic Can't compile on Debian Jesse
Hi, finally i reached to make it working on Raspberry Pi 3

YACReaderlibraryserver create-library MyComics "/home/pi/MyComics"

The created .yacreaderlibrary is owned by root and I changed it by owner pi:

sudo chown -R pi:pi .yacreaderlibrary

And then launched with

sudo YACReaderlibraryserver start MyComics


Here is all the procedure to install YACReaderlibraryServer on Raspberry Pi:

# 1- Install last version of Raspbian from www.raspberrypi.org/downloads/raspbian/ and create a microSD card following the installation guide on the page

# 2- From a console in Raspbian or by SSH (I used Putty from a PC with username: pi, password: raspberry)
sudo raspi-config (from the Menu) and Expand Filesystem + Finish and reboot

# 3- After rebooting, from a console type:
sudo apt-get update

# 4- Install Qt5 and Dependencies
sudo apt-get install -y -q mercurial qt5-qmake qt5-default qtbase5-dev
sudo apt-get install -y -q libpoppler-qt5-dev qtscript5-dev
sudo apt-get install sqlite3 libsqlite3-dev

# 5- Download yacreader source files
mkdir ~/yacreader
hg clone bitbucket.org/luisangelsm/yacreader ~/yacreader

# 6- Install libunarr library from source
cd ~/yacreader/compressed_archive/
wget github.com/selmf/unarr/archive/master.zip
unzip master.zip
# 6- or Install libp7zip library from source
# cd ~/yacreader/compressed_archive/
# wget sourceforge.net/projects/p7zip/files/p7z...20.1_src_all.tar.bz2
# tar xvf p7zip_9.20.1_src_all.tar.bz2
# mv p7zip_9.20.1_src_all.tar.bz2 libp7zip

# 7- Make and install YACReaderLibraryServer
cd ~/yacreader/YACReaderLibraryServer
# If 7zip
# qmake YACReaderLibraryServer.pro CONFIG+=7zip CONFIG+=standalone_server
# if unarr
qmake YACReaderLibraryServer.pro

make
make install

# 8- Create library with name MyComics and in directory /media/pi/MyComics/
sudo YACReaderLibraryServer create-library MyComics /media/pi/MyComics/

# 9- Change owner of .yacreaderlibrary to pi
cd /media/pi/MyComics/
chown -R pi:pi .yacreaderlibrary

# 10- Launch Server with library LibName
sudo YACReaderLibraryServer start LibName &

I hope this will help people install on Rasberry.
To do: mount a NAS on rasberry and make working the library from NAS

Thanks to all for helping, Enjoy.
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 #2445 by selmf
Replied by selmf on topic Can't compile on Debian Jesse
HA! Great :)

I was just about to write in your thread to ask you to retry creating the library using absolute file paths. Any idea how you endend up having .yacreaderlibrary owned by root?

Word of advice regarding NAS - this can be tricky. We have been having more than one user complaining about issues with this combination. If you run into problems, add the mount option "nolock" to your network share, this should take care of it.

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.

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!