Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 1476
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: blather [...] kcgeek.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.41
Fixed in: (no value)



Subject: install bug in Imager 0.41 on FreeBSD (see body for uname output)
uname -a output FreeBSD ripper.netorbit.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Aug 2 11:03:37 CDT 2002 mundenr@ripper.netorbit.com:/usr/obj/usr/src/sys/RIPPER i386 ripper# perl -v This is perl, v5.6.1 built for i386-freebsd Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. ripper# make output as follows: ripper# cd Imager-0.41 ripper# perl Makefile.PL /usr/include/freetype2 doesnt exist or is unaccessible - removed. done. TT-fonts: includes found - libraries found w32: includes not found - libraries not found gif: includes found - libraries not found jpeg: includes found - libraries found freetype2: includes found - libraries found tiff: includes found - libraries found T1-fonts: includes found - libraries found png: includes found - libraries found ungif: includes found - libraries found You have libgif or libungif installed. They are both known to have bugs. Imager can crash or display other strange behaviour after reading or writing gif images. Some of the gif tests can even fail since they stress some parts of the buggy code. Do you want to remove gif support? [Y/n] Checking if your kit is complete... Looks good MakeMaker (v5.45) Writing Makefile for Imager::plugins Writing Makefile for Imager ripper# make cp lib/Imager/Draw.pod blib/lib/Imager/Draw.pod cp lib/Imager/Font.pm blib/lib/Imager/Font.pm cp lib/Imager/Files.pod blib/lib/Imager/Files.pod cp lib/Imager/Filters.pod blib/lib/Imager/Filters.pod cp lib/Imager/Font/FreeType2.pm blib/lib/Imager/Font/FreeType2.pm cp lib/Imager/Transformations.pod blib/lib/Imager/Transformations.pod cp lib/Imager/Font/Type1.pm blib/lib/Imager/Font/Type1.pm cp lib/Imager/Expr/Assem.pm blib/lib/Imager/Expr/Assem.pm cp lib/Imager/Font/Win32.pm blib/lib/Imager/Font/Win32.pm cp lib/Imager/regmach.pod blib/lib/Imager/regmach.pod cp lib/Imager/Color.pm blib/lib/Imager/Color.pm cp lib/Imager/Color/Float.pm blib/lib/Imager/Color/Float.pm cp lib/Imager/ImageTypes.pod blib/lib/Imager/ImageTypes.pod cp lib/Imager/Matrix2d.pm blib/lib/Imager/Matrix2d.pm cp lib/Imager/Expr.pm blib/lib/Imager/Expr.pm cp lib/Imager/Fill.pm blib/lib/Imager/Fill.pm cp lib/Imager/Transform.pm blib/lib/Imager/Transform.pm cp lib/Imager/Regops.pm blib/lib/Imager/Regops.pm cp lib/Imager/Font/Truetype.pm blib/lib/Imager/Font/Truetype.pm cp lib/Imager/Engines.pod blib/lib/Imager/Engines.pod cp lib/Imager/Fountain.pm blib/lib/Imager/Fountain.pm cp lib/Imager/interface.pod blib/lib/Imager/interface.pod cp Imager.pm blib/lib/Imager.pm /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386-freebsd -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Imager.xs > Imager.xsc && mv Imager.xsc Imager.c cc -c -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/freetype -I/usr/local/include/freetype -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.1/i386-freebsd/CORE -DHAVE_LIBTT -DHAVE_LIBJPEG -DHAVE_FT2 -DHAVE_LIBTIFF -DHAVE_LIBT1 -DHAVE_LIBPNG -DIMAGER_LOG -DOS_freebsd Imager.c In file included from Imager.xs:12: image.h:263: syntax error before `TT_Instance' image.h:275: syntax error before `TT_Face' image.h:278: syntax error before `TT_CharMap' *** Error code 1 Stop in /usr/src/Imager-0.41. ripper#
Current CVS moves everything but a structure declaration for the FT1 types into font.c where it belongs. If you have access to Imager CVS (see http://www.eecs.umich.edu/~addi/perl/Imager/devel/) could you please see if that solves the problem? If not, please let me know and I'll create a distribution for you to test with. Thanks Tony Cook