On 12.1.2014 16:39, Niels Terp wrote:
> Hi there,
>
> Now I have completed the full chapter 25 - X Libraries, and I have installed
> both QT4 and QT5, and I have also installed qtchooser and configured QT4 to
> be the default.
>
> Now in KDE, when I attempt to build attica, I get the error:
>
> CMake Error at CMakeList.txt:10 (find_package):
> Could not find a package configuration file provided by "ECM" (requested
> version 0.0.6) with any of the following names:
>
> ECMConfig.cmake
> Ecm-config.cmake
>
> I have made a temporary "solution" by deleting QT5, installing attica (which
> now builds perfectly) and then reinstalling QT5 in the end of the
> installation script.
>
> But this is not a very elegant solution, and it makes it nessesary to have
> the QT5 RPM file from the beginning - and when everything is finished you
> would not have that, because it is generated and installed in another
> chapter.
>
> Greetings
>
> Niels
>
You're obviously using older instructions. Current instructions have:
cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DQT4_BUILD=ON
And further below in command explanations:
-DQT4_BUILD=ON: This switch forces the package to build against Qt4 even
if Qt5 is present on the system. Remove it if you want to build the
package against Qt5.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page