*This message was transferred with a trial version of CommuniGate(r) Pro*
Ky6uk пишет:
Решил поставить этот хаб. Поставилось без проблем, настроил, запустил
- все работает. Решил копнуть глубже (поставить плагины и скрипты) и
столкнулся с проблемой. Плагины отсутствуют в стандартной поставке,
по-этому пришлось выкачивать и собирать из сурцев.
При конфигурации любого плагина выскакивает следующее:
checking for VERLIHUB - version >= 0... no
*** The test program failed to compile or link. See the file
*** config.log for the exact error that occured. This usually
*** means VERLIHUB was not installed, was incorrectly installed
*** or that you have moved VERLIHUB since it was installed. In
*** the latter case, you may want to edit the
$ac_path_lib_verlihub_config
*** script: $VERLIHUB_CONFIG
Install verlihub devel, or you need a path for the
verlihub_config script, you may also wat to try some
--with-verlihub=/prefix agruments
указал опцию --with-verlihub-prefix, после этого сконфигурировалось.
После команды"make" вывалилось еще больше:
...
In file included from /usr/include/verlihub/cserverdc.h:21,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cmysql.h:18:19: error: mysql.h: No such file or
directory
In file included from /usr/include/verlihub/cdctag.h:22,
from /usr/include/verlihub/cdcconf.h:23,
from /usr/include/verlihub/cserverdc.h:29,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cpcre.h:13:18: error: pcre.h: No such file or
directory
In file included from /usr/include/verlihub/cserverdc.h:21,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cmysql.h:44: error: expected ';' before '*' token
In file included from /usr/include/verlihub/cconfmysql.h:25,
from /usr/include/verlihub/cpenaltylist.h:14,
from /usr/include/verlihub/cuser.h:25,
from /usr/include/verlihub/cserverdc.h:26,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cquery.h:40: error: 'MYSQL_ROW' does not name a
type
/usr/include/verlihub/cquery.h:49: error: expected ';' before '*' token
In file included from /usr/include/verlihub/cpenaltylist.h:14,
from /usr/include/verlihub/cuser.h:25,
from /usr/include/verlihub/cserverdc.h:26,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cconfmysql.h:65: error: expected ',' or '...'
before '&' token
/usr/include/verlihub/cconfmysql.h:171: error: 'MYSQL_ROW' does not
name a type
/usr/include/verlihub/cconfmysql.h:173: error: expected `)' before 'row'
/usr/include/verlihub/cconfmysql.h: In member function 'void
nConfig::cConfMySQL::ufLoad::operator()(nConfig::cConfigItemBase*)':
/usr/include/verlihub/cconfmysql.h:177: error: 'mRow' was not declared
in this scope
In file included from /usr/include/verlihub/cdctag.h:22,
from /usr/include/verlihub/cdcconf.h:23,
from /usr/include/verlihub/cserverdc.h:29,
from cstats.h:23,
from cpistats.h:30,
from cpistats.cpp:21:
/usr/include/verlihub/cpcre.h: At global scope:
/usr/include/verlihub/cpcre.h:43: error: expected ';' before '*' token
/usr/include/verlihub/cpcre.h:44: error: expected ';' before '*' token
make[2]: *** [cpistats.lo] Ошибка 1
make[2]: Leaving directory `/home/ky6uk/debian/net/verlihub/stats/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/ky6uk/debian/net/verlihub/stats'
make: *** [all] Ошибка 2
Пробовал поставить dev-пакеты с mysql.h и pcre.h но вылезало тоже
самое. Может кто сталкивался с проблемой или есть что посоветовать?
Буду благодарен. Стоит debian sid.
Отвечаю сам же. После длительного красноглазия все скомпилилось и
работает. Нужно было всего лишь в ручную указать пути к некоторым
заголовочным файлам: CPPFLAGS="-I/usr/include/mysql/
-I/usr/include/verlihub/"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]