rp...@kinfolk.org ha scritto:
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.

Thanks.

--Richard

You need to escape the quotation marks: like they do on the page, plus, if you notice, t ccargs has a ' ' surrounding it.

make makefiles CCARGS='-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"'

also, per the notes :

Notes:

   *

     The "-DDEF_SERVER_SASL_TYPE" stuff is not necessary; it just makes
     Postfix configuration a little more convenient because you don't
     have to specify the SASL plug-in type in the Postfix main.cf
     <http://www.postfix.org/postconf.5.html> file.


Reply via email to