Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2012 12:43:30 +0200
From:      Jos Chrispijn <ports@webrz.net>
To:        Olli Hauer <ohauer@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: Apache port
Message-ID:  <504C72D2.50202@webrz.net>
In-Reply-To: <504B6E98.4020806@FreeBSD.org>
References:  <504B549F.60804@webrz.net> <504B64E2.1000506@FreeBSD.org> <alpine.BSF.2.00.1209080957520.1600@wonkity.com> <504B6E98.4020806@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Olli,

This is my current setup of Apache:

===> The following configuration options are available for 
apache22-2.2.22_8:
      AUTH_BASIC=on: mod_auth_basic
      AUTH_DIGEST=on: mod_auth_digest
      AUTHN_ALIAS=on: mod_authn_alias
      AUTHN_ANON=on: mod_authn_anon
 > AUTHN_DBD=on: mod_authn_dbd
      AUTHN_DBM=on: mod_authn_dbm
      AUTHN_DEFAULT=on: mod_authn_default
      AUTHN_FILE=on: mod_authn_file
      AUTHZ_DBM=off: mod_authz_dbm
      AUTHZ_DEFAULT=on: mod_authz_default
      AUTHZ_GROUPFILE=on: mod_authz_groupfile
      AUTHZ_HOST=on: mod_authz_host
      AUTHZ_OWNER=on: mod_authz_owner
      AUTHZ_USER=on: mod_authz_user
      AUTHNZ_LDAP=off: mod_authnz_ldap
      LDAP=off: connection pooling, result caching
 > DBD=on: Manages SQL database connections
      CACHE=on: mod_cache
      DISK_CACHE=on: mod_disk_cache
      FILE_CACHE=on: mod_file_cache

--- cut ---

and this for APR:

_OPTIONS_READ=apr-1.4.6.1.4.1_1
_FILE_COMPLETE_OPTIONS_LIST= THREADS IPV6 DEVRANDOM BDB GDBM LDAP MYSQL 
NDBM PGSQL SQLITE
OPTIONS_FILE_SET+=THREADS
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=DEVRANDOM
OPTIONS_FILE_SET+=BDB
OPTIONS_FILE_SET+=GDBM
OPTIONS_FILE_UNSET+=LDAP
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NDBM
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=SQLITE

and I still get the error.

This is the content of the key folder your are scanning on for the check:

Aegir[/usr/local/lib/apr-util-1]>

-rwxr-xr-x  1 root  wheel  57719 Sep  9 12:38 apr_dbd_mysql-1.so
-rw-r--r--  1 root  wheel  60214 Sep  9 12:38 apr_dbd_mysql.a
-rwxr-xr-x  1 root  wheel   1073 Sep  9 12:38 apr_dbd_mysql.la
lrwxr-xr-x  1 root  wheel     18 Sep  9 12:38 apr_dbd_mysql.so -> 
apr_dbd_mysql-1.so
-rwxr-xr-x  1 root  wheel  43272 Sep  9 12:38 apr_dbm_db-1.so
-rw-r--r--  1 root  wheel  49894 Sep  9 12:38 apr_dbm_db.a
-rwxr-xr-x  1 root  wheel   1005 Sep  9 12:38 apr_dbm_db.la
lrwxr-xr-x  1 root  wheel     15 Sep  9 12:38 apr_dbm_db.so -> 
apr_dbm_db-1.so
-rwxr-xr-x  1 root  wheel  13722 Sep  9 12:38 apr_dbm_gdbm-1.so
-rw-r--r--  1 root  wheel  11466 Sep  9 12:38 apr_dbm_gdbm.a
-rwxr-xr-x  1 root  wheel   1036 Sep  9 12:38 apr_dbm_gdbm.la
lrwxr-xr-x  1 root  wheel     17 Sep  9 12:38 apr_dbm_gdbm.so -> 
apr_dbm_gdbm-1.so
-rwxr-xr-x  1 root  wheel  42080 Sep  9 12:38 apr_dbm_ndbm-1.so
-rw-r--r--  1 root  wheel  47762 Sep  9 12:38 apr_dbm_ndbm.a
-rwxr-xr-x  1 root  wheel   1010 Sep  9 12:38 apr_dbm_ndbm.la
lrwxr-xr-x  1 root  wheel     17 Sep  9 12:38 apr_dbm_ndbm.so -> 
apr_dbm_ndbm-1.so
-rwxr-xr-x  1 root  wheel  20666 Sep  9 12:38 apr_ldap-1.so
-rw-r--r--  1 root  wheel  24112 Sep  9 12:38 apr_ldap.a
-rwxr-xr-x  1 root  wheel   1049 Sep  9 12:38 apr_ldap.la
lrwxr-xr-x  1 root  wheel     13 Sep  9 12:38 apr_ldap.so -> apr_ldap-1.so

the files you are scanning for are not there as they have a complete 
different name.

apr_dbd_mysql-1.so
apr_dbm_db-1.so

Perhaps that is the cause I can't install the apache22 upgrade?


Olli Hauer:
> On 2012-09-08 17:58, Warren Block wrote:
>> On Sat, 8 Sep 2012, Olli Hauer wrote:
>>
>>> On 2012-09-08 16:22, Jos Chrispijn wrote:
>>>> Just updating Apache22 (apache-2.2.22_6) and get this error:
>>>>
>>>> Port marked as IGNORE: www/apache22:
>>>>       AUTHN_DBD and DBD requires APR-util to have DBD support build in.
>>>>       Please rebuild APR at last with one DBD backend
>>>>
>>>> The issue is that I did config APR with DBD support.
>>>>
>>>> Currently have installed:
>>>> apr-1.4.6.1.4.1_1   Apache Portability Library
>>>>
>>>> My /var/db/ports/apr/options file contains:
>>>>
>>>> # Options for apr-1.4.6.1.4.1_1
>>>> _OPTIONS_READ=apr-1.4.6.1.4.1_1
>>>> _FILE_COMPLETE_OPTIONS_LIST= THREADS IPV6 DEVRANDOM BDB GDBM LDAP MYSQL NDBM PGSQL SQLITE
>>>> OPTIONS_FILE_SET+=THREADS
>>>> OPTIONS_FILE_SET+=IPV6
>>>> OPTIONS_FILE_SET+=DEVRANDOM
>>>> OPTIONS_FILE_SET+=BDB
>>>> OPTIONS_FILE_SET+=GDBM
>>>> OPTIONS_FILE_UNSET+=LDAP
>>>> OPTIONS_FILE_UNSET+=MYSQL
>>>> OPTIONS_FILE_UNSET+=NDBM
>>>> OPTIONS_FILE_UNSET+=PGSQL
>>>> OPTIONS_FILE_UNSET+=SQLITE
>>>>
>>>> Can someone tell me how what I do wrong here?
>>>
>>>
>>> Hi Jos,
>>>
>>> it's easy, even quickly overseen DBD != BDB
>>>
>>> AUTHN_DBD and DBD are SQL modules and this apache options are only valid if APR
>>> was build with MYSQL, PGSQL or SQLITE support.
>>>
>>> In the past we ask the user to specify if APR was build with SQL support,
>>> now the port checks the existence of lib/apr-util-1/apr_dbd_(mysql|pgsql|sqlite).so
>>> to see if APR was really build with SQL support.
>>>
>>> http://httpd.apache.org/docs/2.2/mod/mod_dbd.html
>>> http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html
>>
>> How about adding mention of SQL in the IGNORE message?
>
> I will rewrite the message to
>    Please rebuild APR at last with one DBD backend (MYSQL, PGSQL or SQLITE)
>
> Hope then is is more clear.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?504C72D2.50202>