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

Cmake File Error #77

Open
enemyOfState opened this issue Oct 8, 2014 · 0 comments
Open

Cmake File Error #77

enemyOfState opened this issue Oct 8, 2014 · 0 comments

Comments

@enemyOfState
Copy link

trying to make files with suggested line:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC ..

get errors:
CMake Error at CMakeLists.txt:21 (INCLUDE):
include could not find load file:

AddCFlagIfSupported

CMake Error at CMakeLists.txt:124 (FILE):
file STRINGS file
"/php-git-develop/libgit2/include/git2/version.h"
cannot be read.

CMake Error at CMakeLists.txt:131 (FILE):
file STRINGS file
"/php-git-develop/libgit2/include/git2/version.h"
cannot be read.

CMake Warning at CMakeLists.txt:146 (FIND_PACKAGE):
Could not find module FindHTTP_Parser.cmake or a configuration file for
package HTTP_Parser.

Adjust CMAKE_MODULE_PATH to find FindHTTP_Parser.cmake or set
HTTP_Parser_DIR to the directory containing a CMake configuration file for
HTTP_Parser. The file will have one of the following names:

HTTP_ParserConfig.cmake
http_parser-config.cmake

-- http-parser was not found or is too old; using bundled 3rd-party sources.
CMake Warning at CMakeLists.txt:203 (FIND_PACKAGE):
Could not find module FindLIBSSH2.cmake or a configuration file for package
LIBSSH2.

Adjust CMAKE_MODULE_PATH to find FindLIBSSH2.cmake or set LIBSSH2_DIR to
the directory containing a CMake configuration file for LIBSSH2. The file
will have one of the following names:

LIBSSH2Config.cmake
libssh2-config.cmake

CMake Error at CMakeLists.txt:326 (ADD_C_FLAG_IF_SUPPORTED):
Unknown CMake command "ADD_C_FLAG_IF_SUPPORTED".

-- Configuring incomplete, errors occurred!

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

1 participant