Full db44 error

markd at macports.org markd at macports.org
Mon Jul 30 15:33:27 PDT 2007


miles3 <miles-nabble at vividcolor.org> writes:
>The current configuration requires both db4 and
>'libiconv' requires db44.

I think you mean apr-util requires db44.  I don't see any dependencies for
libiconv.

>So are you suggesting...
>    I edit openldap ( sudo port edit openldap )
>        remove the lines preceded with minuses (-) 
>        add the lines preceeded with pluses (+)
>    Do not change the arguments in db44 "--enable-compat185
>--enable-dump185"
>?

Yes that was what I was suggesting.
>
>If so, I have successfully installed apache2 +openldap with db4, should I
>redo it with db44? I don't need backward compatibility, but I also don't
>know if there is a good reason to use the newer version.

I thought you could not get db4 to install.  If you did you could leave it
as it is, but I think it is inefficient to have db4 (actually db4.3) and
db44 both installed.  Or more accurately, I believe that db44 is the
recommended version for openldap and the port could be updated so MP
wouldn't try to install two different versions.  But I'm not the
maintainer of openldap so I'm cc'ing him to see if he wants to chime in. 
I don't know what it does to someone was using openldap server
functionality with db4 (4.3) and upgrades to openldap using db44.  For
client use only I wouldn't think it would matter.
>
>If I do need to redo this, should I...
>    sudo port uninstall db4
>    edit openldap as described above
>    sudo port -v update apache2
>        or: sudo port -v update openldap
>            sudo port -v update apache2
>        or another way...
>?

But I think apache's dependencies (apr-util) install db44, so apache2 need
not be rebuilt.  So I think this would do:

1) sudo port uninstall openldap
2) sudo port uninstall db4 (if openldap is the only thing depending upon
db4, then it will do it; if not it will tell you it can't because x,y,z
other ports depend on it)

db44 is already installed so no need to install that ...

3) edit openldap
4) sudo port -v install openldap

If I am wrong that openldap is probably your only port that depends on
db4, you'll find our in #2.
>
>Thanks for your help,

You are welcome.  I hope we can get this fixed shortly so others don't run
into it.

Mark




More information about the macports-users mailing list