On Mon, Feb 02, 2009 at 08:42:22AM -0700, rp...@kinfolk.org wrote: > On 2 Feb 2009 at 9:58, Victor Duchovni wrote: > > > On Sun, Feb 01, 2009 at 11:49:56PM -0700, rp...@kinfolk.org wrote: > > > > > I am having trouble compiling postfix (2.5.6) with dovecot sasl > > > support. I get: > > > > > > gcc -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL > > > -I/usr/include/pgsql -DUSE_SASL_AUTH > > > -DDEF_SERVER_SASL_TYPE="dovecot" -DUSE_TLS - I/usr/include/openssl > > > -DHAS_PCRE -g -march=pentium3 -O2 - march=pentium3 -I. > > > -I../../include -DLINUX2 -c smtpd.c > > > > Insufficient quoting. > > > > http://www.postfix.org/SASL_README.html#build_dovecot > > > > > smtpd.c: In function 'main': > > > smtpd.c:4789: error: 'dovecot' undeclared (first use in this > > > function) > > > > I'm afraid I don't understand why you say insufficient quoting. I > quoted the complete gcc command for the failed compile and the > error(s) returned by gcc. The quoted gcc line clearly shows that I > followed the instructions in "Building Postfix with Dovecot SASL > Support" page to which your referred.
You did not follow the instructions correctly: make makefiles CCARGS='-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"' Note the <\> characters before the <"> characters. These were lost in your "gcc" command. Note also the carefully chosen single (not double) quotes around CCARGS. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.