I try to build gobuic on ubuntu 14.04 x64. cmake and ninja are installed.
When build binaries with ./build_libs.sh, come up with the following error:
./build_libs.sh
GOARCH: amd64
GOOS: linux
OPTION:
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /go/src/github.com/devsisters/goquic/libquic/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/sbin/ninja cmTryCompileExec758890250
die: error: unable to read configuration filelog: reading configuration
file: cmTryCompileExec758890250
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "/go/src/github.com/devsisters/goquic/libquic/build/CMakeFiles/CMakeOutput.log".
See also "/go/src/github.com/devsisters/goquic/libquic/build/CMakeFiles/CMakeError.log".
I try to build gobuic on ubuntu 14.04 x64. cmake and ninja are installed. When build binaries with
./build_libs.sh
, come up with the following error: