Nikolaos Milas: > Hello, > > To build on CentOS from source and get an installation with standard > features (as provided in CentOS standard Postfix RPMs) we use: > > make makefiles \ > CCARGS='-fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH \ > -DUSE_CYRUS_SASL -DPREFIX=\"/usr\" \ > -DHAS_LDAP -DLDAP_DEPRECATED=1 \ > -DHAS_PCRE -I/usr/include/openssl \ > -I/usr/include/sasl -I/usr/include' \ > AUXLIBS='-L/usr/lib64 -L/usr/lib64/openssl -lssl -lcrypto \ > -L/usr/lib64/sasl2 -lsasl2 -lpcre -lz -lm -lldap -llber \ > -Wl,-rpath,/usr/lib64/openssl -pie -Wl,-z,relro' \ > OPT='-O' \ > DEBUG='-g' > > Could you please tell me how to define custom settings for include and > library directories?
See: http://www.postfix.org/INSTALL.html, which is appropriately titled "Postfix Installation From Source Code", section 4. Wietse