Quote:
Originally Posted by abisko00
If you compile a software, you usually know where you installed the sources. Are you sure you need to compile postfix anyway? Have you checked if there isn't a rpm package available?
|
Thanks for the response. Yes, it was an install with the system. There is an RPM in the Yast folder.
The question was a little off cenetr when I asked it. I am attempting to do the following and I have a different version of Postfix loaded (2.1.1.x).
http://genco.gen.tc/postfix_virtual.php#courierauth
I unloaded the previous version and downloaded:
wget -c ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.2.2.tar.gz
Still getting an error on the make. The information log goes on and on.
[src/error]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -I/usr/share/doc/packages/bind/contrib/sdb/bdb -DUSE_TLS -I/usr/include/openssl -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -c error.c
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -I/usr/share/doc/packages/bind/contrib/sdb/bdb -DUSE_TLS -I/usr/include/openssl -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/bin/mysql-lmysqlclient -lz -lm -L/usr/lib -lsasl2 -L/usr/lib/db4 -L/usr/include/ssl -lssl -lcrypto -L/usr/lib -lpcre -ldb -lnsl -lresolv
../../lib/libglobal.a(dict_mysql.o)(.text+0x47): In function `dict_mysql_quote':
/usr/local/postfix-2.2.2/src/global/dict_mysql.c:277: undefined reference to `mysql_escape_string'
../../lib/libglobal.a(dict_mysql.o)(.text+0x18b): In function `dict_mysql_lookup':
/usr/local/postfix-2.2.2/src/global/dict_mysql.c:337: undefined reference to `mysql_num_rows'
../../lib/libglobal.a(dict_mysql.o)(.text+0x1c1):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:341: undefined reference to `mysql_free_result'
../../lib/libglobal.a(dict_mysql.o)(.text+0x252):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:348: undefined reference to `mysql_fetch_row'
../../lib/libglobal.a(dict_mysql.o)(.text+0x2c4):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:349: undefined reference to `mysql_num_fields'
Thanks