Subject: Re: pkg/35508: ap2-auth-external installation error
To: None <>
From: OBATA Akio <>
List: pkgsrc-users
Date: 02/03/2007 00:12:20
> make can't find the file and therefore can't install it.
> The file is in work/mod_auth_external-2.2.11/.libs and make try to find it in work/mod_auth_external-2.2.11
> Here's my "make update" which give me the same results as "make install".
> [essen@ahobaka] % sudo /usr/bin/make update
> ===> Deinstalling for ap2-auth-external-2.2.11nb1
> Running /usr/sbin/pkg_delete -K /var/db/pkg -r ap2-auth-external-2.2.11nb1
> => Required installed package digest>=20010302: digest-20060826 found
> ===> Checking for vulnerabilities in ap2-auth-external-2.2.11nb1
> => Checksum SHA1 OK for mod_auth_external-2.2.11.tar.gz
> => Checksum RMD160 OK for mod_auth_external-2.2.11.tar.gz
> ===> Installing for ap2-auth-external-2.2.11nb1
> /usr/pkg/share/httpd/build/ SH_LIBTOOL='/usr/pkg/libexec/apr/libtool' /usr/pkg/lib/httpd
> /usr/pkg/libexec/apr/libtool --mode=install cp /usr/pkg/lib/httpd/
> cp /usr/pkg/lib/httpd/
> cp: No such file or directory
> apxs:Error: Command failed with rc=65536

In www/apache/
# APACHE_MODULE_NAME    the name of this module, including the .so suffix.

But for apache2, should pass to apxs "" instead of "".

All www/ap2-* package's Makefile call apxs directly (or use own cofigure & makefile),
instead of include www/apache/

How to handle this?

(1) Allow apache2 module to set "" to APACHE_MODULE_NAME.

  All ap2 modules calling apxs directly became to use framework.
  (But www/ap-auth-external can install both ap13 and ap2 module, need if...else)

(2) Set "module_name" (exclude suffix) to APACHE_MODULE_NAME, and append suffix

  I feel 'APACHE_MODULE_NAME' isn't mean file name, so completely natural.
  (but must change ALL package using this variable.)

(3) Other

I think (2) is good, but need some packages change and test.
If select (1), only one package change and can close this PR soon.

"Of course I love NetBSD":-)
OBATA Akio / /