On Thu, Jan 15, 2015 at 11:59:29AM -0700, post...@outputservices.com wrote:

> gmake tidy
> 
> /usr/sfw/bin/gmake makefiles CC=/usr/sfw/bin/gcc \
> CCARGS="-DEF_CONFIG_DIR=\"/usr/local/tools/postfix/etc\" \
> -DEF_COMMAND_DIR=\"/usr/local/tools/postfix/bin\" \
> -DEF_DAEMON_DIR=\"/usr/local/tools/postfix/libexec\" \
> -DEF_DATA_DIR=\"/usr/local/tools/postfix/lib\" \
> -DEF_MANPAGE_DIR=\"/usr/local/tools/postfix/man\" \
> -DEF_NEWALIAS_PATH=\"/usr/sbin/newaliases\" \
> -DEF_QUEUE_DIR=\"/usr/local/tools/postfix/mqueue\" \
> -DNO_IPV6 -DNO_NIS \
> -I/usr/local/include -I/usr/local/openldap/include  -DHAS_LDAP \
> -DUSE_SASL_AUTH -DEF_SERVER_SASL_TYPE=\"dovecot\" " \
> AUXLIBS="-L/usr/local/lib -R/usr/local/lib -lldap \
> -L/usr/local/lib -R/usr/local/lib -llber -L/usr/local/openldap/lib 
> -R/usr/local/openldap/lib"

This is broken.  Re-read section 4.5.2 of the INSTALL document.
Read carefully:

    $ make makefiles CCARGS='-DDEF_CONFIG_DIR=\"/some/where\"'
    $ make

Use the *exact* same syntax, not an approximation:

    make makefiles CCARGS='-DDEF_CONFIG_DIR=\"/some/where\" 
-DDEF_COMMAND_DIR=\"/some/where/else\" ...'

> Please specify the prefix for installed file names. Specify this ONLY
> if you are building ready-to-install packages for distribution to OTHER
> machines. See PACKAGE_README for instructions.
> install_root: [/]  /usr/local/tools/postfix

Once you build correctly, and use "/".  Everything will work.

-- 
        Viktor.

Reply via email to