I can confirm that this is not a libgd-gd2-perl problem, but a libgd2 problem.

The problem arises with a patch which changes all the font
definitions, generated by the maintainer with different fonts. THe
purpose of this patch was supposedly to change the font encoding,
which would also break things, but it also has a different style,
which makes the giant font look smaller than the large font. I have
already filed a bug against libgd (#383747), and I expect this one to
be closed when libgd is fixed.

This could also be fixed modifying the test*.png template files, to
match the new fonts, but I believe that the change in libgd is bad and
should be reverted.

On a side note, the warning about header files noted in the OP is
indeed a bug in GD, which fails to sanitize gcc output, and therefore
is not really checking correctly library clashes. I include here the
patch that fixes it.

--
Martín Ferrari
--- Makefile.PL-orig	2006-06-01 16:59:19.000000000 -0300
+++ Makefile.PL	2006-08-19 02:20:03.000000000 -0300
@@ -290,7 +290,9 @@
   my $data        = `$cc -print-search-dirs`;
   $data         ||= '';
   my ($libraries) = $data =~ /^libraries: =(.+)/m;
-  my %libraries   = map {$_=>1} (split /:/,$libraries),'/include','/usr/include','/usr/local/include','/opt/include','/usr/X11R6/include';
+  my @libraries = (split /:/,$libraries),'/include','/usr/include','/usr/local/include','/opt/include','/usr/X11R6/include';
+  map {$_ =~ s#/$##g} @libraries;
+  my %libraries   = map {$_=>1} @libraries;
   my $problems;
   foreach (keys %libraries) {
     s/\blib\b/include/;

Reply via email to