problem description
macbookpro 10.12 installation xunsearch Times error
= +
| Welcome to setup xunsearch (full) |
+ = +
Please specify the installation directory
Please specify the installation directory (default is the value in parentheses)
-n [/ usr/local/Cellar/xunsearch]:
Confirm the installation directory
-n Please confirm the installation directory: / usr/local/Cellar/xunsearch [Yapin]
-n Checking scws.
1.2.3
-n Checking scws dict.
ok
-n Checking libuuid.
yes: / usr
-n Checking xapian-core-scws.
1.2.22
-n Checking libevent.
no
Installing libevent (2.0.21-stable).
Extracting libevent package.
Configuring libevent.
libtool: link: (cd ".libs" & & rm-f "libevent_pthreads.la" & & ln-s ".. / libevent_pthreads.la"libevent_pthreads.la")
/ bin/sh. / libtool-- tag=CC-- mode=compile gcc-DHAVE_CONFIG_H-I. -I./compat-I./include-I./include-O2-Wall-fno-strict-aliasing-Wno-deprecated-declarations-D_THREAD_SAFE-MT bufferevent_openssl.lo-MD-MP-MF .deps / bufferevent_openssl.Tpo-c-o bufferevent_openssl.lo bufferevent_openssl.c
libtool: compile: gcc-DHAVE_CONFIG_H-I. -I./compat-I./include-I./include-O2-Wall-fno-strict-aliasing-Wno-deprecated-declarations-D_THREAD_SAFE-MT bufferevent_openssl.lo-MD-MF .deps / bufferevent_openssl.Tpo-c bufferevent_openssl.c-fno-common-DPIC-o. Libs / bufferevent_openssl.o
bufferevent_openssl.c:60:10: fatal error: "openssl/bio.h" file not found
1 error generated.
make [2]: * [bufferevent_openssl.lo] Error 1
make [1]: * [install-recursive] Error 1
ERROR: failed to compile libevent, see "setup.log" for more detail
the environmental background of the problems and what methods you have tried
method found on the Internet:
the reason for the error may be that openssl has not been installed and openssl has not been added to path. Run the following to solve the problem:
brew install openssl
brew link openssl-- force
then delete $HOME/.xs_installed and rerun. / setup.sh-- clean, and then reinstall
related codes
/ / Please paste the code text below (do not replace the code with pictures)
ERROR: failed to compile libevent, see "setup.log" for more detail
what result do you expect? What is the error message actually seen?
how can the installation be successfully solved by the gods?