Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building pzq #5

Open
mohitanchlia opened this issue Sep 25, 2014 · 1 comment
Open

building pzq #5

mohitanchlia opened this issue Sep 25, 2014 · 1 comment

Comments

@mohitanchlia
Copy link

I am trying to build pzq but not able to do so:

[ec2-user@ip-10-37-135-120 build]$ cmake .. -DZEROMQ_ROOT=/opt -DKYOTOCABINET_ROOT=/opt/
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:54 (FILE):
file Internal CMake error when trying to open file:
/home/ec2-user/build/pzq-master/build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
for writing.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:25 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:128 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (PROJECT)

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:54 (FILE):
file Internal CMake error when trying to open file:
/home/ec2-user/build/pzq-master/build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
for writing.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:25 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:128 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (PROJECT)

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

It fails with the following output:

Change Dir: /home/ec2-user/build/pzq-master/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/ec2-user/build/pzq-master/build/CMakeFiles/CMakeTmp'

/usr/bin/cmake -E cmake_progress_report
/home/ec2-user/build/pzq-master/build/CMakeFiles/CMakeTmp/CMakeFiles 1

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

/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
/home/ec2-user/build/pzq-master/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o] Error
1

gmake[1]: Leaving directory
`/home/ec2-user/build/pzq-master/build/CMakeFiles/CMakeTmp'

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

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

-- Configuring incomplete, errors occurred!

@mkoppanen
Copy link
Owner

This looks like an issue:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants