From the error it looks like your true type font support is broken in
GD, which reports
> Support for Fontconfig library: no
despite the fact that gd has access to the library, since GD_FREETYPE appears
> features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
When you run 'perl Makefile.PL' for GD (2.46), I get
> perl Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.33.
Checking for stray libgd header files...none found.
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE
GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr
Writing Makefile for GD
Do you see "GD_FREETYPE" reported in your case?
When you run
> cd demos
> perl ./
ttf.pl > test.png
you should get the attached image if things are working. If not, what
error are you seeing?
On Tue, Oct 9, 2012 at 8:18 AM, Melissa <
melissa...@gmail.com> wrote:
> Hi, I finally have all the Perl modules installed ... manually. All looks ok
> after running "./test.modules". Here's my GD library:
>
> Support for PNG library: yes
> Support for JPEG library: yes
> Support for Freetype 2.x library: yes
> Support for Fontconfig library: no
> Support for Xpm library: no
> Support for pthreads: yes
>
> Here's how "gdlib-config --all" looks like:
>
> GD library 2.0.34
> includedir: /usr/local/include
> cflags: -I/usr/local/include
> ldflags: -L/usr/local/lib -L/usr/lib
> libs: -ljpeg -lfreetype -lpng12 -lz -lm
> libdir: /usr/local/lib
> features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
>
> but when I run the example, I got errors like:
> at /home/.../circos-0.62-1/bin/../lib/Circos/Error.pm line 332
> Circos::Error::fatal_error('font', 'no_ttf',
> '/home/.../circos-0.62-1/e...') called at
> /home/.../circos-0.62-1/bin/../lib/Circos/Font.pm line 192
> Circos::Font::get_label_size('font_file',
> '/home/.../circos-0.62-1/e...', 'size', 10, 'text', 'abc123') called at
> /home/.../circos-0.62-1/bin/../lib/Circos/Font.pm line 243
> Circos::Font::sanity_check() called at
> /home/.../circos-0.62-1/bin/../lib/Circos.pm line 720
> Circos::run('Circos', 'configfile', 'etc/circos.conf', 'debug_group',
> 'summary,timer') called at ../bin/circos line 233
>
> I've tried your advice to recompile it or install other version, namely
> 2.0.33 (see below).
>
> GD library 2.0.33
> includedir: /usr/local/include
> cflags: -I/usr/local/include
> ldflags: -L/usr/local/lib -L/usr/lib
> libs: -ljpeg -lfreetype -lpng12 -lz -lm
> libdir: /usr/local/lib
> features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF
>
> I still get the same errors. So ... Help!!!!!!!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Circos" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/circos-data-visualization/-/sFTH-giPEMEJ.