Problem to download cmake extra modules v 1.7


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Problem to download cmake extra modules v 1.7
# 1  
Old 04-08-2019
Problem to download cmake extra modules v 1.7

Hello. I am currently trying to compile kde-baseapps.

I issue this command:
Quote:
/media/34GB/Arquivos-de-Programas-Linux/cmake-2.8.12.2/bin/cmake /media/34GB/Arquivos-de-Programas-Linux/kde-baseapps/temp/..
which returns
Quote:
Make Error at kdialog/CMakeLists.txt:6 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 1.7.0) 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/leopoldo/Arquivos-de-Programas-Linux/CMakeFiles/CMakeOutput.log".
So I need this ECM stuff.

I found this: extra-cmake-modules.git - Extra modules and scripts for CMake.. When I click in the corresponding link in the column, I receive this:

Quote:
Bad tag reference: e075c903791dca5bde8dff53d93f185868598006
This also happens when I click any link in this column that starts with "tag".

So what I shall do now? Thanks for the help.
# 2  
Old 04-08-2019
According to that page, you can clone that repo with this command:

Code:
git://anongit.kde.org/extra-cmake-modules.git

Try that and let us know if it worked.

Naturally, you need to have git installed on your system.
# 3  
Old 04-10-2019
Quote:
Originally Posted by Neo
According to that page, you can clone that repo with this command:

Code:
git://anongit.kde.org/extra-cmake-modules.git

Try that and let us know if it worked.

Naturally, you need to have git installed on your system.
Ok, I clone it. Unpacked it, entered the dir, created a dir called "temp", entered temp and executed:

Code:
/media/34GB/Arquivos-de-Programas-Linux/Cmake-2.8.12.2/bin/cmake ..

It printed a lot of things on the terminal, whose last lines were:

Code:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/leopoldo/Arquivos-de-Programas-Linux/extra-cmake-modules/Temp

I typed
Code:
export CMAKE_PREFIX_PATH=/media/34GB/Arquivos-de-Programas-Linux/extra-cmake-modules/Temp/

where
Code:
ECMConfig.cmake

it is in

Then typed:
Code:
/media/34GB/Arquivos-de-Programas-Linux/Cmake-2.8.12.2/bin/cmake /media/34GB/Arquivos-de-Programas-Linux/kde-baseapps/temp/..

and received:

Code:
CMake Error at /media/34GB/Arquivos-de-Programas-Linux/extra-cmake-modules/Temp/ECMConfig.cmake:37 (include):
  include could not find load file:

    /media/34GB/share/ECM/modules//ECMUseFindModules.cmake
Call Stack (most recent call first):
  kdialog/CMakeLists.txt:6 (find_package)


CMake Error at kdialog/CMakeLists.txt:10 (include):
  include could not find load file:

    KDEInstallDirs


CMake Error at kdialog/CMakeLists.txt:11 (include):
  include could not find load file:

    KDECMakeSettings


CMake Error at kdialog/CMakeLists.txt:12 (include):
  include could not find load file:

    KDEFrameworkCompilerSettings


CMake Error at kdialog/CMakeLists.txt:15 (find_package):
  By not providing "FindKF5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KF5", but
  CMake did not find one.

  Could not find a package configuration file provided by "KF5" with any of
  the following names:

    KF5Config.cmake
    kf5-config.cmake

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


 -- Configuring incomplete, errors occurred!

So I need another KDE stuff installed. Something called KF5?




Moderator's Comments:
Mod Comment Please use CODE (not QUOTE) tags as required by forum rules!

Last edited by RudiC; 04-10-2019 at 07:45 PM.. Reason: Changed QUOTE to CODE tags.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Fedora

How to download latest version of cmake using tar xzf?

...... (3 Replies)
Discussion started by: larry burns
3 Replies

2. Shell Programming and Scripting

Have problem with extra EOLs in my CSV - need help cleaning out

Hi Everyone, Searching the forum, I came across another closed thread, that appears to be either the same problem, or very close to what I'm experiencing. Closed thread for reference is at: https://www.unix.com/shell-programming-and-scripting/241664-removing-cr-lf-till-number-fields-full.html ... (4 Replies)
Discussion started by: richardsantink
4 Replies

3. Programming

Boost.Test and CMake

Hi, I just started using CMake and the Boost Libraries. In this progress I encountered some problems. One of these problems is combining Boost unit tests with cmake. I don't know how to set the whole project up. I tried to set up a simple test project. This contains a main.cpp a comp.cpp and the... (0 Replies)
Discussion started by: ElCoyote
0 Replies

4. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies

5. Programming

cmake and boost library installation problem

hi all, I am new to linux and C++ programming so I'm posting in hope of some help. I am trying to install a C++ library using boost and cmake but I keep gettin this error in the terminal: CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1199 (message): Unable to find the... (9 Replies)
Discussion started by: peter_071
9 Replies

6. Solaris

cmake installation problem

hi guys.. i installed cmake in solaris 5.10..... x86 i checked pkginfo | grep -i cmake ... it installed but when excuted cmake it showing following error in output bash-3.00# cmake ld.so.1: cmake: fatal: liblzma.so.5: open failed: No such file or directory help me anyone before... (3 Replies)
Discussion started by: coolboys
3 Replies

7. UNIX for Dummies Questions & Answers

Unable to download modules from Strawberry perl.

Hi, I am using Strawberry Perl on WinXP but i am unable to download modules from Cpan via cmd,everytime a connection timeout error pops up. I get the following error : C:\>cpan Tk CPAN: LWP::UserAgent loaded ok (v5.834) CPAN: Time::HiRes loaded ok (v1.9719) Fetching with LWP:... (0 Replies)
Discussion started by: parimal14
0 Replies

8. Linux

problem in adding an extra entry in a dir:fuse imlementation

Well the problem comes when i try to add an extra file into the existing filesystem mounted at some mountpoint containing a single file hello. suppose i add a file say "TANVIR"(c it on d line next to line no:49) , it gives me abnormal results...... like 1)d file can't be opened 2)no file... (0 Replies)
Discussion started by: Tanvirk
0 Replies
Login or Register to Ask a Question