roehling/postsrsd

Installation error.

Closed this issue · 2 comments

mzch commented

When installing postsrsd, the following error happened.

$ sudo make install
[ 19%] Built target ExtConfuse
[ 38%] Built target hiredis_static
[ 69%] Built target milter
[ 73%] Built target sqlite3
[100%] Built target postsrsd
Install the project...
-- Install configuration: ""
CMake Error at _deps/hiredis-build/cmake_install.cmake:52 (file):
  file INSTALL cannot find
  "/home/mzch/dev/postsrsd/_build/_deps/hiredis-build/libhiredis.so.1.1.0":
  No such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)


make: *** [Makefile:127: install] エラー 1
  • Cmake command line:
cmake .. -DMAKE_BUILD_TYPE=Release -DCMAKE_INSALL_PREFIX=/usr/local -DCMAKE_INSTALL_SYSCONFDIR=/etc/postsrsd -DPOSTSRSD_USER=postsrsd -DPOSTSRSD_DATADIR=/var/lib/postsrsd -DWITH_SQLITE=ON -DWITH_REDIS=ON -DWITH_MILTER=ON -DBUILD_TESTING=OFF

I cannot reproduce your problem.

I managed to reproduce the issue with CMake older than 3.21.0.