[oe] cmake-native trouble making

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Wed Sep 8 13:04:06 UTC 2010


Jaap de Jong <jaap.dejong at nedap.com> writes:

> $ bitbake cmake-native
> ////
> | [ 87%] Building CXX object
> Source/CMakeFiles/CPackLib.dir/CPack/cmCPackNSISGenerator.o
> | /usr/bin/ld: cannot find -ltinfo
> | collect2: ld returned 1 exit status
> | make[2]: *** [bin/ccmake] Error 1
> | make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
> | make[1]: *** Waiting for unfinished jobs....
> ////
>
> Is cmake-native_2.8.2.bb missing this line:
>
>     RDEPENDS = "ncurses-terminfo"

no, 'DEPENDS = "ncurses-native"'; BUT:

* it will cause problems on (host)distributions which do not have libtinfo
  (e.g. RHEL5) and have ncurses-native in their ASSUME_PROVIDED

* some hours ago I added a libtermcap.so compatibility symlink to
  ncurses(-native) so that 5ea3047995421d99f7f3537cb8f9ae23f3185a9f
  might not be needed anymore

* build of the curses frontend should be disabled for cmake-native because
  we do automated builds only; I do not know atm how to configure cmake
  for this...


Enrico




More information about the Openembedded-devel mailing list