[oe] cmake-native trouble making

Tom Rini tom_rini at mentor.com
Wed Sep 8 18:42:05 UTC 2010


Enrico Scholz wrote:
> 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

Isn't the whole point of ASSUME_PROVIDED that user be aware?

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

Um, is there a reason this wasn't just done as a ln within the recipe?

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list