Unable to install freetype

Jeffrey Van Myers jvm at jvmyers.com
Thu Mar 18 14:35:44 PDT 2010


1. Snow Leopard v. 10.6.2.

2. New install of MacPorts - package installed with no errors.

3. Installed:
	Apache2
	MySQL
	PHP5 apache2 suhosin
	php5-curl
	php5-ftp

**failed on php5-gd, complaining about freetype**

4. Issued: port -d install freetype

5. Got: (only error was as follows)

DEBUG: Image error: /opt/local/include/freetype2/freetype/ftadvanc.h 
already exists and does not belong to a registered port.  Unable to 
activate port freetype.
     while executing
"_activate_contents $name $imagefiles $imagedir"
     (procedure "portimage::activate" line 56)
     invoked from within
"registry_activate $name ${version}_${revision}${portvariants} [array 
get user_options]"
     (procedure "eval_targets" line 21)
     invoked from within
"eval_targets activate"
     invoked from within
"$workername eval eval_targets $target"
     (procedure "mportexec" line 85)
     invoked from within
"mportexec $workername $target"
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.

6. Not sure how to fix this one -- suggestions?

Cheers,
JVM


More information about the macports-users mailing list