MailWatch.. не пишет в базу.
Доброго времени суток.
Найдется ли в этой аудитории человек успешно победивший MailWatch под
Sarge? Если да, большая просьба поделиться секретом :)
P.S.
К сожалению собрать DBD-mysql-2.1028 как рекомендуется на
http://mailwatch.sourceforge.net/faq.html у меня пока не получилось:
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:1984: error: dereferencing pointer to incomplete type
dbdimp.c:1996: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:2023: error: dereferencing pointer to incomplete type
dbdimp.c:2023: error: `CR_SERVER_GONE_ERROR' undeclared (first use in
this function)
dbdimp.c:2028: error: dereferencing pointer to incomplete type
dbdimp.c:2037: error: dereferencing pointer to incomplete type
dbdimp.c:2037: error: dereferencing pointer to incomplete type
dbdimp.c:2037: warning: passing arg 3 of `mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c: In function `mysql_db_quote':
dbdimp.c:2168: error: dereferencing pointer to incomplete type
dbdimp.c: At top level:
/usr/lib/perl/5.8/CORE/reentr.h:775: error: storage size of
`_srandom_struct' isn't known
make: *** [dbdimp.o] Ошибка 1
# I keep getting the error 'MySQL server has gone away' in the mail logs
since I installed MailWatch, how do I fix this?
This is caused by using the latest version of Perl DBD-MySQL (2.9002 at
the time of writing), downgrade to version 2.1028 which you can get from
here and this will fix the problem.
Проблема, imho, именно в этом.
respect.
Reply to: