apache24 with LDAP: apr/apr-util is compiled without ldap support

Sean McBride sean at rogue-research.com
Fri May 29 14:19:10 UTC 2020


Jochen,

OK, thanks, so working as designed.

I incorrectly thought that by turning on the LDAP options in Apache that it would automatically turn on any necessary options in its dependencies.

BTW: I'm curious: why is authnz_ldap not built by default in the package?  (I'll note that it is in ubuntu.)

Cheers,

Sean



On Fri, 29 May 2020 09:21:26 +0200, Jochen Neumeister said:

>a normal "make install clean" will show you the config query for each 
>port (blue window). with "BATCH=yes" you tell make to automatically 
>answer yes to each window, and it will not show you.
>If you install something with "pkg add foo" the default options are 
>always taken.
>The config can only be called with "make install" the first time or with 
>"make config".
>
>Jochen
>
>Am 29.05.20 um 03:51 schrieb Sean McBride:
>> Ah, seems it's because I did `make install clean BATCH=yes`. Without
>the `BATCH=yes` part, I get the opportunity to build APR with LDAP support.
>>
>> Is it a bug that it didn't automatically work with BATCH=yes? Or am I
>expecting it to be too smart? :)
>>
>> Sean
>>
>>
>>
>>
>> On Thu, 28 May 2020 20:14:23 -0400, Sean McBride said:
>>
>>> Hello,
>>>
>>> I got the following error on a fresh FreeBSD 12 VM trying building
>>> apache24 with LDAP support:
>>>
>>> ------------------
>>> checking whether to enable mod_authnz_ldap... checking dependencies
>>> checking for ldap support in apr/apr-util... no
>>> configure: WARNING: apr/apr-util is compiled without ldap support
>>> checking whether to enable mod_authnz_ldap... configure: error:
>>> mod_authnz_ldap has been requested but can not be built due to
>>> prerequisite failures
>>> ===>  Script "configure" failed unexpectedly.
>>> Please report the problem to apache at FreeBSD.org [maintainer] and attach the
>>> "/usr/ports/www/apache24/work/httpd-2.4.43/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. a
>>> /usr/local/sbin/pkg-static info -g -Ea).
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /usr/ports/www/apache24
>>> ------------------
>>>
>>> Attached is the config.log and here's the pkg info:
>>>
>>> ------------------
>>> root at talos:/usr/ports/www/apache24 # /usr/local/sbin/pkg-static info -g -Ea
>>> apr-1.7.0.1.6.1_1              Apache Portability Library
>>> autoconf-2.69_3                Automatically configure source code on
>>> many Un*x platforms
>>> autoconf-wrapper-20131203      Wrapper script for GNU autoconf
>>> automake-1.16.2                GNU Standards-compliant Makefile generator
>>> db5-5.3.28_7                   Oracle Berkeley DB, revision 5.3
>>> dialog4ports-0.1.6             Console Interface to configure ports
>>> expat-2.2.8                    XML 1.0 parser written in C
>>> gdbm-1.18.1_1                  GNU database manager
>>> gettext-runtime-0.20.1         GNU gettext runtime libraries and programs
>>> gettext-tools-0.20.2           GNU gettext development and
>translation tools
>>> gmake-4.3_1                    GNU version of 'make' utility
>>> help2man-1.47.15               Automatically generating simple manual
>>> pages from program output
>>> indexinfo-0.3.1                Utility to regenerate the GNU info
>page index
>>> libffi-3.2.1_3                 Foreign Function Interface
>>> libiconv-1.16                  Character set conversion library
>>> libnghttp2-1.40.0              HTTP/2.0 C Library
>>> libtextstyle-0.20.2            Text styling library
>>> libtool-2.4.6_1                Generic shared library support script
>>> libxml2-2.9.10                 XML parser library for GNOME
>>> m4-1.4.18_1,1                  GNU M4
>>> p5-Locale-gettext-1.07         Message handling functions
>>> p5-Locale-libintl-1.31         Internationalization library for Perl
>>> p5-Text-Unidecode-1.30         US-ASCII transliterations of Unicode text
>>> p5-Unicode-EastAsianWidth-12.0 East Asian Width properties
>>> pcre-8.44                      Perl Compatible Regular Expressions library
>>> perl5-5.30.2                   Practical Extraction and Report Language
>>> pkg-1.13.2                     Package manager
>>> pkgconf-1.6.3,1                Utility to help to configure compiler and
>>> linker flags
>>> py37-acme-1.3.0,1              ACME protocol implementation in Python
>>> py37-asn1crypto-1.3.0          ASN.1 library with a focus on performance
>>> and a pythonic API
>>> py37-certbot-1.3.0,1           Let's Encrypt client
>>> py37-certifi-2019.11.28        Mozilla SSL certificates
>>> py37-cffi-1.14.0               Foreign Function Interface for Python
>>> calling C code
>>> py37-chardet-3.0.4_3           Universal encoding detector for Python
>2 and 3
>>> py37-configargparse-1.1        Drop-in replacement for argparse
>>> py37-configobj-5.0.6_1         Simple but powerful config file reader
>>> and writer
>>> py37-cryptography-2.6.1        Cryptographic recipes and primitives for
>>> Python developers
>>> py37-distro-1.4.0_1            Linux OS platform information API
>>> py37-idna-2.8                  Internationalized Domain Names in
>>> Applications (IDNA)
>>> py37-josepy-1.3.0              JOSE protocol implementation in Python
>>> py37-openssl-19.0.0            Python interface to the OpenSSL library
>>> py37-parsedatetime-2.5         Python module for parsing 'human
>>> readable' date/time expressions
>>> py37-pycparser-2.19            C parser in Python
>>> py37-pyrfc3339-1.1             Generate and parse RFC 3339 timestamps
>>> py37-pysocks-1.7.1             Python SOCKS module
>>> py37-pytz-2020.1,1             World Timezone Definitions for Python
>>> py37-requests-2.22.0           HTTP library written in Python for
>human beings
>>> py37-requests-toolbelt-0.8.0_1 Utility belt for advanced users of python-
>>> requests
>>> py37-setuptools-44.0.0         Python packages installer
>>> py37-six-1.14.0                Python 2 and 3 compatibility utilities
>>> py37-urllib3-1.25.7,1          HTTP library with thread-safe connection
>>> pooling, file post, and more
>>> py37-zope.component-4.2.2      Zope Component Architecture
>>> py37-zope.event-4.1.0          Very basic event publishing system
>>> py37-zope.interface-4.6.0      Interfaces for Python
>>> python37-3.7.7                 Interpreted object-oriented programming
>>> language
>>> readline-8.0.4                 Library for editing command lines as they
>>> are typed
>>> texinfo-6.7_3,1                Typeset documentation system with
>>> multiple format output
>>> ------------------
>>
>> _______________________________________________
>> freebsd-apache at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-apache
>> To unsubscribe, send any mail to "freebsd-apache-unsubscribe at freebsd.org"




More information about the freebsd-apache mailing list