yes,the mysql_config binary is in my BIN_PATH. i resloved this problem by edit the file authmysql.h in source directory manually.
thanks again. Best regards, Sharl.Jimh.Tsin (From China) 2010/7/18 Sam Varshavchik <mr...@courier-mta.com>: > Sharl.Jimh.Tsin writes: > >> hi,everyone >> when i configure the courier-authlib with command below: >> >> [sh...@powerpc courier-authlib-0.63.0]$ ./configure \ >>> >>> --sysconfdir=/etc/sysconfig \ >>> --localstatedir=/var \ >>> --with-db=gdbm \ >>> --without-authpgsql \ >>> --with-mysql-libs=/usr/local/mysql/lib \ >>> --with-mysql-includes=/usr/local/mysql/include/mysql \ >>> --with-mailuser=email \ >>> --with-mailgroup=web >> >> check dependence is ok, but make not success! >> >> it returns: >> …… >> …… >> In file included from authmysql.c:18: >> authmysql.h:9:20: error: errmsg.h: No such file or directory >> make[2]: *** [authmysql.lo] Error 1 >> make[2]: Leaving directory `/root/courier-authlib-0.63.0' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/courier-authlib-0.63.0' >> make: *** [all] Error 2 >> >> BUT,there is the mysql.h & errmsg.h files in the path >> /usr/local/mysql/include/mysql in fact. > > You probably have mysql_config somewhere in your path. If mysql_config is > found, the settings from mysql_config override any manually-specific > settings. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > courier-users mailing list > courier-users@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users