내 config.mk
파일에는 다음과 같은 설정이 있습니다.
# Select your backends from this list
BACKEND_CDB ?= no
BACKEND_MYSQL ?= no
BACKEND_SQLITE ?= no
BACKEND_REDIS ?= no
BACKEND_POSTGRES ?= yes
BACKEND_LDAP ?= no
BACKEND_HTTP ?= no
BACKEND_JWT ?= no
BACKEND_MONGO ?= no
BACKEND_FILES ?= yes
BACKEND_MEMCACHED ?= no
# Specify the path to the Mosquitto sources here
MOSQUITTO_SRC = /usr/include
# Specify the path the OpenSSL here
OPENSSLDIR = /usr/bin/openssl
# Specify optional/additional linker/compiler flags here
# On macOS, add
# CFG_LDFLAGS = -undefined dynamic_lookup
# as described in https://github.com/eclipse/mosquitto/issues/244
CFG_LDFLAGS =
CFG_CFLAGS = -DRAW_SALT
컴파일하려고 하면 sudo make
다음 오류가 발생합니다.
Selected backends: PostgreSQL Files
Using mosquitto source dir: /usr/include
OpenSSL install dir: /usr/bin/openssl
If you changed the backend selection, you might need to 'make clean' first
CFLAGS: -DRAW_SALT -I/usr/include/src/ -I/usr/include/lib/ -fPIC -Wall -Werror -DBE_POSTGRES -DBE_FILES -I/usr/include/postgresql -I/src -DDEBUG=1 -I/usr/bin/openssl /include
LDFLAGS: -L/usr/include/lib/
LDADD: -L/usr/lib/x86_64-linux-gnu -lpq -L/usr/bin/openssl /lib -lcrypto -lmosquitto
cc -DRAW_SALT -I/usr/include/src/ -I/usr/include/lib/ -fPIC -Wall -Werror -DBE_POSTGRES -DBE_FILES -I`pg_config --includedir` -I/src -DDEBUG=1 -I/usr/bin/openssl /include -c -o auth-plug.o auth-plug.c
cc: error: /include: No such file or directory
<builtin>: recipe for target 'auth-plug.o' failed
make: *** [auth-plug.o] Error 1
무엇이 문제인지 말해 줄 수 있나요? 이 문제를 어떻게 해결할 수 있나요?