install onigposix.h to /usr/local/include#2
Open
jobenvil wants to merge 1 commit into
Open
Conversation
haiwen/seafile#1158 building seafile-server fails because ```onigposix.h``` is not installed into ```/usr/local/include```: In file included from http-server.c:15:0: /usr/local/include/evhtp.h:11:23: fatal error: onigposix.h: No such file or directory compilation terminated. Makefile:697: recipe for target 'http-server.o' failed make[3]: *** [http-server.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/repo-op.Tpo .deps/repo-op.Po make[3]: Leaving directory '/tmp/seafile-server-build/seafile-5.0.0/server' Makefile:1248: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/seafile-server-build/seafile-5.0.0/server' Makefile:467: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/seafile-server-build/seafile-5.0.0' Makefile:399: recipe for target 'all' failed make: *** [all] Error 2 [ERROR] error when running command: make -j2 [INFO] remove builddir before exit ./build-server.py --version=5.0.2 --libsearpc_version=3.0.7 517.25s user 50.90s system 152% cpu 6:12.60 total ``` root@locky ..afile/env_seafile/library_dev/libevhtp (git)-[master] # make install Build Type: Release Std CFLAGS: -Wall -fno-strict-aliasing -DPROJECT_VERSION="1.2.0" -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 Dbg CFLAGS: -g -Wall -fno-strict-aliasing -ggdb Rel CFLAGS: -O3 -DNDEBUG -Wall -fno-strict-aliasing CMake Warning (dev) at CMakeLists.txt:214 (add_executable): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "test" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /opt/seafile/env_seafile/library_dev/libevhtp [ 82%] Built target libevhtpShared [ 85%] Built target test [ 89%] Built target test_basic [ 92%] Built target test_client [ 96%] Built target test_proxy [100%] Built target test_vhost Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/lib/libevhtp.so -- Up-to-date: /usr/local/include/evhtp.h -- Up-to-date: /usr/local/include/htparse.h -- Up-to-date: /usr/local/include/evthr.h -- Installing: /usr/local/include/onigposix.h # <------------ properly installed ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
haiwen/seafile#1158
building seafile-server fails because
onigposix.his not installed into/usr/local/include: