bzip2 activation fails (was: Re: Error trying to install s3cmd on 10.6)

Ryan Schmidt ryandesign at macports.org
Mon Apr 5 18:14:42 PDT 2010


On Apr 5, 2010, at 16:26, cyberblade wrote:

> --->  Activating bzip2 @1.0.5_3+darwin
> Error: The following dependencies failed to build: python25 bzip2 db46 gdbm gettext expat libiconv gperf ncurses ncursesw openssl zlib readline sqlite3 tk Xft2 fontconfig freetype pkgconfig xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto
> Error: Status 1 encountered during processing.

So, bzip2 failed to activate. It doesn't say why here, but the most common reason is that the files the port is trying to install are already installed. This should not be, but there are a few reasons why it could be: Perhaps you migrated this MacPorts install from an old Mac to this one; or perhaps you had MacPort installed, uninstalled it incompletely, then installed it again; or perhaps you installed a binary package of bzip2 that somebody built by using MacPorts.

Whatever the reason, the conflicting files have to go. You could force the activation of bzip2:

sudo port -f activate bzip2

But this doesn't guarantee that you don't have other files in there that don't belong that will conflict with other ports down the road. If you cannot explain why the conflicting files existed, you may be better off uninstalling MacPorts completely, then reinstalling. Correct uninstall instructions are in the Guide:

http://guide.macports.org/chunked/installing.macports.uninstalling.html




More information about the macports-users mailing list