Conflict between libiodbc and unixODBC while updating ports

I'm trying to update all my ports with portmaster(8) per the instructions at the bottom of the portmaster(8) man page, and I've run into a problem I don't know how to resolve. Portmaster stopped with this error:
Code:
===>  libiodbc-3.52.7 conflicts with installed package(s): 
      unixODBC-2.3.0_1

      They will not build together.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/databases/libiodbc.
*** Error code 1

Stop in /usr/ports/textproc/soprano.
*** Error code 1

Stop in /usr/ports/textproc/soprano.

===>>> make failed for textproc/soprano
===>>> Aborting update

===>>> Update for textproc/soprano failed
===>>> Aborting update

===>>> Update for x11/kdebase4 failed
===>>> Aborting update

Terminated
There is a note regarding unixODBC in /usr/ports/UPDATING but it refers to an older version (2.2.14) and doesn't suggest anything related to this issue. There is no note regarding libiodbc. I did find an entry on kdebase the recommends the following:
# pkg_delete -f kdehier4\* kdelibs-4\* kdebase-4\* kdebase-runtime-4\* kdebase-workspace-4\*
# rm -rf /usr/local/kde4/share/PolicyKit/policy
# cd /usr/ports/misc/kdehier4 && make install clean
# portmaster -a
I suspect this is what I need to do, but having been warned about the dangers of running # portmaster -a, I'm looking for some reassurance that this is correct, or some better direction about how to resolve this issue. I'm also concerned about rebuilding all my ports again when I'm not yet done with my current attempt to rebuild all the ports (no small investment of time). Is there a way to rebuild only those ports that depend on kde4, assuming that's what I need to do? Thanks for any help.
 
There is a very old entry in /usr/ports/UPDATING:
2006-10-09

Affects: users of ports using ODBC (databases/libiodbc or databases/unixODBC)

Author: ganael.laplanche@martymac.com

Reason:
All the ports have been modified to use the same way of choosing
between ODBC flavors (IODBC and UNIXODBC).

This way is defining either WITH_IODBC or WITH_UNIXODBC.

They both have a CONFLICT line in their Makefile:
libiodbc:
Code:
CONFLICTS=	unixODBC-[0-9]*
unixODBC:
Code:
CONFLICTS=	libiodbc-[0-9]* virtuoso-*

This basically means you'll need to choose one and remove the other.
 
I'm using unixodbc too, and this helped me to make install erlang with odbc:
Code:
#cat /etc/make.conf
WITH_UNIXODBC                   =       YES
DRIVER_MANAGER                  =       unixodbc
#
 
Back
Top