On Sun, Mar 24, 2013 at 08:31:32AM +0430, Mohsen Pahlevanzadeh wrote:
> i compiled postfix with : 
> make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
> -I/usr/include/mysql/' CCARGS='-DUSE_SASL_AUTH 
> -DDEF_SERVER_SASL_TYPE= \"dovecot\"' CCARGS='-DUSE_TLS 
> -I/usr/include/openssl/' 'AUXLIBS=-L/usr/lib64/mysql -L/usr/lib 
> -lmysqlclient -lz -lm -lssl -lcrypto '
> 
> 
> i checked their path on my machine. they was correct.library and 
> include files.
> Question: can i use many CCARGS when i use make command?

Merge all your CCARGS into a single expression.

make makefiles CCARGS="-DHAS_MYSQL -I/usr/include/mysql/ \
  -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS \
  -I/usr/include/openssl/" AUXLIBS="-L/usr/lib64/mysql -L/usr/lib \
  -lmysqlclient -lz -lm -lssl -lcrypto"

http://www.postfix.org/INSTALL.html
http://www.postfix.org/MYSQL_README.html
http://www.postfix.org/SASL_README.html#postfix_build
http://www.postfix.org/TLS_README.html#build_tls
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to