[MacPorts] ProblemHotlist modified

MacPorts noreply at macports.org
Sun Dec 12 13:33:57 PST 2010


Changed page "ProblemHotlist" by ryandesign at macports.org from 75.34.102.134*
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=63>
Revision 63
Comment: Add xmlwf section

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 62)
+++ ProblemHotlist (version: 63)
@@ -43,6 +43,14 @@
 If fetch failed for a port, you can still get the distfile from anywhere else. For example, the [http://distfiles.macports.org/ main MacPorts distfiles mirror] contains most ports' distfiles, or maybe the homepage of the software lists alternative download locations for source tarballs. Just download the distfile and save it to `${prefix}/var/macports/distfiles/<portname>/`. Make sure you get a file with exactly the same name (watch out for `.tar.gz` and `.tar.bz2`!) If a `port clean --all` has been done the distfile directory will have been removed. The directory for each port is created at the beginning of the fetch phase.
 
 '''Note:''' Checksum failures after a fetch are typically a separate issue.  See the [wiki:FAQ#checksums FAQ].
+
+== Image error: /opt/local/bin/xmlwf already exists and does not belong to a registered port == #xmlwf
+
+When installing a port with MacPorts, you encounter this error:
+{{{
+Error: Target org.macports.activate returned: Image error: /opt/local/bin/xmlwf already exists and does not belong to a registered port.  Unable to activate port expat.
+}}}
+xmlwf is a part of the expat port (which is a dependency of many other ports, and thus is likely to be one of the first ports to ever get installed), but for some reason this file already exists on your computer, and MacPorts did not install it. The reason is that you have installed a 3rd-party software package -- possibly [http://www.swi-prolog.org/ swi-prolog] -- which was itself built with MacPorts, set to its default prefix, and therefore conflicts with your normal use of MacPorts in its default prefix. The developers of the 3rd-party package you installed should not have distributed their software in this manner; they should have configured MacPorts in a custom prefix instead, one that is unique to their software. (For example, in the case of swi-prolog, /usr/local/swi-prolog or /opt/swi-prolog would be good choices.) The cleanest solution for you at this point is to follow the [http://guide.macports.org/chunked/installing.macports.uninstalling.html MacPorts uninstallation instructions]. This will also remove the 3rd-party software package that installed itself unannounced into MacPorts' prefix. Then you can [http://guide.macports.org/chunked/installing.macports.html install MacPorts] again.
 
 == A port failed to build, upgrade, or run with a message referring to libintl.3.dylib == #libintl
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on ProblemHotlist. If it was not you, please
report to .


More information about the macports-changes mailing list