Software⏱️ 3 min read📅 2026-06-19

How to Fix: Error during configuring kerberos5 using macports

MacPorts installation error: configure failure due to missing curses/ncurses library.

Quick Answer: Check if the curses/ncurses library is installed and try reinstalling the port or updating the system libraries.

Error during configuring kerberos5 using macports occurs when trying to install libmemcached via MacPorts. This issue affects users who have installed MacPorts on their system and are attempting to install libmemcached. The error message indicates that the installation of kerberos5 has failed due to a configure failure.

This error can be frustrating as it prevents the installation of libmemcached, which is essential for various applications. However, by following the steps outlined below, users can resolve this issue and successfully install libmemcached.

⚠️ Common Causes

  • The primary reason for this error is the absence of the tgetent function in the system, which is required for kerberos5 configuration. This can happen if the curses or ncurses library is not installed or configured correctly.
  • Another possible cause is the failure to configure the appl/telnet package, which is a dependency of kerberos5.

🚀 How to Resolve This Issue

Installing Required Libraries

  1. Step 1: Step 1: Install the required curses/ncurses library by running the command `sudo port install ncurses` in the terminal.
  2. Step 2: Step 2: Verify that the tgetent function is available by checking if the 'tgetent' command works correctly. You can do this by running the command `echo | tgetent -f /dev/null -u user`. If the output is empty, you need to install or configure the ncurses library.
  3. Step 3: Step 3: Once the required libraries are installed and configured, try installing kerberos5 again using MacPorts by running the command `sudo port install kerberos5`.

Alternative Fix Method

  1. Step 1: Step 1: Update the MacPorts repository to ensure you have the latest version of the dependencies.
  2. Step 2: Step 2: Try installing kerberos5 again using MacPorts, and if it fails, try deleting the existing installation directory by running `sudo rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5`.

✨ Wrapping Up

By following these steps, users should be able to resolve the error during configuring kerberos5 using macports and successfully install libmemcached. If you are still experiencing issues, consider seeking further assistance from a system administrator or IT professional.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions