Хотел portupgrade, но он срывался на apr1.
погуглив, нашел способ:
Код: Выделить всё
pkgdb -aF
portsclean -CDD
portsnap fetch update
cd /usr/ports/www/apache22
make deinstall clean
portupgrade -f -o devel/apr1 devel/apr
cd /usr/ports/devel/apr1
make deinstall clean
cd /usr/ports/www/apache22
make install clean
Код: Выделить всё
.....
[skip]
mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
mod_authnz_ldap.c:63: error: syntax error before "deref_options"
mod_authnz_ldap.c:95: error: syntax error before '*' token
mod_authnz_ldap.c:95: warning: data definition has no type or storage class
mod_authnz_ldap.c:96: error: syntax error before '*' token
mod_authnz_ldap.c:96: warning: data definition has no type or storage class
mod_authnz_ldap.c:97: error: syntax error before '*' token
mod_authnz_ldap.c:97: warning: data definition has no type or storage class
mod_authnz_ldap.c:98: error: syntax error before '*' token
mod_authnz_ldap.c:98: warning: data definition has no type or storage class
mod_authnz_ldap.c:99: error: syntax error before '*' token
mod_authnz_ldap.c:99: warning: data definition has no type or storage class
mod_authnz_ldap.c:100: error: syntax error before '*' token
mod_authnz_ldap.c:100: warning: data definition has no type or storage class
mod_authnz_ldap.c:101: error: syntax error before '*' token
mod_authnz_ldap.c:101: warning: data definition has no type or storage class
mod_authnz_ldap.c: In function `create_authnz_ldap_dir_config':
mod_authnz_ldap.c:322: error: structure has no member named `deref'
mod_authnz_ldap.c:322: error: `always' undeclared (first use in this function)
mod_authnz_ldap.c:322: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:322: error: for each function it appears in.)
mod_authnz_ldap.c: In function `authnz_ldap_cleanup_connection_close':
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:342: error: called object is not a function
mod_authnz_ldap.c: In function `authn_ldap_check_password':
mod_authnz_ldap.c:366: error: `util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:366: error: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:394: error: structure has no member named `deref'
mod_authnz_ldap.c:395: error: called object is not a function
mod_authnz_ldap.c:410: error: called object is not a function
mod_authnz_ldap.c:417: error: called object is not a function
mod_authnz_ldap.c:430: error: called object is not a function
mod_authnz_ldap.c:431: error: called object is not a function
mod_authnz_ldap.c:434: error: `LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_authnz_ldap.c:441: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:455: error: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_authnz_ldap.c:459: error: `LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function)
mod_authnz_ldap.c:460: error: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_authnz_ldap.c: In function `authz_ldap_check_user_access':
mod_authnz_ldap.c:542: error: `util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:542: error: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:593: error: structure has no member named `deref'
mod_authnz_ldap.c:594: error: called object is not a function
mod_authnz_ldap.c:645: error: called object is not a function
mod_authnz_ldap.c:648: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:684: error: called object is not a function
mod_authnz_ldap.c:686: error: `LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_authnz_ldap.c:704: error: called object is not a function
mod_authnz_ldap.c:730: error: called object is not a function
mod_authnz_ldap.c:779: error: called object is not a function
mod_authnz_ldap.c:813: error: called object is not a function
mod_authnz_ldap.c:850: error: called object is not a function
mod_authnz_ldap.c:858: error: called object is not a function
mod_authnz_ldap.c:869: 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:920: error: `apr_ldap_url_desc_t' undeclared (first use in this function)
mod_authnz_ldap.c:920: error: `urld' undeclared (first use in this function)
mod_authnz_ldap.c:921: error: `apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:921: error: `result' undeclared (first use in this function)
mod_authnz_ldap.c:960: error: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_authnz_ldap.c:961: error: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_authnz_ldap.c:982: error: `APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:985: error: `APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:988: error: `APR_LDAP_STARTTLS' undeclared (first use in this function)
mod_authnz_ldap.c:1001: error: `LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:1005: error: `LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:1019: error: `LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_authnz_ldap.c: In function `mod_auth_ldap_set_deref':
mod_authnz_ldap.c:1033: error: structure has no member named `deref'
mod_authnz_ldap.c:1033: error: `never' undeclared (first use in this function)
mod_authnz_ldap.c:1036: error: structure has no member named `deref'
mod_authnz_ldap.c:1036: error: `searching' undeclared (first use in this function)
mod_authnz_ldap.c:1039: error: structure has no member named `deref'
mod_authnz_ldap.c:1039: error: `finding' undeclared (first use in this function)
mod_authnz_ldap.c:1042: error: structure has no member named `deref'
mod_authnz_ldap.c:1042: error: `always' undeclared (first use in this function)
mod_authnz_ldap.c: In function `ImportULDAPOptFn':
mod_authnz_ldap.c:1253: error: `apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1253: error: syntax error before ')' token
mod_authnz_ldap.c:1254: error: `apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1254: error: syntax error before ')' token
mod_authnz_ldap.c:1255: error: `apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1255: error: syntax error before ')' token
mod_authnz_ldap.c:1256: error: `apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1256: error: syntax error before ')' token
mod_authnz_ldap.c:1257: error: `apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1257: error: syntax error before ')' token
mod_authnz_ldap.c:1258: error: `apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1258: error: syntax error before ')' token
mod_authnz_ldap.c:1259: error: `apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1259: error: syntax error before ')' token
*** 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.
