Freetype (and GD) installation for Mac 10.8.5

1,816 views
Skip to first unread message

Jun Inoue

unread,
Dec 27, 2013, 11:35:54 AM12/27/13
to circos-data-...@googlegroups.com
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

Valentin Loux

unread,
Jan 6, 2014, 9:57:16 AM1/6/14
to circos-data-...@googlegroups.com
On Fri, Dec 27, 2013 at 5:35 PM, Jun Inoue <jun.g...@gmail.com> wrote:
> 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.
> http://zientzilaria.herokuapp.com/blog/2012/06/03/installing-circos-on-os-x/
>
> I am using Mac 10.8.5.
> I tried homebrew (shown below) and manual from downloaded freetype-2.5.2
> (not shown).


Hi Jun,
you have to specify to brew to install GD with freetype support :
>brew install gd --with-freetype

best regards,
Val

Jun Inoue

unread,
Jan 6, 2014, 10:16:20 PM1/6/14
to circos-data-...@googlegroups.com, vale...@loux.info
Dear Val,


I uninstall all related modules and homebrew 
and succeeded re-install everything following this website.

For manual GD installation, I followed this website.

I summarized my installation here (but in Japanese).

Thank you very much.


Best,
Jun Inoue

2014年1月6日月曜日 23時57分16秒 UTC+9 Valentin Loux:

dhess

unread,
Apr 1, 2014, 10:03:56 AM4/1/14
to circos-data-...@googlegroups.com, vale...@loux.info
Hi Jun,

This might be a silly question but I am new to this. What is an easy way to uninstall all related modules?

Thanks,
Daisy

Martin Krzywinski

unread,
Apr 17, 2014, 9:25:00 PM4/17/14
to circos-data-...@googlegroups.com
Do you mean the Perl modules?

Shaun's homebrew recipe for installing all the components is described in this thread


If you only need to install a specific Perl module, you can do it using CPAN on the command line

> perl -MCPAN -e shell
...
install Config::General
install Params::Validate
...

You don't need to worry about uninstalling Perl modules. They don't take up that much space.




Martin Krzywinski
science + art



--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages