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

build issue on Ubuntu 14.04 #22

Closed
liudanking opened this issue Mar 15, 2016 · 2 comments
Closed

build issue on Ubuntu 14.04 #22

liudanking opened this issue Mar 15, 2016 · 2 comments

Comments

@liudanking
Copy link

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".
@liudanking
Copy link
Author

The issue is caused by ninja installed by apt-get install ninja.
Change to the latest version 1.6 (https://github.com/ninja-build/ninja/releases), the problem is gone.

@serialx
Copy link
Contributor

serialx commented Mar 15, 2016

Thank you for resolving the issue. 👍

@serialx serialx closed this as completed Mar 15, 2016
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