Re: Development Tools problems for build from source Krita.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/24/19 3:26 PM, Cătălin George Feștilă wrote:
I install 'Development Tools', but some tools are not in this group and PythonLibrary is not set. Any idea how to fix it?
dnf group install 'Development Tools'
dnf install cmake
dnf install gcc-c++
See output of build from source for  krita 4.2.8
[mythcat@localhost build]$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/krita-4.2.8-beta1/install $HOME/krita-4.2.8-beta1/ -DWITH_GMIC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=ALL -DPACKAGERS_BUILD=ON -DBUILD_TESTING=OFF -DKDE4_BUILD_TESTS=OFF
-- The CXX compiler identification is GNU 9.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CMake version: 3.14.5
...
-- Krita version: 4.2.8-beta1
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.5", minimum required is "3.0")
-- Python system site-packages directory: /usr/lib64/python3.7/site-packages
-- Could NOT find PythonLibrary (missing: PYTHON_LIBRARY) (Required is at least version "3.0")
CMake Error at CMakeLists.txt:253 (find_package):
   By not providing "FindECM.cmake" in CMAKE_MODULE_PATH this project has
   asked CMake to find a package configuration file provided by "ECM", but
   CMake did not find one.

   Could not find a package configuration file provided by "ECM" (requested
   version 5.22) with any of the following names:

     ECMConfig.cmake
     ecm-config.cmake

   Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
   to a directory containing one of the above files.  If "ECM" provides a
   separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/mythcat/krita-4.2.8-beta1/CMakeFiles/CMakeOutput.log".
See also "/home/mythcat/krita-4.2.8-beta1/CMakeFiles/CMakeError.log".

You are also going to need the build requirement for krita.  Try:

wget https://src.fedoraproject.org/rpms/krita/raw/master/f/krita.spec
dnf builddep krita.spec


--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux