[MacPorts] #19147: Error building xorg-libice
MacPorts
noreply at macports.org
Thu May 21 09:39:29 PDT 2009
#19147: Error building xorg-libice
----------------------------------+-----------------------------------------
Reporter: maggesi@… | Owner: mvfranz@…
Type: defect | Status: new
Priority: Normal | Component: ports
Version: 1.7.1 | Keywords:
Port: xorg-libice |
----------------------------------+-----------------------------------------
Comment(by kthenriksson@…):
I got the same error too. What I needed to do was deactivate the old xorg-
libice, and then I could install the new one. In other words, running
{{{
sudo port deactivate xorg-libice
sudo port upgrade xorg-libice
}}}
should clear this up for anyone.
As far as technical details, the problem is that the old version of xorg-
libice and the new one have differing prototypes for the two functions
IceRegisterForProtocolSetup and IceRegisterForProtocolReply. One thinks
authNames should be a char** and the other thinks it should be a const
char**. As long as the old version is active, the compiler will read in
both definitions and then will be uncertain which is correct. So just
deactivate the old and all will be well.
--
Ticket URL: <http://trac.macports.org/ticket/19147#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list