Re: [MacPorts] #13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring.
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char Port: glib2 | -------------------------------------------------+-------------------------- Comment(by ryandesign@macports.org): /usr/lib contains files provided by and necessary to your operating system, so reinstalling the OS with the "Archive and Install" option, and then running Software Update and installing all OS and security updates, would be the way to get /usr/lib and all other system directories back to a good state. Apple tries to make the OS reinstall a painless process for "normal" users, but it never seems that way for me. For example, it will probably archive away /Library/Tcl/macports1.0 which you're gonna need and should move back after archiving. There are also some ports that install into OS locations that will be archived away. php5+apache installs into /usr/libexec/httpd, I believe, and there are some X11 ports that install into ${x11prefix}. To combat this, you could save a list of active ports to the desktop with "`port installed active > ~/Desktop/activeports.txt`", then deactivate all ports with "`sudo port deactivate active`", then do the OS reinstall, then reactivate each port foo listed in activeports.txt with "`sudo port activate foo`". -- Ticket URL: <http://trac.macports.org/ticket/13614#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts