Terima kasih buat rekan-rekan semua. Saya udah coba semua paket yang dibutuhkan, lalu mencoba update lagi dengan perintah : [EMAIL PROTECTED] postfix-2.0.16]# make 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm'
Hasilnya adalah : set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr 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/nqmgr src/qmqpd src/spawn src/flush src/virtual src/proxymap; do \ (set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE ' update MAKELEVEL=) || exit 1; \ done [src/util] gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c alldig.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c argv.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c argv_split.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c attr_print0.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c attr_print64.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c attr_scan0.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c attr_scan64.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c base64_code.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c basename.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c binhash.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c chroot_uid.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c clean_env.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c close_on_exec.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c concatenate.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c ctable.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_alloc.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_db.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_dbm.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_debug.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_env.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_ht.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_ldap.c gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -g -O -I. -DLINUX2 -c dict_mysql.c dict_mysql.c:76:19: mysql.h: No such file or directory dict_mysql.c:90: parse error before "MYSQL" dict_mysql.c:90: warning: no semicolon at end of struct or union dict_mysql.c:95: parse error before '}' token dict_mysql.c:95: warning: data definition has no type or storage class dict_mysql.c:99: parse error before "HOST" dict_mysql.c:99: warning: no semicolon at end of struct or union dict_mysql.c:101: warning: data definition has no type or storage class dict_mysql.c:117: parse error before "PLMYSQL" dict_mysql.c:117: warning: no semicolon at end of struct or union dict_mysql.c:119: parse error before '}' token dict_mysql.c:119: warning: data definition has no type or storage class dict_mysql.c:127: parse error before '*' token dict_mysql.c:127: warning: data definition has no type or storage class dict_mysql.c:128: parse error before '*' token dict_mysql.c:128: parse error before '*' token dict_mysql.c:128: warning: data definition has no type or storage class dict_mysql.c:129: parse error before '*' token dict_mysql.c:130: parse error before '*' token dict_mysql.c:131: parse error before '*' token dict_mysql.c:132: parse error before '*' token dict_mysql.c:133: parse error before '*' token dict_mysql.c:138: parse error before "host_init" dict_mysql.c:138: 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: `MYSQL_ROW' undeclared (first use in this function) dict_mysql.c:150: parse error before "row" dict_mysql.c:151: `dict_mysql' undeclared (first use in this function) dict_mysql.c:152: `pldb' undeclared (first use in this function) dict_mysql.c:160: parse error before ')' token dict_mysql.c:201: `row' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:229: parse error before '*' token dict_mysql.c:229: parse error before '*' token dict_mysql.c:234: warning: no previous prototype for `plmysql_query' dict_mysql.c: In function `plmysql_query': dict_mysql.c:236: `host' undeclared (first use in this function) 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:239: `PLDB' undeclared (first use in this function) dict_mysql.c:257: `dbname' undeclared (first use in this function) dict_mysql.c:257: `username' undeclared (first use in this function) dict_mysql.c:257: `password' undeclared (first use in this function) dict_mysql.c:276: `query' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:298: parse error before '*' token dict_mysql.c:299: warning: `plmysql_connect_single' was used with no prototype before its definition dict_mysql.c: In function `plmysql_connect_single': dict_mysql.c:300: `host' undeclared (first use in this function) dict_mysql.c:321: `username' undeclared (first use in this function) dict_mysql.c:321: `password' undeclared (first use in this function) dict_mysql.c:321: `dbname' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:336: parse error before '*' token dict_mysql.c:337: warning: `plmysql_close_host' was used with no prototype before its definition dict_mysql.c: In function `plmysql_close_host': dict_mysql.c:338: `host' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:347: parse error before '*' token dict_mysql.c:348: warning: `plmysql_down_host' was used with no prototype before its definition dict_mysql.c: In function `plmysql_down_host': dict_mysql.c:349: `host' undeclared (first use in this function) dict_mysql.c: In function `dict_mysql_open': dict_mysql.c:363: `dict_mysql' undeclared (first use in this function) dict_mysql.c:366: parse error before ')' token dict_mysql.c: At top level: dict_mysql.c:490: parse error before '*' token dict_mysql.c: In function `plmysql_init': dict_mysql.c:492: `PLDB' undeclared (first use in this function) 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:495: parse error before "host" dict_mysql.c:497: parse error before ')' token dict_mysql.c: At top level: dict_mysql.c:500: parse error before '->' token dict_mysql.c:511: parse error before "host_init" dict_mysql.c: In function `host_init': dict_mysql.c:513: parse error before "host" dict_mysql.c:515: `host' undeclared (first use in this function) dict_mysql.c: In function `dict_mysql_close': dict_mysql.c:529: `dict_mysql' undeclared (first use in this function) dict_mysql.c:529: parse error before ')' token dict_mysql.c: At top level: dict_mysql.c:548: parse error before '*' token dict_mysql.c:549: warning: `plmysql_dealloc' was used with no prototype before its definition dict_mysql.c: In function `plmysql_dealloc': dict_mysql.c:552: `PLDB' undeclared (first use in this function) make: *** [dict_mysql.o] Error 1 make: *** [update] Error 1 Apalagi yang kurang ya ??? Please bantuannya Regards Andrean On Mon, 2003-12-22 at 21:54, Muhammad wrote: > > > >[EMAIL PROTECTED] postfix-2.0.16]# make 'CCARGS=-DHAS_MYSQL > > > >-I/usr/include/mysql' \ > > > > > > > >>'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm' > > > > > > sudah saya coba (beliau perlu file db.h), rupanya perlu diinstall kan > libdbx.x-devel-xxx , > contoh ditempat saya : > libdb4.1-devel-4.1.25-3mdk.rpm > > tank's >
