Hi there a-MeeGo's!

I am trying to compile the Ruby bindings for Qt on MeeGo running under
Xephyr on a Dell Mini 10 (Intel graphics card, Intel Atom CPU).

Right at the start of the build process I get two important errors,
which I highlight here

-----------------------------------------------------------
ERROR 1:
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:43 (MESSAGE):
 The C++ compiler "/usr/bin/c++" is not able to compile a simple test
 program.

ERROR 2:
 /usr/lib/gcc/i586-meego-linux/4.4.2/../../../libm.so: file not recognized:
 File truncated
-----------------------------------------------------------

I think maybe my C++ compiler is borked. Though I wonder is it some
sort of intel vs ARM processor issue as I'm running on an Intel
netbook.

I have the following questions
* What does libm.so do on MeeGo - is it the math library?
* Is there a package I can reinstall using zypper to try and repair libm.so?
* Do you think it is an Intel vs ARM issue or is libm.so likely broken
for a different reason?

Notes
* I can boot into the MeeGo GUI (very pretty!) using startmeego&
* My O.S. is the netbook remix of Ubuntu 10.04 Lucid Lynx
* Here are the steps I am taking to build the Qt Ruby bindings
  1) I am in an empty directory called qtruby_build (I'm doing an
out-of-source build)
  2) The qtruby source code is in another directory ../qtruby
  3) From within qtruby_build I run: cmake ../qtruby
  4) Then I get the above error. Note, the full output is below.

I'm all outta ideas! Any ideas or help greatly appreciated!

Ciao,
Dec

Full Output
-----------

cmake ../qtruby
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:43 (MESSAGE):
 The C++ compiler "/usr/bin/c++" is not able to compile a simple test
 program.

 It fails with the following output:

  Change Dir: /home/meego/qtruby_build/CMakeFiles/CMakeTmp



 Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"

 /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
 CMakeFiles/cmTryCompileExec.dir/build

 gmake[1]: Entering directory `/home/meego/qtruby_build/CMakeFiles/CMakeTmp'

 /usr/bin/cmake -E cmake_progress_report
 /home/meego/qtruby_build/CMakeFiles/CMakeTmp/CMakeFiles 1

 Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o

 /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
 /home/meego/qtruby_build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

 Linking CXX executable cmTryCompileExec

 /usr/bin/cmake -E cmake_link_script
 CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1

 /usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o
 cmTryCompileExec -rdynamic

 /usr/lib/gcc/i586-meego-linux/4.4.2/../../../libm.so: file not recognized:
 File truncated

 collect2: ld returned 1 exit status

 gmake[1]: Leaving directory `/home/meego/qtruby_build/CMakeFiles/CMakeTmp'

 gmake[1]: *** [cmTryCompileExec] Error 1

 gmake: *** [cmTryCompileExec/fast] Error 2


 CMake will not be able to correctly generate this project.
Call Stack (most recent call first):


CMake Warning (dev) in CMakeLists.txt:
 No cmake_minimum_required command is present.  A line of code such as

   cmake_minimum_required(VERSION 2.8)

 should be added at the top of the file.  The version specified may be lower
 if you wish to support older CMake versions for this project.  For more
 information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to