- Регистрация
- 14 Мар 2009
- Сообщения
- 284
- Реакции
- 20
- Заблокирован
- #5.531
Уважаемые вообщем с горем пополам, но я запустил демона. работает нормально, но терь вопрос, проблему с автопрокруткой для всех браузеров решили?
И еще вопрос, когда пробую использовать мод_вок, короче делаю команду: apxs -i -a -c mod_voc2.c, то получаю:
chat@chat.host.net [~/protect_see/data/daemon]# apxs -i -a -c mod_voc2.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -c -o mod_voc2.lo mod_voc2.c && touch mod_voc2.slo
/usr/local/apache/build/libtool --silent --mode=link gcc -o mod_voc2.la -rpath /usr/local/apache/modules -module -avoid-version mod_voc2.lo
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' mod_voc2.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_voc2.la /usr/local/apache/modules/
cp .libs/mod_voc2.so /usr/local/apache/modules/mod_voc2.so
cp: cannot create regular file `/usr/local/apache/modules/mod_voc2.so': Permission denied
apxs:Error: Command failed with rc=65536
.
chat@chat.host.net [~/protect_see/data/daemon]#
А когда делаю команду: apxs -i -a -c mod_voc.c , то выходит:
chat@chat.host.net [~/protect_see/data/daemon]# -i -a -c mod_voc.c
-bash: -i: command not found
chat@chat.host.net [~/protect_see/data/daemon]# apxs -i -a -c mod_voc.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -c -o mod_voc.lo mod_voc.c && touch mod_voc.slo
mod_voc.c:50: error: expected ')' before '*' token
mod_voc.c:56: error: expected ')' before '*' token
mod_voc.c:72: warning: initialization from incompatible pointer type
mod_voc.c: In function 'voc_handler':
mod_voc.c:144: error: 'conn_rec' has no member named 'client'
mod_voc.c:147: error: 'conn_rec' has no member named 'client'
mod_voc.c:161: error: 'conn_rec' has no member named 'client'
mod_voc.c:172: error: 'conn_rec' has no member named 'client'
mod_voc.c: At top level:
mod_voc.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'voc_handlers'
mod_voc.c:188: error: 'this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function)
mod_voc.c:189: warning: initialization makes integer from pointer without a cast
mod_voc.c:190: error: 'voc_dirconf' undeclared here (not in a function)
mod_voc.c:191: error: 'voc_merge_dirconf' undeclared here (not in a function)
mod_voc.c:194: warning: initialization makes integer from pointer without a cast
mod_voc.c:195: error: 'voc_handlers' undeclared here (not in a function)
mod_voc.c:202: warning: excess elements in struct initializer
mod_voc.c:202: warning: (near initialization for 'voc_module')
mod_voc.c:204: warning: excess elements in struct initializer
mod_voc.c:204: warning: (near initialization for 'voc_module')
mod_voc.c:207: warning: excess elements in struct initializer
mod_voc.c:207: warning: (near initialization for 'voc_module')
mod_voc.c:210: warning: excess elements in struct initializer
mod_voc.c:210: warning: (near initialization for 'voc_module')
mod_voc.c:215: warning: excess elements in struct initializer
mod_voc.c:215: warning: (near initialization for 'voc_module')
apxs:Error: Command failed with rc=65536
.
chat@chat.host.net [~/protect_see/data/daemon]#
Помогите плиз, как сделать этот mod_voc или настроить демона так чтобы он со всем браузерами работал?:bc::bc::bc:
И еще вопрос, когда пробую использовать мод_вок, короче делаю команду: apxs -i -a -c mod_voc2.c, то получаю:
chat@chat.host.net [~/protect_see/data/daemon]# apxs -i -a -c mod_voc2.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -c -o mod_voc2.lo mod_voc2.c && touch mod_voc2.slo
/usr/local/apache/build/libtool --silent --mode=link gcc -o mod_voc2.la -rpath /usr/local/apache/modules -module -avoid-version mod_voc2.lo
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' mod_voc2.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_voc2.la /usr/local/apache/modules/
cp .libs/mod_voc2.so /usr/local/apache/modules/mod_voc2.so
cp: cannot create regular file `/usr/local/apache/modules/mod_voc2.so': Permission denied
apxs:Error: Command failed with rc=65536
.
chat@chat.host.net [~/protect_see/data/daemon]#
А когда делаю команду: apxs -i -a -c mod_voc.c , то выходит:
chat@chat.host.net [~/protect_see/data/daemon]# -i -a -c mod_voc.c
-bash: -i: command not found
chat@chat.host.net [~/protect_see/data/daemon]# apxs -i -a -c mod_voc.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE --param ggc-min-expand=1 --param ggc-min-heapsize=4096 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -c -o mod_voc.lo mod_voc.c && touch mod_voc.slo
mod_voc.c:50: error: expected ')' before '*' token
mod_voc.c:56: error: expected ')' before '*' token
mod_voc.c:72: warning: initialization from incompatible pointer type
mod_voc.c: In function 'voc_handler':
mod_voc.c:144: error: 'conn_rec' has no member named 'client'
mod_voc.c:147: error: 'conn_rec' has no member named 'client'
mod_voc.c:161: error: 'conn_rec' has no member named 'client'
mod_voc.c:172: error: 'conn_rec' has no member named 'client'
mod_voc.c: At top level:
mod_voc.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'voc_handlers'
mod_voc.c:188: error: 'this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function)
mod_voc.c:189: warning: initialization makes integer from pointer without a cast
mod_voc.c:190: error: 'voc_dirconf' undeclared here (not in a function)
mod_voc.c:191: error: 'voc_merge_dirconf' undeclared here (not in a function)
mod_voc.c:194: warning: initialization makes integer from pointer without a cast
mod_voc.c:195: error: 'voc_handlers' undeclared here (not in a function)
mod_voc.c:202: warning: excess elements in struct initializer
mod_voc.c:202: warning: (near initialization for 'voc_module')
mod_voc.c:204: warning: excess elements in struct initializer
mod_voc.c:204: warning: (near initialization for 'voc_module')
mod_voc.c:207: warning: excess elements in struct initializer
mod_voc.c:207: warning: (near initialization for 'voc_module')
mod_voc.c:210: warning: excess elements in struct initializer
mod_voc.c:210: warning: (near initialization for 'voc_module')
mod_voc.c:215: warning: excess elements in struct initializer
mod_voc.c:215: warning: (near initialization for 'voc_module')
apxs:Error: Command failed with rc=65536
.
chat@chat.host.net [~/protect_see/data/daemon]#
Помогите плиз, как сделать этот mod_voc или настроить демона так чтобы он со всем браузерами работал?:bc::bc::bc: