[Openembedded-users] Problems building qt4-x11-free verson 4.5.1
comsatcat
comsatcat at gmail.com
Sat Jul 4 17:44:11 UTC 2009
Hello,
I've recently come into ownership of one of the new bug devices from
buglabs.net. It is running I believe a port of OE. Anyhow to my problem...
I'm attempting to built qt 4.5.1 from the OE git tree. I copied the receipe
from the OE tree into my bug tree (which is basically a bug specific version
of the OE tree).
I built 828 tasks, go through compiling qt and go to the package creation
stage.
this is where the problems start
first when it does a do_install() inside the qt4.inc file, it trys to sed
some files that are not in the correct location (it tries to sed them in
build/tmp/work/armv6-poky-linux-gnueabi/qt4-x11-free-4.5.1-r10.1/image/*
while they do not exist there.. they actually exist in
build/tmp/work/armv6-poky-linux-gnueabi/qt4-x11-free-4.5.1-r10.1/image/home/<username>/com.bug/build/tmp/work/armv6-poky-linux-gnueabi/qt4-x11-free-45.1-r10.1/image/*
According to the do_install() section it is accesss ${D}/${libdir} which is
also where it installs, so for some reason things aren't in sync somewhere?
Here is a snippit from the qt4.inc file that does the sed's:
sed -i -e s#-L${S}/lib##g \
-e s#-L${STAGING_LIBDIR}##g \
-e s#-L${libdir}##g \
-e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \
${D}${libdir}/*.la ${D}${libdir}/*.prl
${D}${libdir}/pkgconfig/*.pc
the path ${D}${libdir}/* is resolving to
build/tmp/work/armv6-poky-linux-gnueabi/qt4-x11-free-4.5.1-r10.1/image/*
Now... when it does the make install it does the folllowing:
oe_runmake install INSTALL_ROOT=${D}
Problem here is, when it does that, its actually installing into the
home/<username>/com.bug/build/*/*/*/* as i mentioned above... is this
because INSTALL_ROOT may be prepended with another path?
I'm a little bit at a loss here besides hard coding paths into the qt4.inc
file which i really don't wish to do.
Any help would be appreciated.
Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090704/3fbb85fc/attachment-0002.html>
More information about the Openembedded-users
mailing list