Opened 12 years ago

Closed 11 years ago

#19595 closed defect (fixed)

build failure apache2 + openldap variant

Reported by: vulcan_@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: blair (Blair Zajac), ryandesign (Ryan Schmidt)
Port: apache2, apache20

Description (last modified by mf2k (Frank Schima))

MAC OS X 10.4.11 macBook intel dual core 2G RAM

apache2 was already installed and working wanted openldap so did ...

maky:~ root# port clean --all  apache2          
--->  Cleaning apache2
maky:~ root# port selfupdate

MacPorts base version 1.710 installed
Downloaded MacPorts base version 1.710

The MacPorts installation is not outdated so it was not updated
maky:~ root# port install apache2 +openldap
--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from http://apache.digimirror.nl/httpd
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from http://apache.mirroring.de/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
--->  Applying patches to apache2
--->  Configuring apache2
--->  Building apache2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.11" && make all " returned error 2
Command output: mod_authnz_ldap.c: In function 'mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1012: error: 'sec' undeclared (first use in this function)
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1056: error: parse error before ')' token
mod_authnz_ldap.c:1060: error: parse error before ')' token
mod_authnz_ldap.c:1064: error: parse error before ')' token
mod_authnz_ldap.c:1070: error: parse error before ')' token
mod_authnz_ldap.c:1077: error: parse error before ')' token
mod_authnz_ldap.c:1082: error: parse error before ')' token
mod_authnz_ldap.c:1093: error: parse error before ')' token
mod_authnz_ldap.c: In function 'ImportULDAPOptFn':
mod_authnz_ldap.c:1207: error: 'apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1207: error: parse error before ')' token
mod_authnz_ldap.c:1208: error: 'apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1208: error: parse error before ')' token
mod_authnz_ldap.c:1209: error: 'apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1209: error: parse error before ')' token
mod_authnz_ldap.c:1210: error: 'apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1210: error: parse error before ')' token
mod_authnz_ldap.c:1211: error: 'apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1211: error: parse error before ')' token
mod_authnz_ldap.c:1212: error: 'apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1212: error: parse error before ')' token
mod_authnz_ldap.c:1213: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1213: error: parse error before ')' token
make[4]: *** [mod_authnz_ldap.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[2]: *** [shared-build-recursive] Error 1
make[1]: *** [shared-build-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.
maky:~ root#

Change History (4)

comment:1 Changed 12 years ago by vulcan_@…

Cc: vulcan_@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: vulcan_@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to imajes@…
Port: apache2 added

comment:3 Changed 12 years ago by markd@…

Is apr-util installed with the openldap variant? If not it needs to be uninstalled and reinstalled with that variant.

comment:4 Changed 11 years ago by ryandesign (Ryan Schmidt)

Cc: blair@… ryandesign@… added
Port: apache20 added
Resolution: fixed
Status: newclosed
  • r62922: When using the +openldap variant, apache2/apache20 now ensures that apr-util/apr-util0 is using the +openldap variant.
Note: See TracTickets for help on using tickets.