Trying to build cmake in OE

Hi all,

I'm trying to build cmake in OE for the Beagle Board. I can build
cmake-native correctly, but that's for my host. When I try $bitbake
cmake, I get errors. The recipe that comes in the OE repository is for
version 2.4.8. I tried copying and pasting the .bb and renaming to the
latest version 2.6.4 and get the same exact errors.

Here's my errors from 2.6.4:

$ bitbake cmake
NOTE: Handling BitBake files: | (6657/6657) [100 %]
NOTE: Parsing finished. 6376 cached, 0 parsed, 281 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200905170304: started

OE Build Configuration:
BB_VERSION = "1.8.13"
METADATA_BRANCH = "stable/2009"
METADATA_REVISION = "9ab5e002541d9c3dabbe8ba584305681cabf61b4"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2009.X-test-20090517"
TARGET_FPU = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 261 of 422 (ID: 1, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_setscene)
NOTE: package cmake-2.6.4-r1: task do_setscene: started
NOTE: Checking if staging package installed
NOTE: No. Manually removing any installed files
NOTE: package cmake-2.6.4-r1: task do_setscene: completed
NOTE: Running task 407 of 422 (ID: 2, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_fetch)
NOTE: package cmake-2.6.4-r1: task do_fetch: started
NOTE: package cmake-2.6.4-r1: task do_fetch: completed
NOTE: Running task 408 of 422 (ID: 3, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_unpack)
NOTE: Running task 409 of 422 (ID: 13, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_distribute_sources)
NOTE: package cmake-2.6.4-r1: task do_unpack: started
NOTE: Unpacking /oe/tmp/downloads/cmake-2.6.4.tar.gz to /oe/tmp/work/
armv7a-angstrom-linux-gnueabi/cmake-2.6.4-r1/
NOTE: package cmake-2.6.4-r1: task do_distribute_sources: started
NOTE: package cmake-2.6.4-r1: task do_distribute_sources: completed
NOTE: package cmake-2.6.4-r1: task do_unpack: completed
NOTE: Running task 410 of 422 (ID: 4, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_patch)
NOTE: package cmake-2.6.4-r1: task do_patch: started
NOTE: package cmake-2.6.4-r1: task do_patch: completed
NOTE: Running task 411 of 422 (ID: 5, /oe/openembedded/recipes/cmake/
cmake_2.6.4.bb, do_configure)
NOTE: package cmake-2.6.4-r1: task do_configure: started
ERROR: function do_configure failed
ERROR: see log in /oe/tmp/work/armv7a-angstrom-linux-gnueabi/
cmake-2.6.4-r1/temp/log.do_configure.31049
NOTE: Task failed: /oe/tmp/work/armv7a-angstrom-linux-gnueabi/
cmake-2.6.4-r1/temp/log.do_configure.31049
NOTE: package cmake-2.6.4-r1: task do_configure: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/cmake/cmake_2.6.4.bb
do_configure failed
ERROR: Task 5 (/oe/openembedded/recipes/cmake/cmake_2.6.4.bb,
do_configure) failed
NOTE: Tasks Summary: Attempted 410 tasks of which 405 didn't need to
be rerun and 1 failed.
ERROR: '/oe/openembedded/recipes/cmake/cmake_2.6.4.bb' failed
NOTE: build 200905170304: completed

The log.do_configure.31049 says this:

NOTE: Running /oe/tmp/work/armv7a-angstrom-linux-gnueabi/cmake-2.6.4-
r1/cmake-2.6.4/configure --build=i686-linux --host=arm-
angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi
--prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --
sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/
share --sysconfdir=/etc --sharedstatedir=/usr/com --
localstatedir=/var --libdir=/usr/lib --includedir=/usr/
include --oldincludedir=/usr/include --infodir=/usr/share/
info --mandir=/usr/share/man ...

Hi all,

I'm trying to build cmake in OE for the Beagle Board. I can build
cmake-native correctly, but that's for my host. When I try $bitbake
cmake, I get errors. The recipe that comes in the OE repository is for
version 2.4.8. I tried copying and pasting the .bb and renaming to the
latest version 2.6.4 and get the same exact errors.

Here's my errors from 2.6.4:

You are better off asking this question on the openembedded-devel
list. See http://www.openembedded.org for more info. Not many of the
OE guys here are familiar with the cmake stuff.

Philip