On 02/ 3/09 01:39 PM, Wietse Venema wrote:
Nandini Mocherla:
I have compiled it with the desired locations for all the parameters mentioned in my email. Then with make install it prompted me for the locations again and i have answered them changing the default ones. Then it copied/updated all the required files to the specified locations ,but later it is still looking for /etc/postfix.

My compile script.

#!/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 \

I suggest that you look in the file "makedefs.out" that has the
information that Postfix actually got from the shell.

        Wietse

My makedefs.out does not say any thing about configurations i specified with "make files" other than PCRE and here is the output

# Do not edit -- this file documents how Postfix was built for your machine.
SYSTYPE = SUNOS5
AR      = ar
ARFL    = rv
RANLIB  = echo
SYSLIBS = -L/usr/lib -R/usr/lib -lpcre -lresolv -lsocket -lnsl
CC = /opt/SUNWspro/bin/cc -Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE -I/usr/include/pcre
OPT     = -O
DEBUG   = -g
AWK     = awk
STRCASE = strcasecmp.o
EXPORT = AUXLIBS=' -L/usr/lib -R/usr/lib -lpcre' CCARGS=' -Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE -I/usr/include/pcre' OPT='-O' DEBUG='-g'
WARN    = -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \
       -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
       -Wunused



Reply via email to