$ sudo aptitude show libtemplate-perl Package: libtemplate-perl New: yes State: installed Automatically installed: no Version: 2.14-1 Priority: optional Section: perl Maintainer: Benjamin Hill (Mako) <[EMAIL PROTECTED]> Uncompressed Size: 5849kDepends: perl (>= 5.8.4-5), perlapi-5.8.4, libc6 (>= 2.3.2.ds1-4), libappconfig-perl (>= 1.52) Suggests: libtemplate-perl-doc, libgd-perl, libgd-text-perl, libgd-graph-perl
Conflicts: libtemplate-stash-perl Replaces: libtemplate-stash-perl Provides: templatetoolkit-perl
In case you need some special ability which is newer than the distribution bundled version there is always "dh-make-perl" which takes care of dependencies in a nice way.
"dh-make-perl --install --CPAN Template" would probably give you what you need.
PS: dh-make-perl creates temporary files in the current directory.I think your errors are related to missing dependencies. Look above to see which one you lack on your system.
-- Robin John Costello wrote:
I'm trying to build Template (and Template::Stash::XS) on Ubuntu 6.10 under Perl 5.8.8.The make fails with lots of errors, as shown below (Perl -V first, followed by the output of the make test)Template installs if I tell it not to use Template::Stash::XS. Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.15.7, archname=i486-linux-gnu-thread-multi uname='linux rothera 2.6.15.7 #1 smp tue jun 27 18:34:43 utc 2006 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.2 20060613 (prerelease) (Ubuntu 4.1.1-2ubuntu5)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.4.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXTPERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Jul 7 2006 18:08:25 @INC: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . --------- Argument "6.30_01" isn't numeric in numeric ge (>=) at Makefile.PL line 264, <STDIN> line 9. Checking if your kit is complete... Looks good Checking if your kit is complete... Looks good Writing Makefile for Template::Stash::XS Writing Makefile for TemplateConfiguration complete. You should now run 'make', 'make test' and then 'make install'. See the README file for further information.Installation Notes ------------------ Please note that the installation of the optional components and building of the HTML documentation is performed at the "make install" stage as the effective user at that time. This implies that this user must have sufficient permission to install into the specified directory and that all created directories and files will be owned by them. cp lib/Template/Manual/Views.pod blib/lib/Template/Manual/Views.pod cp lib/Template/Manual/Directives.pod blib/lib/Template/Manual/Directives.pod cp lib/Template/Plugin/HTML.pm blib/lib/Template/Plugin/HTML.pm cp lib/Template/Stash.pm blib/lib/Template/Stash.pm cp lib/Template/Context.pm blib/lib/Template/Context.pm cp lib/Template/Manual/Intro.pod blib/lib/Template/Manual/Intro.pod cp lib/Template/Modules.pod blib/lib/Template/Modules.pod cp lib/Template/Plugin/Procedural.pm blib/lib/Template/Plugin/Procedural.pm cp lib/Template/Plugin/Iterator.pm blib/lib/Template/Plugin/Iterator.pm cp lib/Template/Tools/ttree.pod blib/lib/Template/Tools/ttree.pod cp lib/Template/Toolkit.pod blib/lib/Template/Toolkit.pod cp lib/Template/Namespace/Constants.pm blib/lib/Template/Namespace/Constants.pm cp lib/Template/Tutorial/Web.pod blib/lib/Template/Tutorial/Web.pod cp lib/Template/Iterator.pm blib/lib/Template/Iterator.pm cp lib/Template/Plugin/String.pm blib/lib/Template/Plugin/String.pm cp lib/Template/Stash/XS.pm blib/lib/Template/Stash/XS.pm cp lib/Template/Manual.pod blib/lib/Template/Manual.pod cp lib/Template/Library/Splash.pod blib/lib/Template/Library/Splash.pod cp lib/Template/View.pm blib/lib/Template/View.pm cp lib/Template/Manual/Credits.pod blib/lib/Template/Manual/Credits.pod cp lib/Template/Plugin/Filter.pm blib/lib/Template/Plugin/Filter.pm cp lib/Template/Manual/Plugins.pod blib/lib/Template/Manual/Plugins.pod cp lib/Template/Plugin/Dumper.pm blib/lib/Template/Plugin/Dumper.pm cp lib/Template/Plugin/Date.pm blib/lib/Template/Plugin/Date.pm cp lib/Template/Manual/VMethods.pod blib/lib/Template/Manual/VMethods.pod cp lib/Template/Plugin/File.pm blib/lib/Template/Plugin/File.pm cp lib/Template/Constants.pm blib/lib/Template/Constants.pm cp lib/Template/Plugin/Image.pm blib/lib/Template/Plugin/Image.pm cp lib/Template/Manual/Config.pod blib/lib/Template/Manual/Config.pod cp lib/Template/Test.pm blib/lib/Template/Test.pm cp lib/Template.pm blib/lib/Template.pm cp lib/Template/Plugin/Table.pm blib/lib/Template/Plugin/Table.pm cp lib/Template/Library/HTML.pod blib/lib/Template/Library/HTML.pod cp lib/Template/Provider.pm blib/lib/Template/Provider.pm cp lib/Template/Plugin/Format.pm blib/lib/Template/Plugin/Format.pm cp lib/Template/Plugin/View.pm blib/lib/Template/Plugin/View.pm cp lib/Template/Stash/Context.pm blib/lib/Template/Stash/Context.pm cp lib/Template/Directive.pm blib/lib/Template/Directive.pm cp lib/Template/Plugin/Datafile.pm blib/lib/Template/Plugin/Datafile.pm cp lib/Template/Plugin/Directory.pm blib/lib/Template/Plugin/Directory.pm cp lib/Template/Plugin/Wrap.pm blib/lib/Template/Plugin/Wrap.pm cp lib/Template/Base.pm blib/lib/Template/Base.pm cp lib/Template/Library/PostScript.pod blib/lib/Template/Library/PostScript.pod cp lib/Template/Plugin/Math.pm blib/lib/Template/Plugin/Math.pm cp lib/Template/Filters.pm blib/lib/Template/Filters.pm cp lib/Template/Manual/Internals.pod blib/lib/Template/Manual/Internals.pod cp lib/Template/Plugin/Pod.pm blib/lib/Template/Plugin/Pod.pm cp lib/Template/Service.pm blib/lib/Template/Service.pm cp lib/Template/Plugin/Autoformat.pm blib/lib/Template/Plugin/Autoformat.pm cp lib/Template/Manual/Variables.pod blib/lib/Template/Manual/Variables.pod cp lib/Template/Tools/tpage.pod blib/lib/Template/Tools/tpage.pod cp lib/Template/Parser.pm blib/lib/Template/Parser.pm cp lib/Template/Plugins.pm blib/lib/Template/Plugins.pm cp lib/Template/Manual/Refs.pod blib/lib/Template/Manual/Refs.pod cp lib/Template/Manual/Syntax.pod blib/lib/Template/Manual/Syntax.pod cp lib/Template/Tutorial.pod blib/lib/Template/Tutorial.pod cp lib/Template/Grammar.pm blib/lib/Template/Grammar.pm cp lib/Template/Plugin.pm blib/lib/Template/Plugin.pm cp lib/Template/Config.pm blib/lib/Template/Config.pm cp lib/Template/FAQ.pod blib/lib/Template/FAQ.pod cp lib/Template/Plugin/CGI.pm blib/lib/Template/Plugin/CGI.pm cp lib/Template/Manual/Filters.pod blib/lib/Template/Manual/Filters.pod cp lib/Template/Document.pm blib/lib/Template/Document.pm cp lib/Template/Plugin/URL.pm blib/lib/Template/Plugin/URL.pm cp lib/Template/Exception.pm blib/lib/Template/Exception.pm cp lib/Template/Tutorial/Datafile.pod blib/lib/Template/Tutorial/Datafile.pod make[1]: Entering directory `/root/.cpan/build/Template-Toolkit-2.15/xs' /usr/bin/perl /usr/share/perl/5.8.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap Stash.xs > Stash.xsc && mv Stash.xsc Stash.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.15\" -DXS_VERSION=\"2.15\" -fPIC "-I/usr/lib/perl/5.8/CORE" Stash.c In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:420:24: error: sys/types.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:451:19: error: ctype.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:463:23: error: locale.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:480:20: error: setjmp.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:486:26: error: sys/param.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:491:23: error: stdlib.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:496:23: error: unistd.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:776:23: error: string.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:925:27: error: netinet/in.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:929:26: error: arpa/inet.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:939:25: error: sys/stat.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:961:21: error: time.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:968:25: error: sys/time.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:975:27: error: sys/times.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:982:19: error: errno.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:997:25: error: sys/socket.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:1024:21: error: netdb.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:1127:24: error: sys/ioctl.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:1156:23: error: dirent.h: No such file or directory In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11, from /usr/lib/perl/5.8/CORE/perl.h:1510, from Stash.xs:40: /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory In file included from /usr/lib/perl/5.8/CORE/perl.h:2120, from Stash.xs:40: /usr/lib/perl/5.8/CORE/handy.h:136:25: error: inttypes.h: No such file or directory In file included from /usr/lib/perl/5.8/CORE/perl.h:2284, from Stash.xs:40: /usr/lib/perl/5.8/CORE/unixish.h:106:21: error: signal.h: No such file or directory In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:2421:33: error: pthread.h: No such file or directory In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:2423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘perl_os_thread’ /usr/lib/perl/5.8/CORE/perl.h:2424: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘perl_mutex’ /usr/lib/perl/5.8/CORE/perl.h:2425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘perl_cond’ /usr/lib/perl/5.8/CORE/perl.h:2426: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘perl_key’ In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51, from /usr/lib/perl/5.8/CORE/perl.h:2733, from Stash.xs:40: /usr/lib/perl/5.8/CORE/perlio.h:65:19: error: stdio.h: No such file or directory In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51, from /usr/lib/perl/5.8/CORE/perl.h:2733, from Stash.xs:40: /usr/lib/perl/5.8/CORE/perlio.h:259: error: expected ‘)’ before ‘*’ token /usr/lib/perl/5.8/CORE/perlio.h:262: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/perlio.h:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/perlio.h:268: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /usr/lib/perl/5.8/CORE/perl.h:2747, from Stash.xs:40: /usr/lib/perl/5.8/CORE/sv.h:389: error: expected specifier-qualifier-list before ‘DIR’ In file included from /usr/lib/perl/5.8/CORE/op.h:497, from /usr/lib/perl/5.8/CORE/perl.h:2754, from Stash.xs:40: /usr/lib/perl/5.8/CORE/reentr.h:72:20: error: pwd.h: No such file or directory /usr/lib/perl/5.8/CORE/reentr.h:75:20: error: grp.h: No such file or directory /usr/lib/perl/5.8/CORE/reentr.h:85:26: error: crypt.h: No such file or directory /usr/lib/perl/5.8/CORE/reentr.h:90:27: error: shadow.h: No such file or directory In file included from /usr/lib/perl/5.8/CORE/op.h:497, from /usr/lib/perl/5.8/CORE/perl.h:2754, from Stash.xs:40: /usr/lib/perl/5.8/CORE/reentr.h:612: error: field ‘_crypt_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:620: error: field ‘_drand48_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:624: error: field ‘_grent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:635: error: field ‘_hostent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:654: error: field ‘_netent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:669: error: field ‘_protoent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:684: error: field ‘_pwent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:695: error: field ‘_servent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:710: error: field ‘_spent_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:721: error: field ‘_gmtime_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:724: error: field ‘_localtime_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:771: error: field ‘_random_struct’ has incomplete type /usr/lib/perl/5.8/CORE/reentr.h:772: error: expected specifier-qualifier-list before ‘int32_t’ In file included from /usr/lib/perl/5.8/CORE/perl.h:2756, from Stash.xs:40: /usr/lib/perl/5.8/CORE/av.h:13: error: expected specifier-qualifier-list before ‘ssize_t’ In file included from /usr/lib/perl/5.8/CORE/perl.h:2759, from Stash.xs:40: /usr/lib/perl/5.8/CORE/scope.h:232: error: expected specifier-qualifier-list before ‘sigjmp_buf’ In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:2931: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getuid’ /usr/lib/perl/5.8/CORE/perl.h:2932: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘geteuid’ /usr/lib/perl/5.8/CORE/perl.h:2933: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getgid’ /usr/lib/perl/5.8/CORE/perl.h:2934: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getegid’ In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:3238:22: error: math.h: No such file or directory In file included from /usr/lib/perl/5.8/CORE/perl.h:3881, from Stash.xs:40: /usr/lib/perl/5.8/CORE/thrdvar.h:85: error: field ‘Tstatbuf’ has incomplete type /usr/lib/perl/5.8/CORE/thrdvar.h:86: error: field ‘Tstatcache’ has incomplete type /usr/lib/perl/5.8/CORE/thrdvar.h:91: error: field ‘Ttimesbuf’ has incomplete type In file included from /usr/lib/perl/5.8/CORE/perl.h:3883, from Stash.xs:40: /usr/lib/perl/5.8/CORE/intrpvar.h:66: error: expected specifier-qualifier-list before ‘time_t’ In file included from /usr/lib/perl/5.8/CORE/perl.h:3950, from Stash.xs:40: /usr/lib/perl/5.8/CORE/proto.h:128: error: expected declaration specifiers or ‘...’ before ‘mode_t’ /usr/lib/perl/5.8/CORE/proto.h:128: error: expected declaration specifiers or ‘...’ before ‘uid_t’ /usr/lib/perl/5.8/CORE/proto.h:297: error: expected declaration specifiers or ‘...’ before ‘off64_t’ /usr/lib/perl/5.8/CORE/proto.h:299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_do_sysseek’ /usr/lib/perl/5.8/CORE/proto.h:300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_do_tell’ /usr/lib/perl/5.8/CORE/proto.h:411: error: expected declaration specifiers or ‘...’ before ‘gid_t’ /usr/lib/perl/5.8/CORE/proto.h:411: error: expected declaration specifiers or ‘...’ before ‘uid_t’ /usr/lib/perl/5.8/CORE/proto.h:736: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_my_fork’ /usr/lib/perl/5.8/CORE/proto.h:1020: error: expected declaration specifiers or ‘...’ before ‘pid_t’ /usr/lib/perl/5.8/CORE/proto.h:1300: error: expected declaration specifiers or ‘...’ before ‘pid_t’ /usr/lib/perl/5.8/CORE/proto.h:1456: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/proto.h:2001: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_PerlIO_read’ /usr/lib/perl/5.8/CORE/proto.h:2002: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_PerlIO_write’ /usr/lib/perl/5.8/CORE/proto.h:2003: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_PerlIO_unread’ /usr/lib/perl/5.8/CORE/proto.h:2004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Perl_PerlIO_tell’ /usr/lib/perl/5.8/CORE/proto.h:2005: error: expected declaration specifiers or ‘...’ before ‘off64_t’ In file included from /usr/lib/perl/5.8/CORE/perl.h:3988, from Stash.xs:40: /usr/lib/perl/5.8/CORE/perlvars.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PL_thr_key’ /usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PL_op_mutex’ /usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PL_dollarzero_mutex’ /usr/lib/perl/5.8/CORE/perl.h:4485:24: error: sys/ipc.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:4486:24: error: sys/sem.h: No such file or directory /usr/lib/perl/5.8/CORE/perl.h:4611:24: error: sys/file.h: No such file or directory In file included from Stash.xs:41: ppport.h:356:1: warning: "PERL_UNUSED_DECL" redefined In file included from Stash.xs:40: /usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of the previous definition In file included from /usr/lib/perl/5.8/CORE/perlapi.h:38, from /usr/lib/perl/5.8/CORE/XSUB.h:349, from Stash.xs:42: /usr/lib/perl/5.8/CORE/intrpvar.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/intrpvar.h:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/intrpvar.h:238: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/intrpvar.h:239: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/intrpvar.h:240: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from /usr/lib/perl/5.8/CORE/perlapi.h:39, from /usr/lib/perl/5.8/CORE/XSUB.h:349, from Stash.xs:42: /usr/lib/perl/5.8/CORE/perlvars.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token Stash.xs: In function ‘dotop’: Stash.xs:349: warning: incompatible implicit declaration of built-in function ‘snprintf’ Stash.xs:352: warning: incompatible implicit declaration of built-in function ‘strstr’ Stash.xs: In function ‘assign’: Stash.xs:527: warning: incompatible implicit declaration of built-in function ‘printf’ Stash.xs: In function ‘find_perl_op’: Stash.xs:897: warning: incompatible implicit declaration of built-in function ‘strlen’ Stash.xs: In function ‘XS_Template__Stash__XS_cvsid’: Stash.xs:1225: warning: incompatible implicit declaration of built-in function ‘strlen’ make[1]: *** [Stash.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/Template-Toolkit-2.15/xs' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
smime.p7s
Description: S/MIME Cryptographic Signature
