Results 1 to 5 of 5

Thread: Error installing application from source, Qt 4.x not found

  1. #1

    Default Error installing application from source, Qt 4.x not found

    Code:
    CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1316 (message):
      Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
    Call Stack (most recent call first):
      CMake/cdat_modules/qt4_pkg.cmake:2 (find_package)
      CMakeLists.txt:563 (include)
    The application I am trying to install, UV-CDAT(https://github.com/UV-CDAT/uvcdat) does not implicitly support
    openSUSE, which is why I am attempting to install it from source.

    I have installed libqt4-devel, and my PATH is pointing towards usr/bin, where qmake and cmake are.

    output from the command "qmake -v":
    QMake version 2.01a
    Using Qt version 4.8.7 in a lib directory of miniconda (a package & environment manager + 3rd party python distribution) ie. not the default openSUSE one. I can see how this may be part of the problem.

    Running the qmake -v in usr/bin:
    QMake version 2.01a
    Using Qt version 4.8.6 in /usr/lib64

    I have cmake v 3.0.2 (in usr/bin), running on openSUSE 13.2

    EDIT: I also found this https://github.com/ContinuumIO/anaco...ues/issues/210, but I am currently using anaconda version 1.0.2.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,110
    Blog Entries
    15

    Default Re: Error installing application from source, Qt 4.x not found

    Quote Originally Posted by miktoki View Post
    <snip>
    Using Qt version 4.8.7 in a lib directory of miniconda (a package & environment manager + 3rd party python distribution) ie. not the default openSUSE one. I can see how this may be part of the problem.
    Hi
    This is likely the issue, you would need to check and define all the locations by the sounds of it, eg -DQT_QMAKE_EXECUTABLE="/path/to/qmake"

    Why using miniconda as opposed to openSUSE devel repository for packages? Or why not use docker for miniconda and/or uvcdat?
    Last edited by malcolmlewis; 03-Feb-2016 at 08:40.
    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!

  3. #3

    Default Re: Error installing application from source, Qt 4.x not found

    Quote Originally Posted by malcolmlewis View Post
    Hi
    This is likely the issue, you would need to check and define all the locations by the sounds of it, eg -DQT_QMAKE_EXECUTABLE="/path/to/qmake"
    Thanks, that did the trick.

    Quote Originally Posted by malcolmlewis View Post
    Why using miniconda as opposed to openSUSE devel repository for packages? Or why not use docker for miniconda and/or uvcdat?
    I haven't tried out docker, will check it out.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,110
    Blog Entries
    15

    Default Re: Error installing application from source, Qt 4.x not found

    On Thu 04 Feb 2016 01:16:02 PM CST, miktoki wrote:

    malcolmlewis;2752216 Wrote:
    > Hi
    > This is likely the issue, you would need to check and define all the
    > locations by the sounds of it, eg
    > -DQT_QMAKE_EXECUTABLE="/path/to/qmake"


    Thanks, that did the trick.

    malcolmlewis;2752216 Wrote:
    >
    > Why using miniconda as opposed to openSUSE devel repository for
    > packages? Or why not use docker for miniconda and/or uvcdat?
    >


    I haven't tried out docker, will check it out.


    Hi
    For uvcdat they include the docker file (based on ubuntu), just
    extract the tarball, cd to the directory and run docker build . to get
    started (assuming dicker is installed, running etc...)
    https://docs.docker.com/engine/reference/builder/

    Have a read here;
    http://forums.opensuse.org/showthread.php?t=500460

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-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!


  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,110
    Blog Entries
    15

    Default Re: Error installing application from source, Qt 4.x not found

    On Thu 04 Feb 2016 01:16:02 PM CST, miktoki wrote:

    malcolmlewis;2752216 Wrote:
    > Hi
    > This is likely the issue, you would need to check and define all the
    > locations by the sounds of it, eg
    > -DQT_QMAKE_EXECUTABLE="/path/to/qmake"


    Thanks, that did the trick.

    malcolmlewis;2752216 Wrote:
    >
    > Why using miniconda as opposed to openSUSE devel repository for
    > packages? Or why not use docker for miniconda and/or uvcdat?
    >


    I haven't tried out docker, will check it out.


    Hi
    For uvcdat they include the docker file (based on ubuntu), just
    extract the tarball, cd to the directory and run docker build . to get
    started (assuming dicker is installed, running etc...)
    https://docs.docker.com/engine/reference/builder/

    Have a read here;
    http://forums.opensuse.org/showthread.php?t=500460

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-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!


Posting Permissions

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