failed to build dia

Ryan Schmidt ryandesign at macports.org
Mon Sep 29 12:50:43 PDT 2008


On Sep 29, 2008, at 10:52, Normen Müller wrote:

> Hmmm, I did the following:
>
> # port install gtk2
> [...]
> --->  Activating gtk2 2.14.3_2+x11
> Error: Target org.macports.activate returned: Image error: Another  
> version of this port (gtk2 @2.14.3_1+x11) is already active.
> Error: Status 1 encountered during processing.

So since you already had gtk2 installed, you should have used "port  
upgrade gtk2" instead of "port install gtk2". To work around it now,  
you should uninstall the old version, like you did:

> # port uninstall gtk2 @2.14.3_1+x11
> --->  Deactivating gtk2 2.14.3_1+x11
> --->  Uninstalling gtk2 2.14.3_1+x11

Then activate the new version, like you did:

> # port install gtk2
> --->  Activating gtk2 2.14.3_2+x11
> --->  Cleaning gtk2
>
> and that just went through fine, without any complains.

So now gtk2 is installed properly.

> Then I searched for gail
>
> # port installed | grep gail
>
> without any hit.

Ok, you didn't have gail installed, so you didn't run into the error  
Anders mentioned.

> Then I tried to install dia again:
>
> # port install dia
> --->  Building dia with target all
> --->  Staging dia into destroot
> --->  Installing dia 0.96.1_0
> --->  Activating dia 0.96.1_0
> --->  Cleaning dia
>
> AND IT WORKS!!!! :-D

Super! :)



More information about the macports-users mailing list