I tried to build in my non-chroot (standard) environment, and I have the same 
error!

Here is what I actually have:

===>  Configuring for kdelibs-experimental-4.3.1
CMake Error at /usr/local/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
Call Stack (most recent call first):
  CMakeLists.txt:11 (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!
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= cc
CMAKE_CXX_COMPILER= c++

-- Generating done
-- Build files have been written to: 
/usr/ports/x11/kdelibs4-experimental/work/kdelibs-experimental-4.3.1/build
*** Error code 1

Stop in /usr/ports/x11/kdelibs4-experimental.
*** Error code 1

Stop in /usr/ports/deskutils/kdepimlibs4.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.

I'm also including Cmakelist.txt.  What other files or info can I provide to 
help with the diagnosis of this problem?

Thank you in advance,

Larry


--- On Mon, 10/5/09, Larry Maloney <[email protected]> wrote:

From: Larry Maloney <[email protected]>
Subject: Re: [kde-freebsd] KDE 4 build problem in FreeBSD 7.2 with all updated 
ports...
To: "Raphael Kubo da Costa" <[email protected]>
Cc: [email protected]
Date: Monday, October 5, 2009, 2:54 PM

Raphael,

I had to stop the build outside my chroot environment for the weekend.  I will 
try it again today.  My "normal" environment stopped cause of qt4 library 
issues, but that's not the same as my CMake problem.

I'm not 100% the problem is with chroot, but it could very well be.  I've had 
other weird problems before when trying to build in chroot.  For example, my 
path environment variable shows a path to /usr/local/sbin, yet when I try to 
run a program from /usr/local/sbin it won't get executed.  I have to include 
the full path to the binary (this is a non KDE issue) ...

Larry
--- On Sat, 10/3/09, Raphael Kubo da Costa <[email protected]> wrote:

From: Raphael Kubo da Costa
 <[email protected]>
Subject: Re: [kde-freebsd] KDE 4 build problem in FreeBSD 7.2 with all updated  
ports...
To: [email protected]
Cc: [email protected]
Date: Saturday, October 3, 2009, 4:37 PM

2009/10/3 Larry Maloney <[email protected]>
>
> Hello,
>
> I'm having essentailly the same problem as this post:
>
> http://forums.freebsd.org/showthread.php?t=2479&highlight=cmake
>
> Does anyone have any suggestions?
>
> Thank you,
>
> Larry

As we've talked on IRC, it may have something to do with you building
inside a chroot environment. For some reason, CMake is picking its
 own
/usr/local/share/cmake/Modules/FindKDE4.cmake instead of kdelibs'
/usr/local/kde4/share/apps/cmake/modules/FindKDE4.cmake.

You said things didn't work when you built outside your chroot, but
didn't say what the error was. Can you provide more details?

-----Inline Attachment Follows-----

_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information
project( KDELIBS_EXPERIMENTAL )

# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is 
checked
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules 
${CMAKE_MODULE_PATH} )

if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
  set(BUILDING_EXPERIMENTAL_SEPARATELY TRUE)
endif(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")

if(BUILDING_EXPERIMENTAL_SEPARATELY)
   find_package(KDE4 4.2.85 REQUIRED)
   include(MacroLibrary)
   include(KDE4Defaults)
else(BUILDING_EXPERIMENTAL_SEPARATELY)
   include_directories(${CMAKE_CURRENT_SOURCE_DIR}
                       ${KDE4_KDEUI_INCLUDES})
endif(BUILDING_EXPERIMENTAL_SEPARATELY)

add_subdirectory(knotificationitem)

if(BUILDING_EXPERIMENTAL_SEPARATELY)
   macro_display_feature_log()
endif(BUILDING_EXPERIMENTAL_SEPARATELY)


_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to