[MacPorts] #17558: connection errors when macports libs are used with Tiger X11 headers
MacPorts
noreply at macports.org
Tue Dec 16 12:07:49 PST 2008
#17558: connection errors when macports libs are used with Tiger X11 headers
----------------------------------+-----------------------------------------
Reporter: vinc17@… | Owner: jeremyhu@…
Type: defect | Status: reopened
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: crash
Port: gtk2 |
----------------------------------+-----------------------------------------
Comment(by jeremyhu@…):
The recommended fix for now is to remove all the xorg-* ports from
macports
Here's a "dirty" way to do it... I'm sure there's probably a cooler way to
do it that I haven't figured out yet...
{{{
port installed | grep xorg | sed 's:(active)::' | xargs sudo port -v -f
uninstall
}}}
Also, I recommend that you don't use xrender and just use Tiger's
libXrender:
{{{
sudo port -v -f uninstall xrender
}}}
Then just rebuild everything that isn't linked:
{{{
hasq() {
[[ " ${*:2} " == *" $1 "* ]]
}
for f in $(find /opt/local/var/macports/software/*/*/opt/local/{bin,lib}
-type f) ; do
for l in $(otool -L $f | awk '{print $1}' | grep -v ':' | grep
'/opt/local') ; do
if [[ ! -e $l ]] || hasq $(basename $l) ${FAKES} ; then
echo $(echo $f | cut -d/ -f7) $(basename $f) needs
$(basename $l)
fi
done
done
}}}
From that list, do a 'sudo port -v -f uninstall <the port>' then install
it again...
--
Ticket URL: <http://trac.macports.org/ticket/17558#comment:33>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list