Bug 237543 - sci-chemistry/avogadro-0.8.1 - CMake Error: The installed Qt version 4.3.3 is too old, at least version 4.3.4 is required
Bug#: 237543 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: cryos@gentoo.org Reported By: andreas.tarp@web.de
Component: Applications
URL: 
Summary: sci-chemistry/avogadro-0.8.1 - CMake Error: The installed Qt version 4.3.3 is too old, at least version 4.3.4 is required
Keywords:  
Status Whiteboard: 
Opened: 2008-09-13 08:21 0000
Description:   Opened: 2008-09-13 08:21 0000
sci-chemistry/avogadro-0.8.1 fails to merge wenn Qt-4.3.3 is installed with
following error message:

CMake Error: The installed Qt version 4.3.3 is too old, at least version 4.3.4
is required
-- Configuring done
 *
 * ERROR: sci-chemistry/avogadro-0.8.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2083:  Called die
 * The specific snippet of code:
 *       cmake -DCMAKE_INSTALL_PREFIX=/usr
-DLIBRARY_OUTPUT_PATH=PROJECT_BINARY_DIR/$(get_libdir)
-DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=${USEPYTHON}
-DLIB_INSTALL_DIR=$(get_libdir) -DCMAKE_C_COMPILER=$(type -p $(tc-getCC))
-DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX)) || die "cmake failed";
 *  The die message:
 *   cmake failed
 *


Reproducible: Always

Steps to Reproduce:
1. try to merge avogadro-0.8.1 with Qt 4.3.3 installed

Actual Results:  
CMake Error: The installed Qt version 4.3.3 is too old, at least version 4.3.4
is required
-- Configuring done
 *
 * ERROR: sci-chemistry/avogadro-0.8.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2083:  Called die
 * The specific snippet of code:
 *       cmake -DCMAKE_INSTALL_PREFIX=/usr
-DLIBRARY_OUTPUT_PATH=PROJECT_BINARY_DIR/$(get_libdir)
-DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=${USEPYTHON}
-DLIB_INSTALL_DIR=$(get_libdir) -DCMAKE_C_COMPILER=$(type -p $(tc-getCC))
-DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX)) || die "cmake failed";
 *  The die message:
 *   cmake failed
 *


Expected Results:  
ebuild should have right Qt dependencies.

workaround is to manually upgrad Qt to needed version

------- Comment #1 From Markus Dittrich 2008-09-22 13:30:05 0000 -------
Thank you very much for the note! I just updated the dependencies
on Qt to require version 4.3.4 or newer.

best,
Markus