Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 19:06:33 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org, robert@webtent.com
Subject:   Re: openldap24-sasl-client conflicts
Message-ID:  <200812011906.35101.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <1228151660.20351.4.camel@columbus.webtent.org>
References:  <1228140069.14908.23.camel@columbus.webtent.org> <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> <1228151660.20351.4.camel@columbus.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 01 December 2008 18:14:20 Robert Fitzpatrick wrote:
> On Mon, 2008-12-01 at 16:34 +0100, Mel wrote:
> > On Monday 01 December 2008 15:48:13 Jerry wrote:
> > > >failed packages (-:ignored / *:skipped / !:failed)
> > > >	! net/openldap24-client	(install error)
> > > >	* net/nss_ldap
> > > >	* security/pam_ldap
> >
> > ^^^^^ portupgrade
> >
> > > I am assuming that you are attempting to install the port(s) manually.
> > > Have you tried using a port management tool like 'portmanager' or
> > > 'portupgrade' to handle the task.
> >
> > It's likely it's caused by portupgrade, but won't be able to tell till
> > the output from net/nss_ldap build.
>
> Thanks for the ideas from everyone. I was doing a portinstall of
> nss_ldap and pam_ldap. I went ahead and used the -k option and all in
> and working now. I also received the error when installing samba, I'm
> sure would for every LDAP dependent port if memory serves. This always
> bites me, I have uninstalled/reinstalled ports in the past and fiddled
> with things to get it all working, but nowadays I am more
> knowledgeable/comfortable using force options with the port utilities.

It's not working, it's masking the real error, which is either in portupgrade 
or /usr/ports/Mk/bsd.ldap.mk.
Normally, you get this error, when a port's Makefile specifies it depends 
on "something", but that "something" isn't installed by the port, which means 
the "is this dependency installed" check always fails.

For me, it works:
# ls /var/db/pkg/|grep ldap
openldap-sasl-client-2.4.11
openldap-sasl-server-2.4.11_2
# make -C /usr/ports/net/nss_ldap lib-depends
===>   nss_ldap-1.257 depends on shared library: ldap-2.4.3 - found


-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812011906.35101.fbsd.questions>