Ticket #10901 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

FindQwt: Unrecognised version in Debian/jessie

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: minor Milestone: Release 3.5
Component: Framework Keywords: Maintenance
Cc: j.wuttke@… Blocked By:
Blocking: Tester: Federico Montesino Pouzols

Description (last modified by Martyn Gigg) (diff)

In Debian/jessie, package libqwt-dev, file qwt_global.h has #define QWT_VERSION_STR "6.0.0-svn" which is not recognized by FindQwt.cmake: "Unrecognized Qwt version (cannot find QWT_VERSION_STR in qwt_global.h)

Change History

comment:1 Changed 6 years ago by Martyn Gigg

  • Keywords Maintenance added
  • Status changed from new to assigned

comment:2 Changed 6 years ago by Martyn Gigg

  • Description modified (diff)

comment:3 Changed 5 years ago by Nick Draper

  • Milestone changed from Release 3.4 to Release 3.5

Moved to R3.5 at the R3.4 code freeze

comment:4 Changed 5 years ago by Martyn Gigg

  • Status changed from assigned to verify
  • Resolution set to fixed

This is being verified as pull request #812.

comment:5 Changed 5 years ago by Federico Montesino Pouzols

  • Status changed from verify to verifying
  • Tester set to Federico Montesino Pouzols

comment:6 Changed 5 years ago by Federico Montesino Pouzols

It works well locally on debian. When I unstalled libqwt5-qt4-dev and installed libqwt-dev I got this: ` -- Found Qwt: /usr/lib/libqwt.so CMake Error at CMakeLists.txt:117 (message):

Qwt version 5 is required, found: 6.0.0-svn

` Then when I install qwt5 again and do a rebuild_cache etc. everything goes well.

I noticed that in the rare event that you don't have v5 as when I was testing this (unstalling v5 after having compiled with it) cmake still keeps cached somewhere that it wants to look for qwt_global.h under qwt-qt4 and so you get an error saying that file STRINGS file "/usr/include/qwt-qt4/qwt_global.h" cannot be read. That must be cached in a way that clean or rebuild_cache do not seem to clean.

comment:7 Changed 5 years ago by Federico Montesino Pouzols

  • Status changed from verifying to closed

Merge pull request #812 from mantidproject/10901_fix_findqwt_debian

Allow an arbitrary trailing string on the qwt version

Full changeset: e1aca857446d75fd0293c0b1ef9bc983efd9c766

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11740

Note: See TracTickets for help on using tickets.