LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Postfix (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-732679/)

shankar.vishwakarma 06-13-2009 07:26 AM

Postfix
 
Hi guys,

following is the error,when try to run the command make install after installing postfix.
Please help

cheers
shanky

set -e; for i in src/util src/global src/dns src/tls src/xsasl src/milter src/master 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; do \
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL \ -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \ -I/usr/local/include/sasl -I/usr/local/bdb/include \ -DUSE_TLS -I/usr/local/ssl/include/openssl ' update MAKELEVEL=) || exit 1; \
done
[src/util]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL \ -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \ -I/usr/local/include/sasl -I/usr/local/bdb/include \ -DUSE_TLS -I/usr/local/ssl/include/openssl -g -O -I. -DLINUX2 -c argv.c
gcc: -I/usr/local/mysql/include/mysql: No such file or directory
gcc: -I/usr/local/include/sasl: No such file or directory
gcc: -DUSE_TLS: No such file or directory
make: *** [argv.o] Error 1
make: *** [update] Error 1

saagar 06-13-2009 12:22 PM

wow..like a warzone.!

jamescondron 06-13-2009 12:27 PM

Try installing the stuff it says it can't find;
Code:

gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL \ -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \ -I/usr/local/include/sasl -I/usr/local/bdb/include \ -DUSE_TLS -I/usr/local/ssl/include/openssl -g -O -I. -DLINUX2 -c argv.c
gcc: -I/usr/local/mysql/include/mysql: No such file or directory
gcc: -I/usr/local/include/sasl: No such file or directory
gcc: -DUSE_TLS: No such file or directory

Or installing via your package manager to fix deps properly


All times are GMT -5. The time now is 10:18 AM.