Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: qt-x11-free_7.7.2 fail configure missing qmake
Date: Fri, 13 May 2011 21:35:56 +0200	[thread overview]
Message-ID: <4DCD881C.3080103@eukrea.com> (raw)
In-Reply-To: <4DCD526E.2080706@eukrea.com>

Hi,

> On 13/05/2011 16:28, Eivind Kvedalen wrote:
>> I get the same problem here when trying to compile qt4-embedded_4.7.2.bb.
>>
>> Build Configuration:
>> BB_VERSION = "1.10.2"
>> METADATA_BRANCH = "master"
>> METADATA_REVISION = "54ab33e"
>> TARGET_ARCH = "arm"
>> TARGET_OS = "linux-gnueabi"
>> MACHINE = "beagleboard"
>> DISTRO = "angstrom"
>> DISTRO_VERSION = "v2011.05"
>> TARGET_FPU = "hard"
>>
problem reproduced with a clean tmp.
this patch restore a part that 5a6efd58cdc85d08ab9e106c84bbac5110b5aecd 
removed in do_install which seems to be the root of the problem.

I'm testing and will send a clean patch if that works.

Eric

diff --git a/recipes/qt4/qt4-native.inc b/recipes/qt4/qt4-native.inc
index d99d9de..495a928 100644
--- a/recipes/qt4/qt4-native.inc
+++ b/recipes/qt4/qt4-native.inc
@@ -63,6 +63,18 @@ do_compile() {
  NATIVE_INSTALL_WORKS = "1"

  do_install() {
+    install -d ${D}${bindir}/
+    install -m 0755 bin/qmake ${D}${bindir}/qmake2
+    for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
+        install -m 0755 bin/${i} ${D}${bindir}/${i}4
+    done
+
+    install -d ${D}${datadir}/qt4/
+    cp -PfR mkspecs ${D}${datadir}/qt4/
+    ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++
+    cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf 
${D}${datadir}/qt4/mkspecs/common/
+    install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/
+
      for i in ${TOBUILD}; do
          cd ${S}/$i && oe_runmake install INSTALL_ROOT=${D}
      done



  reply	other threads:[~2011-05-13 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13 10:10 qt-x11-free_7.7.2 fail configure missing qmake Søren Holm
2011-05-13 13:19 ` Simon Busch
2011-05-13 14:43   ` Søren Holm
2011-05-13 19:02     ` Simon Busch
2011-05-13 14:28 ` Eivind Kvedalen
2011-05-13 15:46   ` Eric Bénard
2011-05-13 19:35     ` Eric Bénard [this message]
2011-05-14  0:36       ` Søren Holm
2011-05-15 12:06       ` Simon Busch
2011-05-15 12:07         ` [PATCH] qt4-native: build and install all needed qt4 tools Simon Busch
2011-05-15 12:15         ` qt-x11-free_7.7.2 fail configure missing qmake Simon Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DCD881C.3080103@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox