Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 08:12:57 +0800
From:      Xin LI <delphij@delphij.net>
To:        Marty Heyman <mheyman@symas.com>
Cc:        ports@FreeBSD.ORG, delphij@FreeBSD.ORG
Subject:   Re: FreeBSD Port: openldap-server-2.3.37
Message-ID:  <46AD2D09.8020201@delphij.net>
In-Reply-To: <4E2489CC-44F6-48AF-8634-012B0228D216@symas.com>
References:  <4E2489CC-44F6-48AF-8634-012B0228D216@symas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marty Heyman wrote:
> Sorry to bother you but I'm having a problem installing 
> openldap-server-2.3.37. I'm new to freeBSD and LOVE the ports system. 
> You folk are doing great work! But ...
> 
> ... openldap-client-2.3.37 was installed as a dependency by asterisk and 
> is now depended on by several installed packages. I want to run an 
> openldap server (slapd) on this system as well but now the Makefile 
> refuses to install the server modules on top of the client install and 
> wants me to remove openldap-client-2.3.37 (which looks painful rolling 
> back all the other packages that depend on it.
> 
> Suggestions? Thanks in advance!

What did make(1) told you about the conflict?  My guess is that you have 
choosen SASL, if that's a requirement then you have no way other than a 
replace of openldap-client-2.3.37 with openldap-sasl-client-2.3.37, 
which can be done with:

	portupgrade -f -o net/openldap23-sasl-client openldap23-client

If you don't have portupgrade installed, use 
ports-mgmt/portupgrade-devel or ports-mgmt/portupgrade.

However, fortunately, if you don't need SASL functionality of slapd 
(this is the usual case), then you will be able to remove the option 
then install it without problem:

	cd /usr/ports/net/openldap23-server
	make config
	(uncheck "SASL")
	make clean all deinstall install

Hope that helps.

Cheers,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AD2D09.8020201>