On 7/10/2012 11:52 AM, Feel Zhou wrote: > Hello My friend > > My system is Centos 6.2 with postfix-2.6.6, When I use command > postconf -m, and got many support: > btree;cidr;environ;hash;ldap;mysql;nis;pcre;proxy;regexp;static;unix; > So I down the new version postfix-2.9.3, and use make install, got > some problem. > [root@mail]make -f Makefile.init makefiles \ > >CCARGS="-DHAS_DB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS > -DHAS_LDAP \ > >-I/usr/local/include -I/usr/local/BerkeleyDB/include > -I/usr/include/sasl " \ > >AUXLIBS="-L/usr/local/lib -L/usr/local/BerkeleyDB/lib > -L/usr/lib/sasl2 \ > > -ldb -lssl -lcrypto -lsasl2 -lz -lm -lldap -llber" > postconf -m, support: > btree;cidr;environ;fail;hash;internal;ldap;memcache;nis;proxy;regexp;static;tcp;texthash;unix; > This is work well. But do not support mysql and pcre > 1 If I add "-DHAS_MYSQL -I/usr/local/mysql/include" in CCARGS > and add "-L/usr/local/mysql/lib" in AUXLIBS, the command make will > be error about mysql.
You missed '-lmysqlclient' in the AUXLIBS as noted in http://www.postfix.org/MYSQL_README.html. > 2 How can I support pcre, because I need the perl support. Because you did not request it. Please review http://www.postfix.org/PCRE_README.html Brian