Failure when upgrading gtk2 2.10.2_1 < 2.10.3_0

Randall Wood rhwood at mac.com
Sat Sep 23 15:42:27 PDT 2006


I am seeing the same problem, and am now going through and manually  
updating ports with the following steps:

The port in this example is atk:
sudo port -f uninstall atk ; sudo port clean --all atk; sudo port  
install atk

This looks to be a long and tortured process.

On 23 Sep 2006, at 16:55, McGarry Vince wrote:

> Hi Randall,
>
> I'm afraid that sudo port -Rd upgrade gettext does not work. atk is  
> never rebuilt and everytime it is noted as missing with error 1,  
> then all the dependencies for gtk2 are checked and the error is  
> reported again and the loop continues. A check says that atk is  
> installed.
>
> atk @1.12.2_0 (active)
>
> Trying to sudo port -Rd upgrade atk does not install atk, but  
> apparently tries to build gtk2 and reports the same error. Perhaps  
> there's another way---although a novice, I am brave!
>
> Vince
>
> On Sep 23, 2006, at 12:17 PM, McGarry Vince wrote:
>
>> Thanks. I'm actually trying this. After checking for dependencies.  
>> It is building gtk2 now, but did not attempt to build atk. I do  
>> however see at several instances during the build:
>>
>> configure: error:
>>                 *** Cannot link to Accessibility Toolkit.  
>> Accessibility Toolkit is required
>>                 *** to build GTK+
>> Error: Target com.apple.configure returned: configure failure:  
>> shell command "cd "/opt/local/var/db/dports/build/ 
>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate 
>> _dports_x11_gtk2/work/gtk+-2.10.3" && LDFLAGS="-L/opt/local/lib - 
>> lpango-1.0" CPPFLAGS="-I/opt/local/include -no-cpp-precomp - 
>> DX_LOCALE" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" ./ 
>> configure --prefix=/opt/local --disable-shm --disable-gtk-doc -- 
>> with-included-loaders --mandir=/opt/local/share/man" returned error 1
>>
>> Vince
>>
>> On Sep 23, 2006, at 11:40 AM, Randall Wood wrote:
>>
>>> The recent upgrade to port gettext breaks everything that links  
>>> against libintl. The best route to fixing this would be to
>>>
>>> sudo port -R upgrade gettext
>>>
>>> although there might be a faster workaround than that. I say  
>>> "best" route because "port -R upgrade" will force the rebuilding  
>>> of everything that explicitly depends on the port. In this case  
>>> port atk depends on gettext and needs to be rebuilt before gtk2,  
>>> which depends on a working atk can be built.
>>>
>>> On 23 Sep 2006, at 11:46, McGarry Vince wrote:
>>>
>>>> Hello,
>>>>
>>>> I get the following when attempting to upgrade gtk2. My MacPorts  
>>>> install was a new one, a few days old, and Gnome was operating  
>>>> without major difficulty.
>>>>
>>>> %-------
>>>>
>>>> configure: error:
>>>>                 *** Cannot link to Accessibility Toolkit.  
>>>> Accessibility Toolkit is required
>>>>                 *** to build GTK+
>>>>
>>>> Warning: the following items did not execute (for gtk2):  
>>>> com.apple.destroot com.apple.configure com.apple.build
>>>> DEBUG: Registry error: XFree86 not registered as installed.
>>>>     invoked from within
>>>> "registry_installed ${portname}"
>>>>     invoked from within
>>>> "$workername eval registry_installed \${portname}"
>>>> Error: Unable to upgrade port: 1
>>>>
>>>> %-------
>>>>
>>>> Vince McGarry
>>>>
>>>> _______________________________________________
>>>> macports-users mailing list
>>>> macports-users at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>
>>>
>>> Randall Wood
>>> rhwood at mac.com
>>>
>>> "The rules are simple: The ball is round. The game lasts 90  
>>> minutes. All the
>>> rest is just philosophy."
>>>
>>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>


Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3601 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20060923/8068a034/smime.bin


More information about the macports-users mailing list