Hello,
I'm sorry for line breaks and showing the wrong output. It's not easy to
get that information here. Hope this will be readable.
### make makefiles finished; performing make ###
rm -f meta/main.cf.proto && ln -f conf/main.cf meta/main.cf.proto
rm -f meta/master.cf.proto && ln -f conf/master.cf meta/master.cf.proto
rm -f meta/postfix-files
(if [ "no" = "no" -o "no" = "" ]; then \
sed -e '/^\$shlib_directory/d' \
-e '/dynamicmaps.cf/d' conf/postfix-files; \
elif [ "" = ":" -o "" = "" ]; then \
sed -e '/dynamicmaps.cf/d' \
-e '/^\$shlib_directory\/\${LIB_PREFIX}/d' \
conf/postfix-files | sed -e "s;\${LIB_PREFIX};;" -e
"s;\${LIB_SUFFIX};.a;"; \
else \
sed -e "s;\${LIB_PREFIX};;" -e "s;\${LIB_SUFFIX};.a;"
conf/postfix-files | awk -F: ' \
BEGIN { \
count = split("'"db pcre cdb dev_urandom"'", names, " "); \
for (n = 1; n <= count; n++) \
have["$shlib_directory/" names[n] \
".a"] = 1; } \
/^[$]shlib_directory./ { \
if (have[$1]) print; next } \
{ print } \
'; \
fi) | case "" in \
*) cat;; \
esac > meta/postfix-files
grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out
rm -f libexec/post-install && ln -f conf/post-install
libexec/post-install
rm -f libexec/postfix-script && ln -f conf/postfix-script
libexec/postfix-script
rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper
libexec/postfix-wrapper
rm -f libexec/postmulti-script && ln -f conf/postmulti-script
libexec/postmulti-script
rm -f libexec/postfix-tls-script && ln -f conf/postfix-tls-script
libexec/postfix-tls-script
set -e; for i in src/util src/global src/dns src/tls src/xsasl
src/master src/milter src/postfix src/fsstone src/smtpstone
src/sendmail src/error src/pickup src/cleanup src/smtpd src/local
src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe
src/showq src/postalias src/postcat src/postconf src/postdrop
src/postkick src/postlock src/postlog src/postmap src/postqueue
src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual
src/proxymap src/anvil src/scache src/discard src/tlsmgr
src/postmulti src/postscreen src/dnsblog src/tlsproxy
src/posttls-finger; do \
(set -e; echo "[$i]"; cd $i; make 'WARN=-Wmissing-prototypes
-Wformat -Wno-comment' update MAKELEVEL=) || exit 1; \
done
[src/util]
/opt/SUNWspro/bin/cc -I. -I../../include -DHAS_DB -DUSE_TLS
-DHAS_PCRE -DHAS_CDB -I/opt/custom/libs/bdb/include
-I/opt/custom/libs/ssl/include -I/opt/custom/libs/pcre/include
-I/opt/custom/libs/cdb/include -DNO_NISPLUS
-Dstrcasecmp=fix_strcasecmp
-Dstrncasecmp=fix_strncasecmp -DNO_EAI -DDEF_SMTPUTF8_ENABLE=\"no\"
-DHAS_DEV_URANDOM -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\"
-UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -g -O
-I. -DSUNOS5 -c alldig.c
cc: illegal option -Wmissing-prototypes
*** Error code 1
make: Fatal error: Command failed for target `alldig.o'
Current working directory
/export/home/install/compile/postfix/postfix-3.3.2/src/util
*** Error code 1
make: Fatal error: Command failed for target `update'
Build-Script:
#!/bin/bash
# compiler
MYLIB=/opt/custom/libs
MYPATH=/opt/SUNWspro/bin
MYCC=/opt/SUNWspro/bin/cc
MYCXX=/opt/SUNWspro/bin/cc
MYLIBS="-R${MYLIB}/bdb/lib -R${MYLIB}/ssl/lib -R${MYLIB}/pcre/lib
-L${MYLIB}/bdb/lib -L${MYLIB}/ssl/lib -L${MYLIB}/pcre/lib
${MYLIB}/cdb/lib/libcdb.a"
MYINCL="-I${MYLIB}/bdb/include -I${MYLIB}/ssl/include
-I${MYLIB}/pcre/include -I${MYLIB}/cdb/include"
PATH=$MYPATH:${MYLIB}/ssl/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,T5140/sbin:/opt/sun/bin:/opt/SUNWldm/bin
unset LD_LIBRARY_PATH
make tidy
make makefiles CC=$MYCC CXX=$MYCXX \
CCARGS="-DHAS_DB -DUSE_TLS -DHAS_PCRE -DHAS_CDB ${MYINCL}" \
AUXLIBS="${MYLIBS} -ldb -lssl -lcrypto -lpcre"
echo; echo; echo "### make makefiles finished; performing make ###";
echo
sleep 4
make
exit
Thanks, Jan