[exim] Re: FreeBSD trouble with compiling in either tdb or g…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Odhiambo Washington
Dátum:  
Címzett: exim-users
Tárgy: [exim] Re: FreeBSD trouble with compiling in either tdb or gdbm
On Thu, Dec 21, 2023 at 5:13 PM Jeremy Harris via Exim-users <
exim-users@???> wrote:

> On 12/21/23 13:32, Odhiambo Washington via Exim-users wrote:
> > In both cases, the compilation fails with the error that it cannot find
> > tdb.h and gdbm.h are both in/usr/local/include/
>
> Add "-I /usr/local/include/" to CFLAGS. A += at the top of the Makefile
> is fine.
>


I added that, but it doesn't change anything, I am afraid.
Here is what I have.

```
CFLAGS +=-I/usr/local/include
CFLAGS += -std=c99
CFLAGS += -g -O0
CC=ccache clang -g -O0
CXX=clang++
CPP=clang-cpp

########
BIN_DIRECTORY=/usr/local/sbin
CONFIGURE_FILE=/usr/local/etc/exim/configure
EXIM_USER=mailnull
SPOOL_DIRECTORY=/var/spool/exim
USE_OPENSSL=yes
TLS_LIBS=-lssl -lcrypto
TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto
ROUTER_ACCEPT=yes
ROUTER_DNSLOOKUP=yes
ROUTER_IPLITERAL=yes
ROUTER_MANUALROUTE=yes
ROUTER_QUERYPROGRAM=yes
ROUTER_REDIRECT=yes
ROUTER_IPLOOKUP=yes
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes
TRANSPORT_LMTP=yes
SUPPORT_MAILDIR=yes
SUPPORT_MAILSTORE=yes
SUPPORT_MBX=yes
CFLAGS+= -I/usr/local/include/hiredis
LDFLAG+= -lhiredis
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
LOOKUP_DNSDB=yes
LOOKUP_CDB=yes
LOOKUP_DSEARCH=yes
LOOKUP_LMDB=yes
LOOKUP_MYSQL=yes
LOOKUP_PASSWD=yes
LOOKUP_PGSQL=yes
LOOKUP_REDIS=yes
LOOKUP_SQLITE=yes
LOOKUP_WILDLSEARCH=yes
LOOKUP_NWILDLSEARCH=yes
PCRE2_CONFIG=yes
SUPPORT_DANE=yes
LOOKUP_INCLUDE+=-I/usr/local/include
LOOKUP_LIBS=-L/usr/local/lib/mysql -lmysqlclient -L/usr/local/lib -llber
-lsqlite3 -L/usr/local/include/hiredis -lhiredis -llmdb
WITH_CONTENT_SCAN=yes
DISABLE_MAL_FFROTD=yes
DISABLE_MAL_FFROT6D=yes
DISABLE_MAL_DRWEB=yes
DISABLE_MAL_FSECURE=yes
DISABLE_MAL_SOPHIE=yes
DISABLE_MAL_AVAST=yes
DISABLE_MAL_AVE=yes
DISABLE_MAL_KAV=yes
DISABLE_MAL_MKS=yes
SUPPORT_SRS=yes
EXPERIMENTAL_DCC=yes
SUPPORT_DMARC=yes
CFLAGS += -I/usr/local/include
LDFLAGS += -lopendmarc
DMARC_TLD_FILE=/etc/exim/opendmarc.tlds
EXPERIMENTAL_ARC=yes
EXPERIMENTAL_DSN_INFO=yes
EXPERIMENTAL_QUEUEFILE=yes
EXPERIMENTAL_XCLIENT=yes
USE_TDB = yes
DBMLIB = -ltdb
#USE_GDBM = yes
#DBMLIB = -lgdbm
FIXED_NEVER_USERS=root
AUTH_CRAM_MD5=yes
AUTH_DOVECOT=yes
AUTH_EXTERNAL=yes
AUTH_PLAINTEXT=yes
AUTH_TLS=yes
HEADERS_CHARSET="ISO-8859-1"
HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv
LOG_FILE_PATH=syslog:/var/log/exim/%s.%D.log
SYSLOG_LOG_PID=yes
EXICYCLOG_MAX=10
COMPRESS_COMMAND=/usr/bin/gzip
COMPRESS_SUFFIX=gz
ZCAT_COMMAND=/usr/bin/zcat
EXIM_PERL=perl.o
EXPAND_DLFUNC=yes
SUPPORT_SOCKS=yes
SUPPORT_PROXY=yes
SUPPORT_I18N=yes
LDFLAGS += -lidn
SUPPORT_I18N_2008=yes
LDFLAGS += -lidn -lidn2
SUPPORT_SPF=yes
CFLAGS += -I/usr/local/include
LDFLAGS += -lspf2
USE_TCP_WRAPPERS=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -lwrap
SYSTEM_ALIASES_FILE=/etc/aliases
USE_READLINE=yes
HAVE_IPV6=yes
EXIM_TMPDIR="/tmp"
MAX_NAMED_LIST=32
``


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/