Fix Gettext Dependancies (portupgrade)

General Information

Something I’ve noticed recently after updating my ports tree and trying to install something is that the latest version of gettext is causing compiles to fail on anything that relies on it. This has been happening on both my FreeBSD 4.8-RELEASE and 5.1-RELEASE machines so it doesn’t seem to be something just specific to a certain release. The easiest way to fix these annoyances is to install portupgrade and just update everything that depends on gettext.

Requirements

  1. Local root access on the box or having your user in the wheel group so you can su to root.
  2. A SSH client like puTTy or SecureCRT (only if not logging on locally).

Installation

Install portupgrade and the latest version of gettext which is fairly simple. With gettext you make need to “make deinstall” the current version you have installed. Login as root or su to root.

# cd /usr/ports/sysutils/portupgrade
# make install clean; rehash
# cd /usr/ports/devel/gettext
# make install clean; rehash

To update everything and tell it to use the latest version of gettext simply run

# portupgrade -rf gettext -m BATCH=3Dyes

and then wait a while.

Speak Your Mind

*