Here are my compilation command list:
-----------------------------------------------------------------------------------------------------------
installDir=/usr/local/postfix-2.10
make CCARGS='-DNO_DB' tidy
make makefiles CCARGS="-DNO_DB -I/usr/local/ldap/include -DHAS_LDAP
-DDEF_CONFIG_DIR='$installDir/etc' -DDEF_COMMAND_DIR='$installDir/sbin'
-DDEF_DAEMON_DIR='$installDir/libexec' -DDEF_MAILQ_DIR='$installDir/bin'
-DDEF_DATA_DIR='$installDir/data' -DDEF_QUEUE_DIR='/var/log/postfix/spool'
-DDEF_MANPAGE_DIR='$installDir/man' DEBUG=''" \
    UXLIBS="-L/usr/local/ldap/lib -lldap -L/usr/local/ldap/lib -llber"
make
-----------------------------------------------------------------------------------------------------------
Output:
-----------------------------------------------------------------------------------------------------------
# make
rm -f libexec/post-install && ln -f conf/post-install libexec/post-install
rm -f libexec/postfix-files && ln -f conf/postfix-files
libexec/postfix-files
rm -f libexec/postfix-script && ln -f conf/postfix-script
libexec/postfix-script
rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper
libexec/postfix-wrapper
rm -f libexec/main.cf && ln -f conf/main.cf libexec/main.cf
rm -f libexec/master.cf && ln -f conf/master.cf libexec/master.cf
rm -f libexec/postmulti-script && ln -f conf/postmulti-script
libexec/postmulti-script
set -e; for i in src/util src/global src/dns src/tls src/xsasl src/milter
src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error
src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr
src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat
src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap
src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify
src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr
src/postmulti src/postscreen src/dnsblog src/tlsproxy; do \
 (set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat
-DNO_DB -I/usr/local/ldap/include -DHAS_LDAP
-DDEF_CONFIG_DIR='/usr/local/postfix-2.10/etc'
-DDEF_COMMAND_DIR='/usr/local/postfix-2.10/sbin'
-DDEF_DAEMON_DIR='/usr/local/postfix-2.10/libexec'
-DDEF_MAILQ_DIR='/usr/local/postfix-2.10/bin'
-DDEF_DATA_DIR='/usr/local/postfix-2.10/data'
-DDEF_QUEUE_DIR='/var/log/postfix/spool'
-DDEF_MANPAGE_DIR='/usr/local/postfix-2.10/man' DEBUG='' -DSNAPSHOT' update
MAKELEVEL=) || exit 1; \
done
[src/util]
gcc -Wmissing-prototypes -Wformat -DNO_DB -I/usr/local/ldap/include
-DHAS_LDAP -DDEF_CONFIG_DIR=/usr/local/postfix-2.10/etc
-DDEF_COMMAND_DIR=/usr/local/postfix-2.10/sbin
-DDEF_DAEMON_DIR=/usr/local/postfix-2.10/libexec
-DDEF_MAILQ_DIR=/usr/local/postfix-2.10/bin
-DDEF_DATA_DIR=/usr/local/postfix-2.10/data
-DDEF_QUEUE_DIR=/var/log/postfix/spool
-DDEF_MANPAGE_DIR=/usr/local/postfix-2.10/man DEBUG= -DSNAPSHOT -g -O -I.
-DLINUX2 -c alldig.c
gcc: DEBUG=: No such file or directory
make: *** [alldig.o] Error 1
make: *** [update] Error 1
-----------------------------------------------------------------------------------------------------------

I tried with both DEBUG= and DEBUG='', but with the same above outcome. Are
there any other parameters to pass to disable debug?

Thanks

Reply via email to