Subject: Re: NetBSD pkgsrc and ap2-auth-pam stuff
To: Lubomir Kundrak <lkundrak@redhat.com>
From: Asmodehn Shade <asmodehn@gmail.com>
List: pkgsrc-users
Date: 06/08/2007 12:14:14
As a side note to this, www/ap2-auth-external fails with the same kind of error :
=> 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 dependencies for ap2-auth-external-2.2.11nb1
==========================================================================
The following variables will affect the build process of this package,
ap2-auth-external-2.2.11nb1. Their current value is shown below:
* PKG_APACHE_DEFAULT = apache2
Based on these variables, the following variables have been set:
* APACHE_PKG_PREFIX = ap2
* PKG_APACHE = apache2
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Required installed package digest>=20010302: digest-20060826 found
=> Required installed package perl>=5.0: perl-5.8.8nb4 found
=> Required installed package apache>=2.0.55nb7: apache-2.2.4nb3 found
===> Overriding tools for ap2-auth-external-2.2.11nb1
===> Extracting for ap2-auth-external-2.2.11nb1
===> Patching for ap2-auth-external-2.2.11nb1
===> Creating toolchain wrappers for ap2-auth-external-2.2.11nb1
ERROR: apr is not installed; can't buildlink files.
*** Error code 1
So as I understood, these mod_auth-* package wont work with apache 2.2, only with 2.0
I guess I ll have to wait for the mod_authnz-* packages then ^^.
Still the check for dependency could do some apache < 2.2 maybe ?
Or check against apr0 since it s a separate package ?
Thanks,
--
Asmodehn
On Thu, 7 Jun 2007 21:34:49 +0200
Asmodehn Shade <asmodehn@gmail.com> wrote:
> Hi,
>
> Thanks for the answer.
>
> I jst did a cd /usr/pkgsrc/wip/ap2-auth-pam && make install out of the blue after a recent checkout.
>
> Then I got :
> => Required installed package digest>=20010302: digest-20060826 found
> => Fetching mod_auth_pam-2.0-1.1.1.tar.gz
> => Total size: 11456 bytes
> Requesting http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam-2.0-1.1.1.tar.gz
> 100% |************************************************************************************************************************************************************************************************| 11456 884.24 KB/s 00:00 ETA
> 11456 bytes retrieved in 00:00 (873.47 KB/s)
> => Checksum SHA1 OK for mod_auth_pam-2.0-1.1.1.tar.gz
> => Checksum RMD160 OK for mod_auth_pam-2.0-1.1.1.tar.gz
> ===> Installing dependencies for ap2-auth-pam-1.1.1
> ==========================================================================
> The following variables will affect the build process of this package,
> ap2-auth-pam-1.1.1. Their current value is shown below:
>
> * PAM_DEFAULT = openpam
>
> Based on these variables, the following variables have been set:
>
> * PAMBASE (defined, but empty)
> * PAM_TYPE = openpam
>
> You may want to abort the process now with CTRL-C and change their value
> before continuing. Be sure to run `/usr/bin/make clean' after
> the changes.
> ==========================================================================
> => Required installed package digest>=20010302: digest-20060826 found
> => Required installed package gmake>=3.78: gmake-3.81 found
> => Required installed package perl>=5.0: perl-5.8.8nb4 found
> => Required installed package apache>=2.0.55nb7: apache-2.2.4nb3 found
> ===> Overriding tools for ap2-auth-pam-1.1.1
> ===> Extracting for ap2-auth-pam-1.1.1
> /bin/mv /usr/pkgsrc/wip/ap2-auth-pam/work/mod_auth_pam /usr/pkgsrc/wip/ap2-auth-pam/work/mod_auth_pam-2.0-1.1.1
> ===> Patching for ap2-auth-pam-1.1.1
> => Applying pkgsrc patches for ap2-auth-pam-1.1.1
> ===> Creating toolchain wrappers for ap2-auth-pam-1.1.1
> ERROR: apr is not installed; can't buildlink files.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/wip/ap2-auth-pam
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/wip/ap2-auth-pam
>
> So I looked at it : $ pkg_info apr
> Information for apr-1.2.8.2.2.4nb1:
>
> Comment:
> Apache Portable Runtime
>
> Required by:
> apache-2.2.4nb3
> subversion-base-1.4.3nb1
>
> Description:
> The Apache Portable Run-time mission is to provide a library of
> routines that allows programmers to write a program once and be
> able to compile it anywhere.
>
> Homepage:
> http://apr.apache.org/
>
> However this just worked fine on a machine with apr0.9... maybe the check doesnt work when apr1.2 is installed ? or maybe something else in my setup is wrong ?
>
> Let me know what kind of checks I can make to find out whats happening...
>
> Thanks a lot for the help ;)
>
> On Thu, 07 Jun 2007 17:16:26 +0200
> Lubomir Kundrak <lkundrak@redhat.com> wrote:
>
> > Hi Asmodehn,
> >
> > On Thu, 2007-06-07 at 12:05 +0200, Asmodehn Shade wrote:
> > > Hi,
> > >
> > > I m writing to you as I am interested in using ap2-auth-pam in a
> > > "production" server ;), Although its more a personal server :-p
> > >
> > > Anyway I wondered if it was working fine or not since it is in
> > > pkgsrc/wip for a long time now ;) why it is not in pkgsrc/www ? is
> > > there any particualr reason ?
> >
> > Though I had not used it extensively, I never ever experienced any
> > problems with it. It is in pkgsrc-wip because I did not have a CVS
> > account at the time I made a package and simply noone reviewed and
> > import it. I can do so, unless anyone objects.
> >
> > > I have a NIS setup on my machine so if you are interested in it I can
> > > get it and tell you if it is working fine with a simple NIS setup.
> >
> > Please do report in case you experience any trouble.
> >
> > Kind regards,
> > --
> > Lubomir Kundrak (Red Hat Security Response Team)
> >