Re: Unable to find package mio-lib (mio-lib)!


Richard Purdie
 

On Wed, 2011-08-31 at 14:28 +0800, 蔡振军 wrote:

grep -rn "mio-lib" ./

Binary file ./armv5te/mio-lib-dbg-0.1-r0.armv5te.rpm matches

Binary file ./armv5te/mio-lib-dev-0.1-r0.armv5te.rpm matches

Binary file ./armv5te/solvedb/Nvra matches

Binary file ./armv5te/solvedb/__db.006 matches

Binary file ./armv5te/solvedb/__db.003 matches

Binary file ./armv5te/solvedb/Providename matches

Binary file ./armv5te/solvedb/Packages matches

Binary file ./armv5te/solvedb/Name matches

./armv5te/solvedb/manifest:7:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-dbg-0.1-r0.armv5te.rpm

./armv5te/solvedb/manifest:351:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-dev-0.1-r0.armv5te.rpm

./armv5te/solvedb/manifest:474:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-staticdev-0.1-r0.armv5te.rpm
So there is
no ./armv5te/solvedb/manifest:7:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-0.1-r0.armv5te.rpm

This means you probably didn't install any files into the main package
itself so it was empty and not created.


error appear when I delete some line in makefile’s install
target.Fllow is my operation:



install: $(all_targets)

install -D -m 644 libaio.h $(includedir)/libaio.h

install -D -m 644 libaio.a $(libdir)/libaio.a

install -D -m 755 $(libname) $(libdir)/$(libname)
===============original one

ln -sf $(libname) $(libdir)/$(soname)

ln -sf $(libname) $(libdir)/libaio.so



||

||

||

\/



install: $(all_targets)

install -D -m 644 libaio.h $(includedir)/libaio.h

install -D -m 644 libaio.a $(libdir)/libaio.a
===================== bad work





install: $(all_targets)

install -D -m 755 $(libname) $(libdir)/$(libname)
=======================google work
I don't know exactly what you mean here but your probably almost
certainly is due to the do_install function not installing the correct
files, or you are only installing headers and a static library so only
the -dev and -staticdev packages are created.

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.