Welcome to the forum, Guest

  • Page:
  • 1
  • 2

TOPIC: No-gui Patch Errors

No-gui Patch Errors 8 years 3 months ago #1997

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

If you're using YACReader from my repo you already have unarr installed as a library and are probably only missing the header files. To get these, you'll need to install libunarr-dev from the repository. Once this is installed qmake will detect and use it.

As for the header file qmake complains about, that is caused by me forgetting to update the static wrapper code after an upstream change 8 months ago. I always build unarr seperate, so I didn't notice this.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

No-gui Patch Errors 8 years 2 months ago #2001

carmat06

Offline

Fresh Boarder

Posts: 17

Karma: 0

Thanks for the tips. I installed libunarr-dev and those errors went away. Now I have a new error, after I ran make it exited with the following error:
fatal error: poppler-qt4.h: No such file or directory
  #include "poppler-qt4.h"
                          ^
compilation terminated.
make: *** [library_creator.o] Error 1

I tried installing libpoppler-dev, libpoppler-dev-qt-4, and libpoppler-dev-qt-5 but it did't help. Any ideas?
The administrator has disabled public write access.

No-gui Patch Errors 8 years 2 months ago #2003

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

Hi,

try this:
make distclean
qmake-qt5 YACReaderLibraryServer.pro

The poppler-qt4.h include is a leftover from YACReader's Qt4 days. It's only active when trying to build with Qt4 (no longer supported but we didn't have time to purge everything Qt4 related), which can happen when the qmake command defaults to the Qt4 version of qmake.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

No-gui Patch Errors 8 years 2 months ago #2005

carmat06

Offline

Fresh Boarder

Posts: 17

Karma: 0

Thanks again for the help. I just tried this, but I'm getting this error now:
~/Downloads/yacreader/YACReaderLibrary $ qmake-qt5 YACReaderLibraryServer.pro
No command 'qmake-qt5' found, did you mean:
 Command 'qmake-qt4' from package 'qt4-qmake' (main)
qmake-qt5: command not found
The administrator has disabled public write access.

No-gui Patch Errors 8 years 2 months ago #2006

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

Well, for this error,
apt-get install qt5-qmake

should help to get you one step closer. You probably still have to install a few more -dev packages to make it work. For reference, here's the build dependency list for my .deb packages:
qt5-qmake, desktop-file-utils, qtbase5-dev, qtmultimedia5-dev, libpoppler-qt5-dev, qtscript5-dev, libqt5opengl5-dev, libglu1-mesa-dev, libunarr-dev, qtdeclarative5-dev

For the headless version you won't need libglu1 and qtdeclatative.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.
The following user(s) said Thank You: carmat06

No-gui Patch Errors 8 years 2 months ago #2007

carmat06

Offline

Fresh Boarder

Posts: 17

Karma: 0

For anyone following along, I got past this error by doing this:
sudo apt-get install qt5-default

After installing all the dependencies selmf listed previously I was able to successfully build YACReaderLibraryServer and start it. It found my existing library and appears to be working well.

Next I'm going to try running it in a detached screen session.

Edit: Added screen commands

To start it in a detached screen session called YACHeadless:
screen -S YACHeadless -d -m '/home/matt/Downloads/yacreader/YACReaderLibrary/YACReaderLibraryServer' start

To stop it running in a detached screen session:
screen -S YACHeadless -p 0 -X quit
Last Edit: 8 years 2 months ago by carmat06. Reason: Added screen commands
The administrator has disabled public write access.

No-gui Patch Errors 8 years 1 week ago #2250

Shemes

Offline

Fresh Boarder

Posts: 2

Karma: 0

Hi

Is there any possibility or are there any plans of cross-compile to ARM? This could be an awesome addition to a QNAP. I don't know all the dependences, but I think QT has the possibility.

Thanks for all the work!
The administrator has disabled public write access.

No-gui Patch Errors 8 years 1 week ago #2254

Luis Ángel

Offline

Administrator

Posts: 2614

Thank you received: 543

Karma: 21

I compiled yacreader for ARM using a Raspberri Pi 2. Now that YACReaderLibraryServer has been released the --no-gui option shouldn't be needed anymore. Just compile YACReaderLibraryServer.pro project.
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.

No-gui Patch Errors 8 years 1 week ago #2255

Shemes

Offline

Fresh Boarder

Posts: 2

Karma: 0

Thanks! I'll try. I didn't see the separation between one and the ohter.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum