Skip to content

make install currently broken. #289

Closed

Description

@annejan

After moving sources make install seems to not do anything.

Activity

  1. self-assigned this
    on Feb 2, 2017
  2. JonasGroeger commented on Feb 17, 2017

    @JonasGroeger

    I'm not knowledgable in Make / QMake expert so I can't provide a pull request for this but here is the output when trying to build the master branch:

    $ git clone git@github.com:IJHack/QtPass.git
    $ cd QtPass
    $ qmake && make && make install
    WARNING: Failure to find: src/resources.qrc
    cd src/ && /usr/lib/x86_64-linux-gnu/qt4/bin/qmake /tmp/QtPass/src/src.pro -o Makefile
    sh: 1: lupdate-qt4: not found
    sh: 1: lrelease-qt4: not found
    cd src/ && make -f Makefile 
    make[1]: Entering directory '/tmp/QtPass/src'
    lrelease-qt4 ../localization/localization_nl_NL.ts -qm ../localization/localization_nl_NL.qm
    make[1]: lrelease-qt4: Command not found
    Makefile:251: recipe for target '../localization/localization_nl_NL.qm' failed
    make[1]: *** [../localization/localization_nl_NL.qm] Error 127
    make[1]: Leaving directory '/tmp/QtPass/src'
    Makefile:39: recipe for target 'sub-src-make_default' failed
    make: *** [sub-src-make_default] Error 2
    

    Hope this helps.

  3. annejan commented on Feb 17, 2017

    @annejan
    MemberAuthor

    In your case the error is caused by two missing applications.

    sh: 1: lupdate-qt4: not found
    sh: 1: lrelease-qt4: not found
    

    These are part of the qt linguist tools (used for localisation) . .
    Also you are attempting to compile QtPass with qt4 . . is there any specific reason you are not using qt5 yet?

  4. JonasGroeger commented on Feb 17, 2017

    @JonasGroeger

    Nope. I'm trying to build with qt5 but there is no lrelease for it?! See http://packages.ubuntu.com/search?suite=yakkety&arch=any&mode=exactfilename&searchon=contents&keywords=lrelease-qt5

    With qmake -qt=qt5 && make && make install it fails with the same error: make[1]: lrelease-qt4: Command not found

    Seems like qt4 is required after all?

  5. annejan commented on Feb 17, 2017

    @annejan
    MemberAuthor

    That's because qt4 is deprecated so it's just called lrelease
    http://packages.ubuntu.com/search?mode=exactfilename&suite=yakkety&section=all&arch=any&keywords=lrelease&searchon=contents

    Don't have access to an Ubuntu VM to check but I'm pretty sure it should be in the qttools5-dev-tools package.

    Perhaps a make clean would help with the qt5 build attempting to use qt4 tooling (or it's fallback behavior).

  6. annejan commented on Feb 28, 2017

    @annejan
    MemberAuthor

    Fixed in 13bddc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions