Opened 15 years ago

Closed 15 years ago

#22362 closed defect (invalid)

apache2 @2.2.14 +openldap fails to build

Reported by: roberto@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: apache2

Description

Please see the attached debug output.

Attachments (1)

apache2.log.gz (10.2 KB) - added by roberto@… 15 years ago.
Debug output of attempted build of apache2 @2.2.14 +openldap

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by roberto@…

Attachment: apache2.log.gz added

Debug output of attempted build of apache2 @2.2.14 +openldap

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to imajes@…
Port: apache2 added
mod_authnz_ldap.c:41:2: error: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.

Is your apr-util port installed with +openldap as well? Use the following to find out

$ port installed apr-util

comment:2 Changed 15 years ago by roberto@…

roberto@vieques:~$ port installed apr-util
The following ports are currently installed:
  apr-util @1.3.9_0 (active)

comment:3 Changed 15 years ago by blb@…

That would be the problem, no +openldap on apr-util; use the following to reinstall it with the right variant:

$ sudo port upgrade --enforce-variants apr-util +openldap

Then clean apache2 (sudo port clean --work apache2) and try to install it again.

comment:4 Changed 15 years ago by roberto@…

OK. That did the trick. The bug can be close. Thanks.

comment:5 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.