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

Carsten Gerlach daswaldhorn at gmx.de
Sat May 26 18:52:04 CEST 2012


-----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 SDK    tree =
/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:


- -----snip----solution.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.
2153    SolutionFile canon = m_file.canonicalPath();
2154    if ( canon.fsPath() != m_file.fsPath() ) {
2155        Q_ASSERT(!looped);
2156        //qWarning() << "Found a path with a symlink!";
2157        //qWarning() << "m_file" << m_file;
2158        //qWarning() << "canon" << canon;
2159        m_file = canon;
2160        m_nodePath = m_file.solutionPath();
2161        if ( m_nodePath.startsWith("!") )
2162            m_nodePath = m_nodePath.mid(1);
2163        m_nodePath = simplifyNodeName(m_nodePath);
2164        looped = true;
2165        goto 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-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:
"/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf" )
Found a path with a symlink!
m_file File( Type:  Absolute , Path: "/extensions/projects.pri" , Fs
Path:
"/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/sdk/bin/extensions/projects.pri"
)
canon File( Type:  Absolute , Path: "/qbuild/extensions/projects.pri"
, Fs Path:
"/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/qbuild/extensions/projects.pri"
)
Found a path with a symlink!
m_file File( Type:  Absolute , Path: "/extensions/projects.pri" , Fs
Path:
"/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/build/sdk/bin/extensions/projects.pri"
)
canon File( Type:  Absolute , Path: "/qbuild/extensions/projects.pri"
, Fs Path:
"/home/carsten/Dokumente/OM/qtmoko/GTA02/sources/qtmoko/qbuild/extensions/projects.pri"
)
Found a path with a symlink!
m_file File( Type:  Absolute , Path: "" , Fs Path: "" )
canon File( Type:  Absolute , Path: "" , Fs Path: "./" )
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
- --------------------------------------------------------------------------


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

Thanks for any hint.

Greetings, Carsten


- -- 
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/BCjAACgkQ6SlDN6cxaI6dPQCg0jVO14dR2wAF5I+GIP4ptaNt
TkAAoMi1jxhVpY7XR2q7EIpsWUp0vWj8
=gn2S
-----END PGP SIGNATURE-----



More information about the community mailing list