В сообщении от 9 Декабрь 2004 14:09 Anatoly A. Ivanov написал(a): > Здравствуйте, sisyphus. > > При попытке пересобрать ProFTP с модулями mod_sql_mysql или > mod_sql_postgres - вываливается на этапе компиляции. > > mod_sql_postgres.c:1018: error: `PGRES_COMMAND_OK' undeclared (first use in > this function) mod_sql_postgres.c:1021: error: dereferencing pointer to > incomplete type mod_sql_postgres.c:1021: error: dereferencing pointer to > incomplete type mod_sql_postgres.c:1035: error: dereferencing pointer to > incomplete type mod_sql_postgres.c:1038: error: dereferencing pointer to > incomplete type mod_sql_postgres.c: In function `cmd_escapestring': > mod_sql_postgres.c:1113: warning: implicit declaration of function > `PQescapeString' make[1]: *** [mod_sql_postgres.o] Error 1 > make[1]: Leaving directory `/home/aix/RPM/BUILD/proftpd-1.2.10rc1/modules' > make: *** [modules] Error 2 > make: Leaving directory `/home/aix/RPM/BUILD/proftpd-1.2.10rc1' > > > Для mysql похожая ситуация. > > Переодически обновляю систему, так что с обновлениями и свежими > версиями должно быть все в порядке. > > Надо в configure указывать еще и модуль mod_sql иначе не будет собираться