make install tries to install to build folder · Issue #136 · nginx/unit (original) (raw)
Hi,
i am having trouble installing a self compiled nginx unit with php 71 support on centos 7. I used the sources from github and followed the instructions in the official installation guide (https://unit.nginx.org/installation/#getting-sources). I am using Remis php 71 repository.
configuration is working, the php.unit.so file is generated, but installation fails because the installer tries to install the files into the build
folder:
[root@localhost unit]# make install
install -d sbin
install -p build/unitd sbin/
install -d build
install -d build
install -p build/php71.unit.so \
build/
install: „build/php71.unit.so“ and „build/php71.unit.so“ are the same
make: *** [php71-install] Error 1
So i don't know why the installer tries to install it there. In #47 in this comment (#47 (comment)) one can see from the logs that the destination folder should be /opt/unit/modules
. So why is my installation path different?
I have tried this with the master branch and the tags 1.2 and 1.1, also with the default gcc version (4.5.8 i think) and gcc 6.3.1. All have the same problem...