Dear All,
I cannot install freetype to complete GD installation.
According to the following website, I need to install Freetype and Fontconfig
to install libgd properly.
I am using Mac 10.8.5.
I tried homebrew (shown below) and manual from downloaded freetype-2.5.2 (not shown).
[JunINOUE:srctemp]$ ls
fontconfig-2.11.0/ jpegsrc.v8d.tar.gz libpng-1.6.2/
jpeg-8d/ libgd-2.1.0-rc2/ old/
[JunINOUE:srctemp]$ cd libgd-2.1.0-rc2/
[JunINOUE:libgd-2.1.0-rc2]$ ./configure
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
....
** Configuration summary for libgd 2.1.0-rc2:
Support for Zlib: yes
Support for PNG library: no
Support for JPEG library: yes
Support for VPX library: no
Support for TIFF library: no
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
….
[JunINOUE:libgd-2.1.0-rc2]$ brew install freetype
Warning: freetype-2.5.2 already installed, it's just not linked
[JunINOUE:libgd-2.1.0-rc2]$ brew link freetype
Linking /usr/local/Cellar/freetype/
2.5.2... Warning: Could not link freetype. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/freetype/2.5.2/bin/freetype-config
Target /usr/local/bin/freetype-config already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
######
Thank you for your help.
I really want to use some figs by circos in my next paper.
Best,
Jun Inoue