I am new to the Linux world and I love it. However, I am having a hard time installing a writing software called Koalawriter. I have installed pyq4 to see if that would help according to the site, but that did not work. I did do the sudo and then the password to give the system access to the kernel but it keeps telling me that it could not find the package and I know I have downloaded the packages. Any help with this would be great. Please remember I am new to this so please do not use huge terms or abbreviations that could make things more confusing. I am self taught in all this and i have tried everything I know how by looking up help on Google. Thanks in advance.
p.s. I am wanting to learn how to hack using Linux.
if this is not where I am supposed to post this discussion then please let me know.
H
No one seems to have built this on the OBS, so I guess you are working from Source. So we can assume you downloaded an archive and have extracted that?
You need to navigate to the extracted files and ‘open terminal here’ or cd your way there.
Remember, that usually the extracted files will also contain a file with info on requires and install direction.
Took a look at this. Won’t work, to me it looks like the phonon file layout may have changed since the source was written, and I can’t find any new location for the missing directory in the makefile recipe.
The error:
# makeg++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/phonon -I/usr/include -I/usr/include/phonon_compat -I. -o main.o src/main.cpp
In file included from src/mainwindow.h:19:0,
from src/main.cpp:11:
src/editor.h:30:32: fatal error: phonon/mediaobject.h: No such file or directory
#include <phonon/mediaobject.h>
^
compilation terminated.
Makefile:248: recipe for target 'main.o' failed
make: *** [main.o] Error 1
To get to the above,
I first installed dependencies (and in the process determined that the app is written to 32-bit libphonon)
zypper in make gcc libqt4-devel libphonon4 libphonon4-32bit libphonon4 qt-creator
Downloaded the source and uncompressed,
cd to the project root (root of the uncompressed files)
Run
qmake && make
So, it seems that the app won’t install unless someone digs through to verify why the missing library directory or simply try removing the makefile recipe command (but I didn’t want to start down that rabbit hole).
Took a look at this. Won’t work, to me it looks like the phonon file
layout may have changed since the source was written, and I can’t find
any new location for the missing directory in the makefile recipe.
-DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore
-I/usr/include/QtGui -I/usr/include/phonon -I/usr/include
-I/usr/include/phonon_compat -I. -o main.o src/main.cpp In file
included from src/mainwindow.h:19:0, from src/main.cpp:11:
src/editor.h:30:32: fatal error: phonon/mediaobject.h: No such file or
directory #include <phonon/mediaobject.h> ^ compilation terminated.
Makefile:248: recipe for target ‘main.o’ failed make: *** [main.o]
Error 1
To get to the above,
I first installed dependencies (and in the process determined that the
app is written to 32-bit libphonon)
Code:
zypper in make gcc libqt4-devel libphonon4 libphonon4-32bit
libphonon4 qt-creator --------------------
Downloaded the source and uncompressed,
cd to the project root (root of the uncompressed files)
Run
Code:
qmake && make
So, it seems that the app won’t install unless someone digs through to
verify why the missing library directory or simply try removing the
makefile recipe command (but I didn’t want to start down that rabbit
hole).
TSU
Hi
I have it building fine as an rpm, need to clean up a few things, add a
desktop file and an install routine.
Will pop it up on OBS soon.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Just a suggestion if anyone <really> wants to pursue this…
I’m pretty sure the compile problems have little to do with QT but everything to do with the file layout of the phonon subsystem.
Probably obviously, all these phonon references would support the audio/musical features of the app.
If someone was interested in an app without the audio features, it might compile after removing all the phonon references from the makefile.
Also,
Another try would be to build in a 12.3 environment, which would be approximate the time of the last source update.