Results 1 to 7 of 7

Thread: help I need this software

  1. #1

    Exclamation help I need this software

    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

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: help I need this software

    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.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2010
    Location
    Spain
    Posts
    110

    Default Re: help I need this software

    Hi !

    Seems a bit outdated software... hasn't been updated since 2011...

    Anyway in his official web they give the way to install the package:

    - https://code.google.com/p/koalawriter/

    replace the apt-get install instruction of Debian by zypper in of openSUSE to install the dependencies

    've phun!!
    Registered GNU/Linux user:#528067 - openSUSE Tumbleweed + KDE

    "we are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further."
    Richard Dawkins

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: help I need this software

    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:
    Code:
    # 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)
    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

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: help I need this software

    On Tue 12 May 2015 05:16:01 PM CDT, tsu2 wrote:


    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:

    Code:
    --------------------
    # 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)

    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!


  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: help I need this software

    Hi
    So building and installing, but now segfaulting....

    I'm guessing it's related to these warnings;
    Code:
    [  182s] src/mainwindow.cpp:185:63: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]      editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::setMusic(int)':
    [  182s] src/mainwindow.cpp:248:63: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]      editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::searchClick()':
    [  182s] src/mainwindow.cpp:324:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp:328:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::searchMusic()':
    [  182s] src/mainwindow.cpp:339:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp:344:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                    ^
    [  184s] g++ -c -pipe -O2 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -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 editor.o src/editor.cpp
    [  186s] src/editor.cpp: In constructor 'Editor::Editor(int, int, int, int, QColor, int, QFont, qreal, bool, bool)':
    [  186s] src/editor.cpp:16:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  186s]      clickObject->setCurrentSource(currentClick);
    [  186s]                                                ^
    [  186s] src/editor.cpp:21:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  186s]      musicObject->setCurrentSource(currentMusic);
    [  186s]                                                ^
    [  187s] src/editor.cpp: At global scope:
    [  187s] src/editor.cpp:368:6: warning: unused parameter 'event' [-Wunused-parameter]
    [  187s]  void Editor::paintEvent(QPaintEvent *event)
    [  187s]       ^
    [  187s] src/editor.cpp:426:6: warning: unused parameter 'event' [-Wunused-parameter]
    [  187s]  void Editor::mouseReleaseEvent(QMouseEvent *event)
    [  187s]       ^
    [  187s] src/editor.cpp: In member function 'void Editor::replayMusic()':
    [  187s] src/editor.cpp:1033:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  187s]      musicObject->setCurrentSource(currentMusic);
    Resulting in the following;
    Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff6b67f4a in QVariant::QVariant(QString const&) () from /usr/lib64/libQtCore.so.4
    Not a QT expert, so if anyone has some pointers, probably abandon-ware....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: help I need this software

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So building and installing, but now segfaulting....

    I'm guessing it's related to these warnings;
    Code:
    [  182s] src/mainwindow.cpp:185:63: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]      editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::setMusic(int)':
    [  182s] src/mainwindow.cpp:248:63: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]      editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::searchClick()':
    [  182s] src/mainwindow.cpp:324:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp:328:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->clickObject->setCurrentSource(editor->currentClick);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp: In member function 'void MainWindow::searchMusic()':
    [  182s] src/mainwindow.cpp:339:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                    ^
    [  182s] src/mainwindow.cpp:344:67: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  182s]          editor->musicObject->setCurrentSource(editor->currentMusic);
    [  182s]                                                                    ^
    [  184s] g++ -c -pipe -O2 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -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 editor.o src/editor.cpp
    [  186s] src/editor.cpp: In constructor 'Editor::Editor(int, int, int, int, QColor, int, QFont, qreal, bool, bool)':
    [  186s] src/editor.cpp:16:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  186s]      clickObject->setCurrentSource(currentClick);
    [  186s]                                                ^
    [  186s] src/editor.cpp:21:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  186s]      musicObject->setCurrentSource(currentMusic);
    [  186s]                                                ^
    [  187s] src/editor.cpp: At global scope:
    [  187s] src/editor.cpp:368:6: warning: unused parameter 'event' [-Wunused-parameter]
    [  187s]  void Editor::paintEvent(QPaintEvent *event)
    [  187s]       ^
    [  187s] src/editor.cpp:426:6: warning: unused parameter 'event' [-Wunused-parameter]
    [  187s]  void Editor::mouseReleaseEvent(QMouseEvent *event)
    [  187s]       ^
    [  187s] src/editor.cpp: In member function 'void Editor::replayMusic()':
    [  187s] src/editor.cpp:1033:47: warning: 'Phonon::MediaSource::MediaSource(const QString&)' is deprecated (declared at /usr/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
    [  187s]      musicObject->setCurrentSource(currentMusic);
    Resulting in the following;
    Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff6b67f4a in QVariant::QVariant(QString const&) () from /usr/lib64/libQtCore.so.4
    Not a QT expert, so if anyone has some pointers, probably abandon-ware....
    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.

    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •