xxsergzzxx / gmailnotifier

Automatically exported from code.google.com/p/gmailnotifier
GNU General Public License v2.0
1 stars 0 forks source link

Compile / configure problem #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On FC11, with the trunk version, cmake fails. 

What is the expected output? What do you see instead?

$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-DCMAKE_BUILD_TYPE=Debugfull
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in

/home/uday/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/app
s;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:7 (find_package)

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

Putting cmake_minimum_required(VERSION 2.6) in CMakeLists.txt gives:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in

/home/uday/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/app
s;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!

Please provide your KDE and Qt version, your distribution name/version, the
Gmail Notifier's SVN revision you compiled, etc... Any other informations
that you feel could help in solving your issue.

FC11
cmake 2.6-patch 4
kde 4.2.4
qt-4.5.2

Original issue reported on code.google.com by udayre...@gmail.com on 1 Sep 2009 at 2:10

GoogleCodeExporter commented 9 years ago
Looks like you're missing some development packages (please read the home page
carefully). I don't use FC11 therefore I cannot help you but after having a 
quick
look at a random Fedora FTP mirror I guess you need to install some 
kde*-devel.*.rpm
packages.

Marking this report as invalid. Feel free to reopen it if you think I 
misunderstood
your problem.

Original comment by gcnweb@gmail.com on 1 Sep 2009 at 2:27

GoogleCodeExporter commented 9 years ago
Thanks. I was missing some packages. I did have qt-devel, and so was under the 
wrong
impression. Here's how all the KDE devel packages can be installed on an FC11 
system:

$ sudo yum -y groupinstall 'KDE Software Development'

Before doing the above, make sure you have done a

yum -y groupupdate 'KDE (K Desktop Environment)' 

Original comment by udayre...@gmail.com on 1 Sep 2009 at 2:52