I have used this with make files and have entered with interactive make
install , but still seeing error. This is the script i used.
!/bin/ksh93
BUILDDIR='/opt/mail-pkgs/postfix-2.5.5'
#export PATH="$PATH:/opt/SUNWspro/bin"
#export CC=cc
export CC=/opt/SUNWspro/bin/cc
export LDFLAGS='-zignore'
export CFLAGS='-mt -mr -xO3 -xildoff -xspace -xstrconst -DBIG_TABLES'
export CXXFLAGS='-mt -mr -xO3 -xildoff -xspace -DBIG_TABLES'
cd $BUILDDIR
make tidy
make makefiles \
#AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient
-lldap -lpcre' \
"AUXLIBS=-lpcre" \
#"AUXLIBS=-lpcre" \
"CCARGS=-DHAS_PCRE -I/usr/include/pcre \
-DDEF_COMMAND_DIR=\"/opt/oso/postfix/usr/sbin\" \
-DDEF_SAMPLE_DIR=\"/opt/oso/postfix/etc\" \
-DDEF_SENDMAIL_PATH=\"/opt/oso/postfix/usr/lib/sendmail\" \
-DDEF_CONFIG_DIR=\"/opt/oso/postfix/etc\" \
-DDEF_DAEMON_DIR=\"/opt/oso/postfix/usr/libexec\" \
-DDEF_DATA_DIR=\"/opt/oso/postfix/usr/lib\" \
-DDEF_QUEUE_DIR=\"/opt/oso/postfix/var/spool\" \
-DDEF_MAILQ_PATH=\"/opt/oso/postfix/usr/bin/mailq\" \
-DDEF_MANPAGE_DIR=\"/opt/oso/postfix/usr/local/man\" \
-DDEF_NEWALIAS_PATH=\"/opt/oso/postfix/usr/bin/newaliases\""
make 2> /opt/oso/postfix-make.err
make install sample_directory=/opt/oso/postfix/etc
#
On 02/ 3/09 01:52 PM, Victor Duchovni wrote:
On Tue, Feb 03, 2009 at 01:49:40PM -0800, Nandini Mocherla wrote:
Yes, of course, because your overrides are stored in main.cf, and main.cf
is in the compiled-in location. The correct main.cf location MUST be
compiled-in. DO NOT override it when installing the primary Postfix
instance on a system.
How can i specify that. Is it with
-DDEF_CONFIG_DIR=\"/opt/oso/postfix/etc"
Yes.