Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-06-02 Thread Radek Polak
On Friday 01 June 2012 16:55:35 Carsten Gerlach wrote:

 Ok, the generated file is only 23 MB big, but I would expect a file
 size of 87 MB, like the file on souceforge.net [1]. So, did I missed
 something in the building process or what else is the reason for this
 difference?

This file is just contents of /opt

Rest of the 87MB is standard debian /usr /bin /etc... and you dont need to 
replace it when developing qtmoko.

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-06-01 Thread Radek Polak
On Thursday, May 31, 2012 10:34:19 PM Carsten Gerlach wrote:

 Now is the task to get this image to the Neo. The section in the wiki
 [1] points me to the trolltech documentation [2]. In the corresponding
 section [3] is written However, this option is device specific and not
 within the scope of this introduction.
 
 Can you please point me to an URL where I find an explanation of that
 procedure?

Hi,
i am using this script:

https://github.com/radekp/qtmoko/blob/master/devices/neo/scripts/update_qtmoko

Regards

Radek


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-06-01 Thread Carsten Gerlach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Radek,

Am 01.06.2012 08:28, schrieb Radek Polak:
 i am using this script:
 
 https://github.com/radekp/qtmoko/blob/master/devices/neo/scripts/update_qtmoko

If
 
I understand it right, this script creates a *.tar.gz file for
using on the sd-card and has to be used in the build directory?

Ok, the generated file is only 23 MB big, but I would expect a file
size of 87 MB, like the file on souceforge.net [1]. So, did I missed
something in the building process or what else is the reason for this
difference?

And secondly, how would I create an *.ubi file for flashing to NAND?
Is there a simmilar script?

Thanks for your patience with my questions. :-)

Greetings, Carsten



[1]
http://sourceforge.net/projects/qtmoko/files/GTA02/qtmoko-debian-gta02-v44.tar.gz
[2]
http://sourceforge.net/projects/qtmoko/files/GTA02/qtmoko-debian-gta02-v44.ubi


- -- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.piranho.de/gpg/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I9AcACgkQ6SlDN6cxaI48rQCghdJTrK7C0UO+LVWzQAxjJMmT
kg0An1Ux6NUB0q2WsJJqjBpNHm6IkcBw
=acIG
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-06-01 Thread Carsten Gerlach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Radek,

Am 01.06.2012 18:55, schrieb Carsten Gerlach:
 [a lot of questions for image creation]

I searched a bit more and I found first the README with the hint to
- -force-build-qt [1] and second the howto for creating the images [2]

So I will first go trough this documents and try to answer my
questions for myself. :-) Maybe I come back with new questions.

Greetings, Carsten


[1] https://github.com/radekp/qtmoko/blob/master/README
[2]
https://github.com/radekp/qtmoko/blob/master/doc/txt/debian_rootfs_howto.txt


- -- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.piranho.de/gpg/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I/z0ACgkQ6SlDN6cxaI7PTQCeKGTB3Rc4XNOm9rG2qWNZEz5e
Vm4AnR4uKysXllpeBnpQE2w0A4ijrZ3G
=uRx5
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-06-01 Thread Neil Jerram
Carsten Gerlach daswaldh...@gmx.de writes:

 I understand it right, this script creates a *.tar.gz file for
 using on the sd-card and has to be used in the build directory?

Yes, but that .tar.gz file only contains - and therefore updates -
things on the SD card under /opt/qtmoko.

 Ok, the generated file is only 23 MB big, but I would expect a file
 size of 87 MB, like the file on souceforge.net [1]. So, did I missed
 something in the building process or what else is the reason for this
 difference?

The 87 MB file also includes everything outside /opt/qtmoko, which is
a normal Debian rootfs.

  Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-05-31 Thread Carsten Gerlach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Radek,

Am 27.05.2012 17:34, schrieb Radek Polak:
 
 ../qtmoko/configure -force-build-qt -device neo
 
 if that helps.

Thanks a lot! Now I get no configure errors. A make and make image
are finishing without an error, too. :-)

Now is the task to get this image to the Neo. The section in the wiki
[1] points me to the trolltech documentation [2]. In the corresponding
section [3] is written However, this option is device specific and not
within the scope of this introduction.

Can you please point me to an URL where I find an explanation of that
procedure?

My goal for doing this, is, to update the translation of qtmoko.
Before posting the translated files to this list I would test them on
my Neo.

Thanks for any hint.


Greetings, Carsten


[1]
http://sourceforge.net/apps/mediawiki/qtmoko/index.php?title=GITs#Running_on_Neo
[2] http://doc.trolltech.com/qtextended4.4/running-qtextended.html
[3]
http://doc.trolltech.com/qtextended4.4/running-qtextended.html#using-a-binary-flashed-onto-the-device


- -- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.piranho.de/gpg/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/H1cYACgkQ6SlDN6cxaI6BOwCgmnNFQ+J+4n3E5p3Itj7oTz6G
NGcAn2xgNvEoXVKHab+PNI9xxET/jtGU
=XyCd
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-05-27 Thread Radek Polak
On Saturday 26 May 2012 16:52:04 Carsten Gerlach wrote:

 At this point I need again help. :-) What can I do to solve the problem?

Hi,
you can try:

../qtmoko/configure -force-build-qt -device neo

if that helps.

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-05-26 Thread Radek Polak
On Friday 25 May 2012 20:48:17 Carsten Gerlach wrote:

 All these packages I have installed and created symlinks with the name
 libmpfr.so.1 (in all above mentioned directories), see e.g.
 
 ---
 /usr/lib32$ ls -l libmpfr.so*
 lrwxrwxrwx 1 root root  16 Apr  4 15:59 libmpfr.so - libmpfr.so.4.1.0
 lrwxrwxrwx 1 root root  10 Mai 25 21:31 libmpfr.so.1 - libmpfr.so
 lrwxrwxrwx 1 root root  16 Apr  4 15:59 libmpfr.so.4 - libmpfr.so.4.1.0
 -rw-r--r-- 1 root root 375256 Apr  4 15:59 libmpfr.so.4.1.0
 ---
 
 Nevertheless I get the same error, that libmpfr.so.1 can't be found.

I had the same problem. In the end i copied libmpfr to /usr/lib32 from 10.04 
(lucid) and it worked.

I can check my 12.04 installation on Monday if needed. Btw this is how it 
looks like on my debian machine:

$ find /usr | grep libmpfr
/usr/lib/libmpfr.so.4
/usr/lib/libmpfr.so.4.0.0
/usr/lib32/libmpfr.so.1.1.1
/usr/lib32/libmpfr.so.1

Maybe you can also use libmpfr from debian.

Best solution would be of course to use 64bit toolchain - i wish i had time to 
do it...

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit

2012-05-26 Thread Carsten Gerlach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Am 26.05.2012 16:36, schrieb Radek Polak:
 
 I had the same problem. In the end i copied libmpfr to /usr/lib32
 from 10.04 (lucid) and it worked.

Thanks, that helped. But I had to copy libmpfr.so.1 to /usr/lib/ (not
lib32) that it works.

Now configure runs some steps further, but the new problem comes here:

- --
$~/Dokumente/OM/qtmoko/GTA02/sources/build$ ../qtmoko/configure
- -device neo -D _FORTIFY_SOURCE=0 -rtti
Testing the system Qt: OK
Qt Extended is using the following locations:
Qt  PREFIX  = /usr
Qt  LIBRARIES   = /usr/lib/x86_64-linux-gnu
Qt  BINARIES= /usr/bin
Qt  HEADERS = /usr/include/qt4
Qt Embedded SOURCE tree =
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/qtopiacore/qt
Qt Embedded BUILD  tree =
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/qtopiacore/target
Qt Extended SOURCE tree =
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko
Qt Extended BUILD  tree =
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build
Qt Extended SDKtree =
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/sdk

Checking the compiler (host): OK (GCC 4, Little Endian)
Checking the compiler (target): OK (GCC 4, Little Endian)
Bootstrap QBuild: ... OK
Testing QBuild: OK
Testing for ALSA: OK
Testing Media Engines: cruxus
Checking QMAKE_RPATH: -Wl,-rpath-link,
Testing for OpenSSL: OK
Testing for dynamic rotation: OK
Testing DBUS: OK
Checking for PAGE_SIZE and PAGE_MASK: MISSING
WARNING: QSharedMemoryCache will not throw away unused pages
Testing for strict warning flags your compiler accepts: -Wall
- -Woverloaded-virtual
Testing for V4L2: OK
Testing for prctl(): OK
Testing for semtimedop: OK
Testing for __malloc_hook: OK

Running configure (qtopiacore)...
filter_system
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/bin/qbuild
- -script -C /src/libraries/qtopiacore/configure configure 21
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/src/build/bin/pkgconfig:/opt/toolchains/arm920t-eabi/bin:/home/carsten/bin:/home/carsten/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/texlive/2011/bin/x86_64-linux:/usr/local/texlive/2011/bin/x86_64-linux:/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/sdk/qtopiacore/host/bin
ASSERT: !looped in file ../../../qtmoko/qbuild/src/solution.cpp,
line 2155
qbuild died with signal 6 at
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/src/build/bin/configure
line 3576
make: *** [src/build/mkconf/configure] Fehler 25
- --


I tried to understand what happens in solution.cpp around line 2155
but I don't know, what these lines mean:


- -snipsolution.cpp
2150// We have a path that goes through a symlink.
2151// Use some magic to determine the correct path
2152// and re-run this function so that everything is good.
2153SolutionFile canon = m_file.canonicalPath();
2154if ( canon.fsPath() != m_file.fsPath() ) {
2155Q_ASSERT(!looped);
2156//qWarning()  Found a path with a symlink!;
2157//qWarning()  m_file  m_file;
2158//qWarning()  canon  canon;
2159m_file = canon;
2160m_nodePath = m_file.solutionPath();
2161if ( m_nodePath.startsWith(!) )
2162m_nodePath = m_nodePath.mid(1);
2163m_nodePath = simplifyNodeName(m_nodePath);
2164looped = true;
2165goto loop;
2166}
- -snap


I reactivated the commented lines 2156 - 2158 and then I get more output:


- --
Running configure (qtopiacore)...
filter_system
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/bin/qbuild
- -script -C /src/libraries/qtopiacore/configure configure 21
/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/src/build/bin/pkgconfig:/opt/toolchains/arm920t-eabi/bin:/home/carsten/bin:/home/carsten/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/texlive/2011/bin/x86_64-linux:/usr/local/texlive/2011/bin/x86_64-linux:/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/sdk/qtopiacore/host/bin
Found a path with a symlink!
m_file File( Type:  Absolute , Path:
!/usr/share/qt4/mkspecs/default/qmake.conf , Fs Path:
/usr/share/qt4/mkspecs/default/qmake.conf )
canon File( Type:  Absolute , Path:
!/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf , Fs Path:
/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf )
Found a path with a symlink!
m_file File( Type:  Absolute , Path:
!/usr/share/qt4/mkspecs/default/qmake.conf , Fs Path:
/usr/share/qt4/mkspecs/default/qmake.conf )
canon File( Type:  Absolute , Path:
!/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf , Fs Path: