Menu

#64 fails at compile time if sqlite3 is missing

none
open
nobody
None
5
2021-03-09
2021-03-09
No

Tried to build the recent v0.8.3 with buildroot. When preparing ./configure throws no error, but build fails:

/home/alex/src/buildroot/output/host/bin/x86_64-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -I../libltdl -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Werror-implicit-function-declaration -DBUILDSTR="\"`cat .buildno`\"" -DBUILDDATE="\"`date -u '+%Y-%m-%dT%H:%M:%S'`\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -Wall  -D_POSIX_THREAD_SAFE_FUNCTIONS -c siproxd.c
libtool: compile:  /home/alex/src/buildroot/output/host/bin/x86_64-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Werror-implicit-function-declaration -DBUILDSTR=\"3452\" -DBUILDDATE=\"2021-03-09T15:27:01\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_POSIX_THREAD_SAFE_FUNCTIONS -c plugin_blacklist.c  -fPIC -DPIC -o .libs/plugin_blacklist.o
plugin_blacklist.c:28:10: fatal error: sqlite3.h: No such file or directory

I think configure should already check for sqlite. Maybe introduce a configure option to build that blacklist plugin conditionally?

Discussion


Log in to post a comment.