Unable to install freetype
ryandesign at macports.org
Thu Mar 18 18:14:05 PDT 2010
I'm sending this reply back to the mailing list so others will know what happened.
On Mar 18, 2010, at 20:01, Jeffrey Van Myers wrote:
> On 100318 7:45 PM, Ryan Schmidt wrote:
>> On Mar 18, 2010, at 16:35, Jeffrey Van Myers wrote:
>>> Error: Unable to execute port: Image error: /opt/local/include/freetype2/freetype/ftadvanc.h already exists and does not belong to a registered port. Unable to activate port freetype.
>> Why does this file exist already?
>> You can force the activation:
>> sudo port -f activate freetype
>> But this file should not already have existed. The fact that it does suggests that you previously had MacPorts installed, and somehow uninstalled it incompletely. You may want to uninstall it correctly now, following the instructions in the Guide, and then reinstall the ports need, because it might not just be parts of the old freetype that are still on your hard drive, and they might cause problems later.
> Just bought the machine last July and never attempted to use MacPorts until yesterday. Just managed to get MySQL5 up and running (had a privilege problem that prevented mysqld from coming up).
> Issued: port -f activate freetype
> ---> The following versions of freetype are currently installed:
> ---> freetype @2.1.10_1
> ---> freetype @2.3.12_0+macosx
> Error: port activate failed: Registry error: Please specify the full version as recorded in the port registry.
> Can I somehow uninstall/remove the 2.1.10_1 version?
freetype @2.1.10_1 is ancient -- was replaced with version 2.2.1_0 on 2006-05-27 -- so you appear to have installed MacPorts back in 2006 and installed some ports. (Back then, it was called DarwinPorts; the project renamed to MacPorts in August 2006. ) If not on this machine, then on a previous machine, and migrated it to this one with Apple's Migration Assistant during new OS setup. Your best bet is to uninstall MacPorts completely using the instructions in the Guide , then install anew, to ensure no parts of this ancient MacPorts installation remain.
More information about the macports-users