Skip to content Skip to sidebar Skip to footer

Build Failure During Install Py25-gtk On Mac Os X 10.6 Using Macports 1.8

When I do this command : sudo port clean py25-gtk sudo port install py25-gtk I get this error : ---> Computing dependencies for py25-gtk ---> Building getopt Error: Target

Solution 1:

The solution is to reinstall all ports because I upgraded to a new OS version (10.5 -> 10.6).

To reinstall your ports, save the list of your installed ports:

port installed > myports.txt

Clean any partially completed builds, and uninstall all installed ports:

sudo port clean installed
sudo port -f uninstall installed

Browse myports.txt and install the ports that you actually want to use (as opposed to those that are only needed as dependencies) one by one, remembering to specify the appropriate variants:

sudo port install portname +variant1 +variant2 ...

To resolve my problem, i can do and :

sudo port install py25-gtk

Now it's work !

Read the complete documentation to reinstall ports at http://trac.macports.org/wiki/Migration

Post a Comment for "Build Failure During Install Py25-gtk On Mac Os X 10.6 Using Macports 1.8"