I did as you suggested: sudo port deactivate protobuf-cpp which worked Christophs-MacBook-Pro: kuku$ sudo port deactivate protobuf-cpp Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents. The following ports will break: py27-protobuf @2.6.1_2 Continue? [y/N]: y Warning: Deactivate forced. Proceeding despite dependencies. ---> Deactivating protobuf-cpp @2.6.1_0 ---> Cleaning protobuf-cpp Christophs-MacBook-Pro:
Then I’m getting: Christophs-MacBook-Pro: kuku$ sudo port install ola ---> Computing dependencies for ola The following dependencies will be installed: automake libftdi0 liblo libtool libusb-compat protobuf3-cpp py27-protobuf3 Continue? [Y/n]: ---> Fetching archive for automake Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers> ---> Attempting to fetch automake-1.16.1_0.darwin_18.noarch.tbz2 from https://packages.macports.org/automake ---> Attempting to fetch automake-1.16.1_0.darwin_18.noarch.tbz2.rmd160 from https://packages.macports.org/automake ---> Installing automake @1.16.1_0 ---> Activating automake @1.16.1_0 ---> Cleaning automake ---> Fetching archive for libusb-compat ---> Attempting to fetch libusb-compat-0.1.5_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/libusb-compat ---> Attempting to fetch libusb-compat-0.1.5_0.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/libusb-compat ---> Installing libusb-compat @0.1.5_0 ---> Activating libusb-compat @0.1.5_0 ---> Cleaning libusb-compat ---> Fetching archive for libftdi0 ---> Attempting to fetch libftdi0-0.20_1.darwin_18.x86_64.tbz2 from https://packages.macports.org/libftdi0 ---> Attempting to fetch libftdi0-0.20_1.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/libftdi0 ---> Installing libftdi0 @0.20_1 ---> Activating libftdi0 @0.20_1 ---> Cleaning libftdi0 ---> Fetching archive for liblo ---> Attempting to fetch liblo-0.28_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/liblo ---> Attempting to fetch liblo-0.28_0.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/liblo ---> Installing liblo @0.28_0 ---> Activating liblo @0.28_0 ---> Cleaning liblo ---> Fetching archive for libtool ---> Attempting to fetch libtool-2.4.6_5.darwin_18.x86_64.tbz2 from https://packages.macports.org/libtool ---> Attempting to fetch libtool-2.4.6_5.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/libtool ---> Installing libtool @2.4.6_5 ---> Activating libtool @2.4.6_5 ---> Cleaning libtool ---> Fetching archive for protobuf3-cpp ---> Attempting to fetch protobuf3-cpp-3.6.1_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/protobuf3-cpp ---> Attempting to fetch protobuf3-cpp-3.6.1_0.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/protobuf3-cpp ---> Installing protobuf3-cpp @3.6.1_0 ---> Activating protobuf3-cpp @3.6.1_0 ---> Cleaning protobuf3-cpp ---> Fetching archive for py27-protobuf3 ---> Attempting to fetch py27-protobuf3-3.6.1_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/py27-protobuf3 ---> Attempting to fetch py27-protobuf3-3.6.1_0.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/py27-protobuf3 ---> Installing py27-protobuf3 @3.6.1_0 ---> Activating py27-protobuf3 @3.6.1_0 Error: Failed to activate py27-protobuf3: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/google/protobuf/__init__.py is being used by the active py27-protobuf port. Please deactivate this port first, or use 'port -f activate py27-protobuf3' to force the activation. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-protobuf3/py27-protobuf3/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port ola failed Christophs-MacBook-Pro: kuku$ > Am 12.01.2019 um 19:09 schrieb Mojca Miklavec <[email protected]>: > > On Sat, 12 Jan 2019 at 17:45, Christoph Kukulies wrote: >> >> Finally I tried: >> >> Christophs-MBP:ola kuku$ sudo port install ola >> Password: >> ---> Computing dependencies for ola >> Error: Can't install protobuf3-cpp because conflicting ports are active: >> protobuf-cpp > > That's most likely the result of the manual installation of that port > when you followed the installation instructions: > > # not asking you to repeat this! > sudo port install pkgconfig cppunit protobuf-cpp libmicrohttpd > libusb py27-protobuf > > So most likely > sudo port deactivate protobuf-cpp > should solve the problem. If it doesn't, it will tell you which other > ports depend on protobuf-cpp, and then you can check whether you can > deactivate/uninstall those. > > Mojca
