Возникла сложность при установки apache

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-22 14:41:36

Так я порты обновил и эта ошибка не возникает

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Возникла сложность при установки apache

Непрочитанное сообщение paradox » 2009-10-22 14:46:44

kuhar2007 писал(а):я понял сразу куда, но всеравно таже х....ня, как-то по другому можно установить?
?

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2009-10-22 14:56:15

2.2.13 в портах,а не 2.2.14 как на сайте.открой Makefile и почитай какая там версия

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-22 15:05:08

В Makefile 2.2.13 не 2.2.14
PS Убегаю на работу, может чуваков на работу возьму МТС Коннект на ночь попробую установить, ночью отпишусь.


Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2009-10-22 16:05:48

ну дык скачай 2.2.13

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-23 1:41:23

Почему соединения я серваком апатча не происходит, он ищет на фтпишках и на зеркалах апатча файл httpd-2.2.13, а его там просто навсего нет :(
Подскажите плизз что в таком случае делать?

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2009-10-23 9:39:54

понятно что произошло у тебя...есть у тебя в distfiles недокачанный httpd пакет.делай такую последовательность.

Код: Выделить всё

pkg_add -r wget
rehash
далее пишем в /etc/make.conf

Код: Выделить всё

FETCH_CMD=/usr/local/bin/wget -t 3 -c
DISABLE_SIZE=yes
это для того чтоб качал порты wget,если будет сбой инета-все равно докачает,fetch этого не может.
идешь в /usr/ports/distfiles/apache22 и сносишь недокачанный файл apache 2.2.13

Код: Выделить всё

rm -rf /usr/ports/distfiles/apache22/*
,далее

Код: Выделить всё

cd /usr/ports/www/apache22
rehash
make clean
make install clean

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-24 1:47:47

Я разобрался почему у меня не коннектился к фтипишкам, у меня всякая не нужная дрябядень была написана в make.conf :oops:

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Возникла сложность при установки apache

Непрочитанное сообщение paradox » 2009-10-24 1:50:08

скоро нужно будет устаканить набор правил не выполнив которые новичков сразу посылать на них

по типу
1) снести make.conf src.conf
2) обновиться до стеибла и собрать женерик
3) обновить порты

и токо тогда приходить с проблемами)))

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-24 10:10:54

Вернулся обратно к проблеме что была изначально:

Код: Выделить всё

mod_authnz_ldap.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
mod_authnz_ldap.c:289: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:292: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:295: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:297: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c:297: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:297: error: for each function it appears in.)
mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:305: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:308: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c: In function 'authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:316: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:316: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'authn_ldap_check_password':
mod_authnz_ldap.c:341: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:341: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:359: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:369: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:404: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_authnz_ldap.c:411: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:417: error: 'LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_authnz_ldap.c:421: error: 'LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function)
mod_authnz_ldap.c:422: error: 'LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_authnz_ldap.c:436: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:454: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:455: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:464: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:471: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c: In function 'authz_ldap_check_user_access':
mod_authnz_ldap.c:504: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:504: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:526: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:533: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:548: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:553: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:555: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:593: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:632: error: 'LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_authnz_ldap.c:677: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:694: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:698: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:720: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:724: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:727: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:808: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:819: error: 'LDAP_FILTER_ERROR' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_parse_url':
mod_authnz_ldap.c:870: error: 'apr_ldap_url_desc_t' undeclared (first use in this function)
mod_authnz_ldap.c:870: error: 'urld' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'result' undeclared (first use in this function)
mod_authnz_ldap.c:910: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_authnz_ldap.c:911: error: 'LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_authnz_ldap.c:932: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:932: error: 'APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:935: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:935: error: 'APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:938: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:938: error: 'APR_LDAP_STARTTLS' undeclared (first use in this function)
mod_authnz_ldap.c:950: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:951: error: 'LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:955: error: 'LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:958: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:969: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_authnz_ldap.c:972: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c: In function 'mod_auth_ldap_set_deref':
mod_authnz_ldap.c:983: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:983: error: 'never' undeclared (first use in this function)
mod_authnz_ldap.c:986: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:986: error: 'searching' undeclared (first use in this function)
mod_authnz_ldap.c:989: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:989: error: 'finding' undeclared (first use in this function)
mod_authnz_ldap.c:992: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:992: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1006: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:1009: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1048: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:1052: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:1056: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:1062: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:1074: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:1085: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c: In function 'ImportULDAPOptFn':
mod_authnz_ldap.c:1199: error: 'util_ldap_connection_close' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: 'apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: expected expression before ')' token
mod_authnz_ldap.c:1199: error: invalid operands to binary *
mod_authnz_ldap.c:1200: error: 'util_ldap_connection_find' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: 'apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: expected expression before ')' token
mod_authnz_ldap.c:1200: error: invalid operands to binary *
mod_authnz_ldap.c:1201: error: 'util_ldap_cache_comparedn' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: 'apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: expected expression before ')' token
mod_authnz_ldap.c:1201: error: invalid operands to binary *
mod_authnz_ldap.c:1202: error: 'util_ldap_cache_compare' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: 'apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: expected expression before ')' token
mod_authnz_ldap.c:1202: error: invalid operands to binary *
mod_authnz_ldap.c:1203: error: 'util_ldap_cache_checkuserid' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: 'apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: expected expression before ')' token
mod_authnz_ldap.c:1203: error: invalid operands to binary *
mod_authnz_ldap.c:1204: error: 'util_ldap_cache_getuserdn' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: 'apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: expected expression before ')' token
mod_authnz_ldap.c:1204: error: invalid operands to binary *
mod_authnz_ldap.c:1205: error: 'util_ldap_ssl_supported' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: expected expression before ')' token
mod_authnz_ldap.c:1205: error: invalid operands to binary *
*** Error code 1
 cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o .libs/mod_authz_default.o
 cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o mod_authz_default.o >/dev/null 2>&1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
Только порты у меня обновленные, и пробывал ставить без LDAP

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Возникла сложность при установки apache

Непрочитанное сообщение paradox » 2009-10-24 10:17:02

Код: Выделить всё

make config
точно лдапа и прочей хрени нет?

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-24 10:22:20

Выбрано все кроме ldap и AUTHNZ_LDAP

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2009-10-24 10:53:24

для начала

Код: Выделить всё

make rmconfig
make clean
make install clean
если не получается,то

Код: Выделить всё

pkg_add -r apache22
но не вариант.....

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-24 11:17:17

Спасибо я наконецто его установил. :Yahoo!:
Да вот только при старте апатча

Код: Выделить всё

apachectl start
Пишет

Код: Выделить всё

httpd: apr_sockaddr_info_get() failed for 
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2009-10-24 12:02:07

Код: Выделить всё

cat /etc/hosts
::1                     localhost localhost.bsd localhost.bsd.local
127.0.0.1               localhost localhost.bsd localhost.bsd.local
192.168.1.2             host.bsd host
192.168.1.2             host.bsd.
потом все нормально.

kuhar2007
сержант
Сообщения: 243
Зарегистрирован: 2008-12-22 14:40:35

Re: Возникла сложность при установки apache

Непрочитанное сообщение kuhar2007 » 2009-10-25 7:01:08

Решил эту сложность прописавши ServerName в файле httpd.conf

Merlin68
рядовой
Сообщения: 44
Зарегистрирован: 2010-06-09 8:51:45

Re: Возникла сложность при установки apache

Непрочитанное сообщение Merlin68 » 2010-06-09 9:06:02

Друзья!
У меня приблизительно та же проблема.
Порты обновлены.
Четвёртый день бъюсь, и никак...
Помогите, плиз, установить apache22.

Код: Выделить всё

 To enable a module category: WITH_<CATEGORY>_MODULES
 To disable a module category: WITHOUT_<CATEGORY>_MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC THREADS

  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for apache-2.2.15_9
===>  Extracting for apache-2.2.15_9
=> MD5 Checksum OK for apache22/httpd-2.2.15.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.15.tar.bz2.
===>   apache-2.2.15_9 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Patching for apache-2.2.15_9
===>   apache-2.2.15_9 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Applying FreeBSD patches for apache-2.2.15_9
===>   apache-2.2.15_9 depends on file: /usr/local/lib/libcrypto.so.6 - found
===>   apache-2.2.15_9 depends on file: /usr/local/bin/perl5.8.9 - found
===>   apache-2.2.15_9 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   apache-2.2.15_9 depends on package: libtool>=2.2 - found
===>   apache-2.2.15_9 depends on shared library: expat.6 - found
===>   apache-2.2.15_9 depends on shared library: apr-1 - found
===>   apache-2.2.15_9 depends on shared library: pcre.0 - found
===>   apache-2.2.15_9 depends on shared library: ldap-2.4.7 - found
===>   apache-2.2.15_9 depends on shared library: iconv.3 - found
===>   apache-2.2.15_9 depends on shared library: mysqlclient.15 - found
===>   apache-2.2.15_9 depends on shared library: pq.5 - found
===>   apache-2.2.15_9 depends on shared library: db41.1 - found
===>   apache-2.2.15_9 depends on shared library: sqlite3.8 - found
===>  Configuring for apache-2.2.15_9
checking for chosen layout... FreeBSD
checking for working mkdir -p... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0

Configuring Apache Portable Runtime library ...

checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
===>  Script "configure" failed unexpectedly.
Please report the problem to apache@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/apache22/work/httpd-2.2.15/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
#

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2010-06-09 9:54:49

Код: Выделить всё

cd /usr/ports/www/apache22
make clean
make rmconfig
make install clean
пробовали?

Merlin68
рядовой
Сообщения: 44
Зарегистрирован: 2010-06-09 8:51:45

Re: Возникла сложность при установки apache

Непрочитанное сообщение Merlin68 » 2010-06-09 9:57:23

server801 писал(а):

Код: Выделить всё

cd /usr/ports/www/apache22
make clean
make rmconfig
make install clean
пробовали?
Конечно пробовал.
Ничего не получается.

Аватара пользователя
criminalist
мл. сержант
Сообщения: 74
Зарегистрирован: 2010-02-01 19:56:15

Re: Возникла сложность при установки apache

Непрочитанное сообщение criminalist » 2010-06-12 0:44:46

Код: Выделить всё

mod_authnz_ldap.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
mod_authnz_ldap.c:289: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:292: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:295: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:297: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c:297: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:297: error: for each function it appears in.)
mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:305: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:308: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c: In function 'authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:316: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:316: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'authn_ldap_check_password':
mod_authnz_ldap.c:341: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:341: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:359: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:369: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:404: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_authnz_ldap.c:411: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:417: error: 'LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_authnz_ldap.c:421: error: 'LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function)
mod_authnz_ldap.c:422: error: 'LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_authnz_ldap.c:436: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:454: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:455: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:464: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:471: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c: In function 'authz_ldap_check_user_access':
mod_authnz_ldap.c:504: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:504: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:526: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:533: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:548: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:553: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:555: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:593: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:632: error: 'LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_authnz_ldap.c:677: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:694: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:698: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:720: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:724: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:727: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:808: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:819: error: 'LDAP_FILTER_ERROR' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_parse_url':
mod_authnz_ldap.c:870: error: 'apr_ldap_url_desc_t' undeclared (first use in this function)
mod_authnz_ldap.c:870: error: 'urld' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'result' undeclared (first use in this function)
mod_authnz_ldap.c:910: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_authnz_ldap.c:911: error: 'LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_authnz_ldap.c:932: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:932: error: 'APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:935: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:935: error: 'APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:938: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:938: error: 'APR_LDAP_STARTTLS' undeclared (first use in this function)
mod_authnz_ldap.c:950: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:951: error: 'LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:955: error: 'LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:958: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:969: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_authnz_ldap.c:972: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c: In function 'mod_auth_ldap_set_deref':
mod_authnz_ldap.c:983: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:983: error: 'never' undeclared (first use in this function)
mod_authnz_ldap.c:986: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:986: error: 'searching' undeclared (first use in this function)
mod_authnz_ldap.c:989: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:989: error: 'finding' undeclared (first use in this function)
mod_authnz_ldap.c:992: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:992: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1006: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:1009: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1048: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:1052: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:1056: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:1062: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:1074: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:1085: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c: In function 'ImportULDAPOptFn':
mod_authnz_ldap.c:1199: error: 'util_ldap_connection_close' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: 'apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: expected expression before ')' token
mod_authnz_ldap.c:1199: error: invalid operands to binary *
mod_authnz_ldap.c:1200: error: 'util_ldap_connection_find' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: 'apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: expected expression before ')' token
mod_authnz_ldap.c:1200: error: invalid operands to binary *
mod_authnz_ldap.c:1201: error: 'util_ldap_cache_comparedn' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: 'apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: expected expression before ')' token
mod_authnz_ldap.c:1201: error: invalid operands to binary *
mod_authnz_ldap.c:1202: error: 'util_ldap_cache_compare' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: 'apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: expected expression before ')' token
mod_authnz_ldap.c:1202: error: invalid operands to binary *
mod_authnz_ldap.c:1203: error: 'util_ldap_cache_checkuserid' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: 'apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: expected expression before ')' token
mod_authnz_ldap.c:1203: error: invalid operands to binary *
mod_authnz_ldap.c:1204: error: 'util_ldap_cache_getuserdn' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: 'apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: expected expression before ')' token
mod_authnz_ldap.c:1204: error: invalid operands to binary *
mod_authnz_ldap.c:1205: error: 'util_ldap_ssl_supported' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: expected expression before ')' token
mod_authnz_ldap.c:1205: error: invalid operands to binary *
*** Error code 1
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o .libs/mod_authz_default.o
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o mod_authz_default.o >/dev/null 2>&1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
Тоже самое порты обновил уже раз так на 100 :) при Make галку и убирал на Ldap и ставил результат один и тот же =(
хотел обновить апач и больше ни чего.

Аватара пользователя
criminalist
мл. сержант
Сообщения: 74
Зарегистрирован: 2010-02-01 19:56:15

Re: Возникла сложность при установки apache

Непрочитанное сообщение criminalist » 2010-06-12 0:47:18

Код: Выделить всё

mod_authnz_ldap.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
mod_authnz_ldap.c:289: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:292: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:295: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:297: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c:297: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:297: error: for each function it appears in.)
mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:305: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:308: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c: In function 'authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:316: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:316: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'authn_ldap_check_password':
mod_authnz_ldap.c:341: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:341: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:359: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:369: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:404: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_authnz_ldap.c:411: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:417: error: 'LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_authnz_ldap.c:421: error: 'LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function)
mod_authnz_ldap.c:422: error: 'LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_authnz_ldap.c:436: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:454: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:455: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:464: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:471: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c: In function 'authz_ldap_check_user_access':
mod_authnz_ldap.c:504: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:504: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:526: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:533: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:548: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:553: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:555: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:593: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:632: error: 'LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_authnz_ldap.c:677: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:694: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:698: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:720: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:724: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:727: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:808: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:819: error: 'LDAP_FILTER_ERROR' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_parse_url':
mod_authnz_ldap.c:870: error: 'apr_ldap_url_desc_t' undeclared (first use in this function)
mod_authnz_ldap.c:870: error: 'urld' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'result' undeclared (first use in this function)
mod_authnz_ldap.c:910: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_authnz_ldap.c:911: error: 'LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_authnz_ldap.c:932: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:932: error: 'APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:935: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:935: error: 'APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:938: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:938: error: 'APR_LDAP_STARTTLS' undeclared (first use in this function)
mod_authnz_ldap.c:950: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:951: error: 'LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:955: error: 'LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:958: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:969: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_authnz_ldap.c:972: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c: In function 'mod_auth_ldap_set_deref':
mod_authnz_ldap.c:983: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:983: error: 'never' undeclared (first use in this function)
mod_authnz_ldap.c:986: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:986: error: 'searching' undeclared (first use in this function)
mod_authnz_ldap.c:989: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:989: error: 'finding' undeclared (first use in this function)
mod_authnz_ldap.c:992: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:992: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1006: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:1009: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1048: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:1052: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:1056: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:1062: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:1074: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:1085: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c: In function 'ImportULDAPOptFn':
mod_authnz_ldap.c:1199: error: 'util_ldap_connection_close' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: 'apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1199: error: expected expression before ')' token
mod_authnz_ldap.c:1199: error: invalid operands to binary *
mod_authnz_ldap.c:1200: error: 'util_ldap_connection_find' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: 'apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1200: error: expected expression before ')' token
mod_authnz_ldap.c:1200: error: invalid operands to binary *
mod_authnz_ldap.c:1201: error: 'util_ldap_cache_comparedn' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: 'apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1201: error: expected expression before ')' token
mod_authnz_ldap.c:1201: error: invalid operands to binary *
mod_authnz_ldap.c:1202: error: 'util_ldap_cache_compare' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: 'apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1202: error: expected expression before ')' token
mod_authnz_ldap.c:1202: error: invalid operands to binary *
mod_authnz_ldap.c:1203: error: 'util_ldap_cache_checkuserid' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: 'apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1203: error: expected expression before ')' token
mod_authnz_ldap.c:1203: error: invalid operands to binary *
mod_authnz_ldap.c:1204: error: 'util_ldap_cache_getuserdn' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: 'apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1204: error: expected expression before ')' token
mod_authnz_ldap.c:1204: error: invalid operands to binary *
mod_authnz_ldap.c:1205: error: 'util_ldap_ssl_supported' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1205: error: expected expression before ')' token
mod_authnz_ldap.c:1205: error: invalid operands to binary *
*** Error code 1
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o .libs/mod_authz_default.o
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -DLDAP_DEPRECATED -I/usr/local/include -I. -I/usr/ports/www/apache22/work/httpd-2.2.13/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.13/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.13/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.13/server -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.13/modules/dav/main -c mod_authz_default.c  -fPIC -DPIC -o mod_authz_default.o >/dev/null 2>&1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
Тоже самое порты обновил уже раз так на 100 :) при Make галку и убирал на Ldap и ставил результат один и тот же =(
хотел обновить апач и больше ни чего.

Аватара пользователя
server801
ст. лейтенант
Сообщения: 1421
Зарегистрирован: 2008-09-27 21:15:16
Откуда: Саратов
Контактная информация:

Re: Возникла сложность при установки apache

Непрочитанное сообщение server801 » 2010-06-12 13:08:08

так......
1. покажи свой supfile и дай вывод

Код: Выделить всё

uname -a
2

Код: Выделить всё

cd /usr/ports/www/apache22
make deinstall clean
3.зайди в /usr/ports/distfiles и удали архив httpd
4. ставь как я выше писал
5. если ничего уже не получится - хз, если только по ssh могу помочь

gurt
рядовой
Сообщения: 40
Зарегистрирован: 2009-02-11 19:34:54

Re: Возникла сложность при установки apache

Непрочитанное сообщение gurt » 2010-06-22 11:29:49

та же ерунда.
моё решение:

1. обновляем порты, rehash
2. ставим
/usr/ports/devel/apr1
( при этом у меня апр ругается на питон, который есть именно то версии, которая нужна. тогда cd /usr/local/bin/ и ln -s python2.6 python)

дальше все должно пройти без проблем