Changes between Version 4 and Version 5 of ProblemHotlist
- Timestamp:
- Oct 18, 2006, 12:51:56 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProblemHotlist
v4 v5 1 1 = Problem Hotlist = 2 2 3 == 1. A port failed to build or upgrade and quit with this message:==3 == 1. A port failed to build, upgrade, or quit with message referring to lbintl.3.dylib == 4 4 5 5 {{{ … … 8 8 The gettext port was recently updated from 0.14.x to 0.15.x. If you upgrade gettext on your Mac all ports that depend upon gettext will need to be rebuilt, which may be quite a few ports. 9 9 10 This command may do the trick: 10 Here is a script that can help you determine what ports you have installed that depend on gettext. 11 11 12 {{{ 12 port -fR upgrade gettext 13 #!/bin/bash 14 for file in `find /opt/local/lib -name *.dylib`; do 15 # Skip this match if it's a symbolic link 16 if [[ ! -h $file ]]; then 17 # Look for references to the missing library 18 otool -L $file | grep --silent $1 19 if [[ "$?" == "0" ]]; then 20 port provides `echo $file` 21 fi 22 fi 23 # Grab the name of the port and make sure to list each port just once 24 done | awk -F: ' { print $2 } ' | sort | uniq 13 25 }}} 14 If not, you'll have to determine which ports depend upon gettext manually and uninstall and reinstall each of them. 26 27 Now you’ve got a list of ports you need to fix. Force uninstall each of these ports and remove their archives. 28 {{{ 29 port uninstall -f <port> 30 port clean --archive <port> 31 }}} 32 33 Once that’s done, force an install of each one. 34 {{{ 35 port install -f <port> 36 }}} 37 If you’ve got old nonactivated versions of the port hanging around, you'll need to emove the old versions first. You may remove all old versions this way. 38 {{{ 39 port -duf uninstall 40 }}}