[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: path error
From: |
Quiliro Ordonez Baca |
Subject: |
Re: path error |
Date: |
Mon, 26 Feb 2018 16:30:24 -0500 |
Andreas Enge <address@hidden> writes:
> Hello,
>
> the solution lies probably here:
>
> On Mon, Feb 26, 2018 at 03:52:54PM -0500, Quiliro Ordonez Baca wrote:
>> gcc: error trying to exec 'as': execvp: No existe el fichero o el
>> directorio
>
> The "as" binary is part of the binutils package.
> But I would recommend to install gcc-toolchain instead of gcc, it bundles
> a few packages that are needed for development (see its description).
Thank you very much, Andreas. I installed gcc-toolchain with:
guix package -i gcc-toolchain
Then I executed the command that output the error to test again. It gave
me new errors:
ld: no se puede encontrar crt1.o: No existe el fichero o el directorio
ld: no se puede encontrar crti.o: No existe el fichero o el directorio
collect2: error: ld devolvió el estado de salida 1
This is the complete output:
address@hidden ~/libfreenect/build$ cmake -L ..
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /home/quiliro/.guix-profile/bin/gcc
-- Check for working C compiler: /home/quiliro/.guix-profile/bin/gcc -- broken
CMake Error at
/gnu/store/0wzyh3rfskcyprf9vd3w9680ly5bl42a-cmake-3.7.2/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51
(message):
The C compiler "/home/quiliro/.guix-profile/bin/gcc" is not able to compile
a simple test program.
It fails with the following output:
Change Dir: /home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp
Run Build Command:"/home/quiliro/.guix-profile/bin/make" "cmTC_49d6e/fast"
/home/quiliro/.guix-profile/bin/make -f
CMakeFiles/cmTC_49d6e.dir/build.make CMakeFiles/cmTC_49d6e.dir/build
make[1]: se entra en el directorio
'/home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_49d6e.dir/testCCompiler.c.o
/home/quiliro/.guix-profile/bin/gcc -o
CMakeFiles/cmTC_49d6e.dir/testCCompiler.c.o -c
/home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_49d6e
/gnu/store/0wzyh3rfskcyprf9vd3w9680ly5bl42a-cmake-3.7.2/bin/cmake -E
cmake_link_script CMakeFiles/cmTC_49d6e.dir/link.txt --verbose=1
/home/quiliro/.guix-profile/bin/gcc
CMakeFiles/cmTC_49d6e.dir/testCCompiler.c.o -o cmTC_49d6e -rdynamic
ld: no se puede encontrar crt1.o: No existe el fichero o el directorio
ld: no se puede encontrar crti.o: No existe el fichero o el directorio
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [CMakeFiles/cmTC_49d6e.dir/build.make:98: cmTC_49d6e] Error 1
make[1]: se sale del directorio
'/home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_49d6e/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:39 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/home/quiliro/libfreenect/build/CMakeFiles/CMakeOutput.log".
See also "/home/quiliro/libfreenect/build/CMakeFiles/CMakeError.log".
-- Cache values
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
address@hidden ~/libfreenect/build$