You are not logged in.

#1 2012-02-18 00:35:50

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

[SOLVED] Cmake

Hey, I can't seem to build anything to do with cmake... the latest is Hydrogen-svn. I just tried to update it and this is what happened:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /tmp/packerbuild-1000/hydrogen-svn/hydrogen-svn/src/hydrogen-build/build/CMakeFiles/CMakeTmp

 

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

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

  make[1]: Entering directory
  `/tmp/packerbuild-1000/hydrogen-svn/hydrogen-svn/src/hydrogen-build/build/CMakeFiles/CMakeTmp'


  /usr/bin/cmake -E cmake_progress_report
  /tmp/packerbuild-1000/hydrogen-svn/hydrogen-svn/src/hydrogen-build/build/CMakeFiles/CMakeTmp/CMakeFiles
  1

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o

  /usr/bin/gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
  --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o
  CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
  /tmp/packerbuild-1000/hydrogen-svn/hydrogen-svn/src/hydrogen-build/build/CMakeFiles/CMakeTmp/testCCompiler.c


  /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1: error while loading shared
  libraries: libcloog-isl.so.2: cannot open shared object file: No such file
  or directory

  make[1]: Leaving directory
  `/tmp/packerbuild-1000/hydrogen-svn/hydrogen-svn/src/hydrogen-build/build/CMakeFiles/CMakeTmp'


  make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 1

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

 

 

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


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in package().
    Aborting...
The build failed.

looks like gcc issue or something. Any help?

Last edited by funkmuscle (2012-02-18 22:08:28)

Offline

#2 2012-02-18 01:28:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cmake

I don't know why are you having problems with cmake, but
1. Please use [ code ] tags for posting snippets of code.
2. What's missing from the stock Arch hydrogen package? Maybe you don't have to co9mpile at all :-)

Offline

#3 2012-02-18 01:42:17

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: [SOLVED] Cmake

hey Karol, yeah, after I posted, I remembered the ["code" option...

it's not only with hydrogen, it's anything that builds with cmake... anything I grab from AUR that needs cmake gives that error.

Offline

#4 2012-02-18 22:10:05

funkmuscle
Member
Registered: 2006-02-09
Posts: 547

Re: [SOLVED] Cmake

edit my pacman.conf and fixed the multilib section... updated pacman.conf.pacnew and forgot to remove th '#' from Multilib... all works now..

Last edited by funkmuscle (2012-02-18 22:11:26)

Offline

Board footer

Powered by FluxBB