package do not installed in final image.

7 views
Skip to first unread message

代尔欣

unread,
Oct 26, 2008, 10:38:34 PM10/26/08
to openemb...@googlegroups.com
大家好:
       遇到一个问题,我在image中加入了gdb,在目标机运行时提示需要libncurses.so.5。检查OE的workspace目录:
1. ncurses已经编译了,workspace中有这个目录:./workspace/work/armv7a-angstrom-linux-gnueabi/ncurse-5.4-r15/*
    从myoe/workspace/work/armv7a-angstrom-linux-gnueabi/ncurse-5.4-r15/install目录可以知道libncurses.so.5应该装在"/usr/lib"里面。

2. 检查myoe/workspace/rootfs/usr/lib并没有发现libncurses.so.5。但我在我的task-myimage.bb中已经加入了ncurses。在myoe/workspace/deploy/glibc/ipk/armv7a/目录也发现了ncurses的ipk包。就是在最后的image里面没有。

问题1:
从上面可以看出,ncurses虽然编译了,但没有install进最后的rootfs。是什么原因?

问题2:
myoe/workspace/staging/pkgdata/armv7a-angstrom-linux-gnueabi/runtime/发现了ncurse这个runtime目录作用是什么?
myoe/workspace/staging/arm-angstrom-linux-gnueabi/usr/lib/有libncurses.so.5这个目录作用又是什么?

另:
我之前发邮件询问:编译第一个package就出错的问题。详情见http://bugs.openembedded.org/show_bug.cgi?id=4687&GoAheadAndLogIn=1 ,问题出在那还不知道,但找到了解决办法,用bitbake v1.18.11就会有这个问题,用v1.18.10就没事。v1.18.10应该是稳定版。v.1.18.11应该是最新版。可能是环境问题,具体原因不明。

刚刚接触OE,问题比较多,大家多多帮忙啊!!

LynnOS

unread,
Oct 26, 2008, 11:17:52 PM10/26/08
to openemb...@googlegroups.com
可能到 ncurses-dev包里面了


2008/10/27 代尔欣 <daie...@gmail.com>:

--
OpenEmbedded,Linux vserver,Python

hjj

unread,
Oct 26, 2008, 11:50:31 PM10/26/08
to openemb...@googlegroups.com
 
 代尔欣,你们用的是armv7?cotex?
 
 

在2008-10-27 11:17:52,LynnOS <lyn...@tong-ji.org> 写道:
>可能到 ncurses-dev包里面了
>
>
>2008/10/27 代尔欣 > 大家好:
>>        遇到一个问题,我在image中加入了gdb,在目标机运行时提示需要libncurses.so.5。检查OE的workspace目录:
>> 1.
>> ncurses已经编译了,workspace中有这个目录:./workspace/work/armv7a-angstrom-linux-gnueabi/ncurse-5.4-r15/*
>>
>> 从myoe/workspace/work/armv7a-angstrom-linux-gnueabi/ncurse-5.4-r15/install目录可以知道libncurses.so.5应该装在"/usr/lib"里面。
>>
>> 2.
>> 检查myoe/workspace/rootfs/usr/lib并没有发现libncurses.so.5。但我在我的task-myimage.bb中已经加入了ncurses。在myoe/workspace/deploy/glibc/ipk/armv7a/目录也发现了ncurses的ipk包。就是在最后的image里面没有。
>>
>> 问题1:
>> 从上面可以看出,ncurses虽然编译了,但没有install进最后的rootfs。是什么原因?
>>
>> 问题2:
>> myoe/workspace/staging/pkgdata/armv7a-angstrom-linux-gnueabi/runtime/发现了ncurse这个runtime目录作用是什么?
>> myoe/workspace/staging/arm-angstrom-linux-gnueabi/usr/lib/有libncurses.so.5这个目录作用又是什么?
>>
>> 另:
>> 我之前发邮件询问:编译第一个package就出错的问题。详情见http://bugs.openembedded.org/show_bug.cgi?id=4687&GoAheadAndLogIn=1

代尔欣

unread,
Oct 27, 2008, 9:21:53 PM10/27/08
to openemb...@googlegroups.com
LynnOS,
           编译ncurses时,会生成ncurse/usr/lib/和ncurse-dev/usr/lib下面相关的lib,这些我都在
myoe/workspace/work/armv7a-angstrom-linux-gnueabi/ncurse-5.4-r15/install目录下面找到了。但他们都没有被安装到rootfs/usr/lib下面。

2008/10/27 hjj <hongj...@126.com>

LynnOS

unread,
Oct 27, 2008, 9:49:15 PM10/27/08
to openemb...@googlegroups.com
ncurses-dev包你没有安装,所以不会安装到rootfs里面了

2008/10/28 代尔欣 <daie...@gmail.com>:

--
OpenEmbedded,Linux vserver,Python

Reply all
Reply to author
Forward
0 new messages