I have specified "-DDEF_CONFIG_DIR=\"/opt/triadic/etc/postfix\” \” in the makefiles command, so there still should be no reason for the config files to be placed in sbin.
The only reason i am overriding the config directory at install time is because i am building a package for multiple machines. The package will install the config files to the correct location that postfix expects them to be. I am trying to build both 32 bit and 64 bit binaries for inclusion into a universal package. By default everything compiles as 32 bit, but the -m64 flag is added to compile a 64 bit binary. Are you saying that postfix does not support compiling for multiple architectures on a single machine? > On Jan 12, 2015, at 2:46 PM, Wietse Venema <[email protected]> wrote: > > Alex McWhirter: >> I have a strange issue. I have defined /etc as the configuration >> file directory but postfix-install is placing configuration files >> in both /etc and /sbin. My configuration options are below. Also, >> another smaller issue I?m having is that the binaries coming out >> of the build process are all 32 bit, even when -m64 is specified >> in the flags. Does postfix not support 64 bit binaries at the >> moment? > > As documented in INSTALL (or INSTALL.html) you can't override the > config_directory at install time. You do it at build time. > > Postfix builds on SPARC and Intel and other CPUs, and it never > chooses a CPU architecture. It uses the default. > > As for config files in /sbin, I suppose those are the result of > your experiments. > > Wietse
