Ports FreeBSD: Postfix with SASL Authentication

Vitor de Matos Carvalho vitor at softinfo.com.br
Sun Jun 29 06:47:23 PDT 2003


Hi,

I am compiling the Postfix the 2.0.12 for ports of the FreeBSD, selecting options of SASL2 and DB3. 
Alone that during the compilation of the Postfix it me of the these errors below:

gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include -I/usr/local/include/sasl -DHAS_MYSQL -I/usr/local/include/mysql -I/usr/local/include/db3 -DHAS_PCRE -I/usr/local/include  -O -pipe -march=pentiumpro -I. -DFREEBSD4 -c dict_ldap.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include -I/usr/local/include/sasl -DHAS_MYSQL -I/usr/local/include/mysql -I/usr/local/include/db3 -DHAS_PCRE -I/usr/local/include  -O -pipe -march=pentiumpro -I. -DFREEBSD4 -c dict_mysql.c
dict_mysql.c:76: mysql.h: No such file or directory
dict_mysql.c:90: syntax error before `MYSQL'
dict_mysql.c:128: syntax error before `*'
dict_mysql.c:128: warning: data definition has no type or storage class
dict_mysql.c: In function `dict_mysql_lookup':
dict_mysql.c:149: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:149: (Each undeclared identifier is reported only once
dict_mysql.c:149: for each function it appears in.)
dict_mysql.c:149: `query_res' undeclared (first use in this function)
dict_mysql.c:150: syntax error before `row'
dict_mysql.c:160: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:161: `pldb' undeclared (first use in this function)
dict_mysql.c:163: `query' undeclared (first use in this function)
dict_mysql.c:165: `name_escaped' undeclared (first use in this function)
dict_mysql.c:190: `numrows' undeclared (first use in this function)
dict_mysql.c:197: `result' undeclared (first use in this function)
dict_mysql.c:200: `i' undeclared (first use in this function)
dict_mysql.c:201: `row' undeclared (first use in this function)
dict_mysql.c:204: `j' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:229: syntax error before `*'
dict_mysql.c: In function `plmysql_query':
dict_mysql.c:237: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:237: `res' undeclared (first use in this function)
dict_mysql.c:276: structure has no member named `db'
dict_mysql.c:277: structure has no member named `db'
dict_mysql.c:278: structure has no member named `db'
dict_mysql.c:278: warning: format argument is not a pointer (arg 2)
dict_mysql.c:285: structure has no member named `db'
dict_mysql.c:285: warning: format argument is not a pointer (arg 2)
dict_mysql.c: In function `plmysql_connect_single':
dict_mysql.c:320: structure has no member named `db'
dict_mysql.c:321: structure has no member named `db'
dict_mysql.c:328: structure has no member named `db'
dict_mysql.c:328: warning: format argument is not a pointer (arg 3)
dict_mysql.c: In function `plmysql_close_host':
dict_mysql.c:338: structure has no member named `db'
dict_mysql.c:339: structure has no member named `db'
dict_mysql.c: In function `plmysql_down_host':
dict_mysql.c:349: structure has no member named `db'
dict_mysql.c:350: structure has no member named `db'
dict_mysql.c: In function `plmysql_init':
dict_mysql.c:493: `MYSQL' undeclared (first use in this function)
dict_mysql.c:493: `dbs' undeclared (first use in this function)
dict_mysql.c:494: syntax error before `int'
dict_mysql.c:503: `i' undeclared (first use in this function)
dict_mysql.c: In function `host_init':
dict_mysql.c:517: structure has no member named `db'
dict_mysql.c: In function `plmysql_dealloc':
dict_mysql.c:553: structure has no member named `db'
dict_mysql.c:554: structure has no member named `db'
*** Error code 1

Stop in /usr/ports/mail/postfix/work/postfix-2.0.12/src/util.
*** Error code 1

Stop in /usr/ports/mail/postfix/work/postfix-2.0.12.
*** Error code 1

Stop in /usr/ports/mail/postfix.
*** Error code 1

Stop in /usr/ports/mail/postfix.
jangada#

 Regards,

---------------------------------------------------
Vitor de Matos Carvalho - #5602098
Softinfo Network Administrator
+55 (71)9971-5011 / +55 (71)9986-9317
Salvador - Bahia - Brazil
FreeBSD: The silent Workhorse



More information about the cvs-ports mailing list