Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit
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
Carsten Gerlach 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
-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
-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
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
-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
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
-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 2>&1 /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 2>&1 /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
Re: Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit
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
Missing libmpfr.so.1 for building qtmoko on Ubuntu Precise Pangolin 12.04 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I want to build Qtmoko for the Freerunner GTA02 on my laptop using Ubuntu Precise Pangolin 12.04 64-bit. I followed the instructions on [1]. I have problems to get libmpfr.so.1 installed. The program "getlibs" is not anymore available on [2] so I tried it from [3]. But I get the message: - ~$ sudo ./getlibs -l libmpfr.so.1 No match for libmpfr.so.1 No packages to install - If I try to continue without this library, I get the following error (verbose mode in the target section): - -- ~/Dokumente/OM/qtmoko/GTA02/sources/build$ ../qtmoko/configure -device neo -D _FORTIFY_SOURCE=0 -rtti -verbose 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): INFO: PATH=/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 LOCATE: which arm-linux-gcc /opt/toolchains/arm920t-eabi/bin/arm-linux-gcc COMPILE: arm-linux-gcc -pipe -c -o main.o /home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/config.tests/compiler/main.c /opt/toolchains/arm920t-eabi/bin/../lib/gcc/arm-linux-gnueabi/4.3.2/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory runwithvars.sh exited with value 1 at /home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/src/build/bin/configure line 3955 eval {...} called at /home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/src/build/bin/configure line 3938 main::configtest('compiler', 'env', 'CXX=\'arm-linux-g++\' CXXFLAGS=\'-pipe -DQT_QWS_FICGTA01 -fno...', 'outvar', 'INFO: PATH=/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/bu...') called at /home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/src/build/bin/configure line 2252 FAIL Note: Run configure -verbose for verbose errors make: *** [src/build/mkconf/configure] Fehler 1 - -- The line "error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory" tells me that libmpfr.so.1 is necessary. A search directly on the Ubuntu package page [4] gives me the following output: - -- File Packages /usr/lib/debug/usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.0 libmpfr4-dbg /usr/lib/debug/usr/lib32/libmpfr.so.4.1.0 libmpfr4-dbg /usr/lib/x86_64-linux-gnu/libmpfr.so libmpfr-dev /usr/lib/x86_64-linux-gnu/libmpfr.so.4libmpfr4 /usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.0libmpfr4 /usr/lib32/libmpfr.so lib32mpfr-dev /usr/lib32/libmpfr.so.4 lib32mpfr4 /usr/lib32/libmpfr.so.4.1.0 lib32mpfr4 - --- 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. It would be great if somebody can give me a hint, what else I can do to solve this problem. Thanks in advance and Greetings, Carsten [1] http://sourceforge.net/apps/mediawiki/qtmoko/index.php?title=GITs [2] http://frozenfox.freehostia.com/cappy/getlibs [3] http