Re: Problems running qmake inside scratchbox (and outside)
[SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ qmake bash: /usr/bin/qmake: No such file or directory [SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ file /usr/bin/qmake /usr/bin/qmake: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped [SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ qmake installed from repositories is i386 binary (as you show). So it can't be run inside SB2. Once I have successful compiled qmake inside SB2. E.g. fetching sources from ubuntus repository contains all needed packeting which can be used without modifications for maemo. (Actually running sb2 -e ./configure will compile qmake-binary on that step). This is not guaranteed that it will work, but at least you then have runnable qmake-binary inside SB2. (If armel-package contains i386 binary there might be some other messing too) -Aapo Rantalainen ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Problems running qmake inside scratchbox (and outside)
Hi I'm having trouble running qmake, could it be related to libraries? Here's the results of qmake invocation: Thanks. Pedro. pi...@gominola-deb32:1:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ strace ./qmake execve(./qmake, [./qmake], [/* 64 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb778c000 _llseek(3, 0, 0xbfe735b8, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, strace: exec: No such file or di..., 40strace: exec: No such file or directory ) = 40 close(3)= 0 munmap(0xb778c000, 4096)= 0 exit_group(1) = ? pi...@gominola-deb32:1:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ ldd qmake linux-gate.so.1 = (0xb788a000) libstdc++.so.5 = not found libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7851000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7832000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb76ec000) /scratchbox/host_shared/lib/ld.so = /lib/ld-linux.so.2 (0xb788b000) pi...@gominola-deb32:0:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ cd /tmp/ pi...@gominola-deb32:0:/tmp$ sb2 [SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ qmake bash: /usr/bin/qmake: No such file or directory [SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ file /usr/bin/qmake /usr/bin/qmake: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped [SB2 devel fremantle5.0minimal_armel] pi...@gominola-deb32 tmp $ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
Thanks much, that worked ! - ianaré sévi 2010/2/25 daniel wilms daniel.wi...@nokia.com: ext ianaré sévi wrote: Thanks for your response. I'm using the following line in my control file : Depends: ${shlibs:Depends}, ${misc:Depends} Should I explicitly add it there ? No, you have to add it here: Build-Depends: debhelper (= 5), libqt4-dev Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
On Thu, Feb 25, 2010 at 9:26 AM, daniel wilms daniel.wi...@nokia.comwrote: ext ianaré sévi wrote: I'm having problems building my package using qmake on extra-devels. make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/tipqalc-0.3.0/src' make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Do you have libqt4-dev as a build-dependency? Another option is that you have run qmake outside the scratchbox environment and created invalid Makefiles. You might have to delete your current Makefiles manually and then re-run qmake in the target platform. -- Tatu Lahtela laht...@iki.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
On Thu, 2010-02-25 at 11:26 +0200, Tatu Lahtela wrote: Another option is that you have run qmake outside the scratchbox environment and created invalid Makefiles. You might have to delete your current Makefiles manually and then re-run qmake in the target platform. Users of (awful, horrible, hateful, doesn't-actually-do-much) qmake regularly have to do complete rebuilds. Luckily, when using git, it's easy to remove all generated files like so: git clean -dfx Back-up first, I suppose. -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
On Thu, Feb 25, 2010 at 2:17 PM, Murray Cumming murr...@murrayc.com wrote: Users of (awful, horrible, hateful, doesn't-actually-do-much) qmake regularly have to do complete rebuilds. Luckily, when using git, it's easy to remove all generated files like so: git clean -dfx Or a bit more safely: rm `find . -type f -name Makefile` -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
Hi Murray, On Feb 25, 2010, at 7:17 AM, Murray Cumming wrote: On Thu, 2010-02-25 at 11:26 +0200, Tatu Lahtela wrote: Another option is that you have run qmake outside the scratchbox environment and created invalid Makefiles. You might have to delete your current Makefiles manually and then re-run qmake in the target platform. Users of (awful, horrible, hateful, doesn't-actually-do-much) qmake Is there an easy alternative for doing Qt builds? - johnk ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
On Thu, 2010-02-25 at 09:59 -0500, John Kemp wrote: Users of (awful, horrible, hateful, doesn't-actually-do-much) qmake Is there an easy alternative for doing Qt builds? I use autotools with Qt because autotools-created projects do things in de-facto standard documented ways on Linux, and actually work. It's slightly awkward due to moc, but that's not too bad. Daniel Elstner created this little example to get started: http://github.com/danielkitta/qhello Here's another example, in a Nokia project, though I doubt that it's quite as good as Daniel's: http://maemo.gitorious.org/maemo-af/contextkit/trees/master And lots of Qt and KDE people like CMake, though I don't personally: http://www.murrayc.com/blog/permalink/2009/10/28/trying-qmake-and-cmake/ -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
On Thu, Feb 25, 2010 at 5:14 PM, Murray Cumming murr...@murrayc.com wrote: I use autotools with Qt because autotools-created projects do things in de-facto standard documented ways on Linux, and actually work. It's Everything we have sort of sucks. I was hoping something would come out of this some day: http://labs.trolltech.com/blogs/2009/10/14/to-make-or-not-to-make-qmake-and-beyond-redux/ I'd be happy with SCons if it was supported, but last time I tried it didn't co-operate with armel scratchbox. -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
qmake
I'm having problems building my package using qmake on extra-devels. make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/tipqalc-0.3.0/src' make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop. make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/tipqalc-0.3.0/src' Any suggestions? Thanks. - ianaré sévi ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: qmake
ext ianaré sévi wrote: I'm having problems building my package using qmake on extra-devels. make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/tipqalc-0.3.0/src' make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Do you have libqt4-dev as a build-dependency? Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers