[Templates] Template barfs horribly during make in Template::Stash::XS
John Costello
cos@indeterminate.net
Wed, 8 Nov 2006 17:48:32 -0800 (PST)
I'm trying to build Template (and Template::Stash::XS) on Ubuntu 6.10=20
under Perl 5.8.8.
The make fails with lots of errors, as shown below (Perl -V first,=20
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=3Dlinux, osvers=3D2.6.15.7, archname=3Di486-linux-gnu-thread-mul=
ti
uname=3D'linux rothera 2.6.15.7 #1 smp tue jun 27 18:34:43 utc 2006 i68=
6 gnulinux '
config_args=3D'-Dusethreads -Duselargefiles -Dccflags=3D-DDEBIAN -Dcccd=
lflags=3D-fPIC -Darchname=3Di486-linux-gnu -Dprefix=3D/usr -Dprivlib=3D/usr=
/share/perl/5.8 -Darchlib=3D/usr/lib/perl/5.8 -Dvendorprefix=3D/usr -Dvendo=
rlib=3D/usr/share/perl5 -Dvendorarch=3D/usr/lib/perl5 -Dsiteprefix=3D/usr/l=
ocal -Dsitelib=3D/usr/local/share/perl/5.8.8 -Dsitearch=3D/usr/local/lib/pe=
rl/5.8.8 -Dman1dir=3D/usr/share/man/man1 -Dman3dir=3D/usr/share/man/man3 -D=
siteman1dir=3D/usr/local/man/man1 -Dsiteman3dir=3D/usr/local/man/man3 -Dman=
1ext=3D1 -Dman3ext=3D3perl -Dpager=3D/usr/bin/sensible-pager -Uafs -Ud_csh =
-Uusesfio -Uusenm -Duseshrplib -Dlibperl=3Dlibperl.so.5.8.8 -Dd_dosuid -des=
'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine usemult=
iplicity=3Ddefine
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine usesocks=3Dund=
ef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'cc', ccflags =3D'-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -=
DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE=
-D_FILE_OFFSET_BITS=3D64',
optimize=3D'-O2',
cppflags=3D'-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fn=
o-strict-aliasing -pipe -I/usr/local/include'
ccversion=3D'', gccversion=3D'4.1.2 20060613 (prerelease) (Ubuntu 4.1.1=
-2ubuntu5)', gccosandvers=3D''
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, byteorder=3D123=
4
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdblsize=
=3D12
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, Off_t=3D'of=
f_t', lseeksize=3D8
alignbytes=3D4, prototype=3Ddefine
Linker and Libraries:
ld=3D'cc', ldflags =3D' -L/usr/local/lib'
libpth=3D/usr/local/lib /lib /usr/lib
libs=3D-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=3D-ldl -lm -lpthread -lc -lcrypt
libc=3D/lib/libc-2.4.so, so=3Dso, useshrplib=3Dtrue, libperl=3Dlibperl.=
so.5.8.8
gnulibc_version=3D'2.4'
Dynamic Linking:
dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'-Wl,-=
E'
cccdlflags=3D'-fPIC', lddlflags=3D'-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):=20
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_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 (>=3D) at Makefile.PL line 2=
64, <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 Template
Configuration complete. You should now run 'make', 'make test' and=20
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.p=
od
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/Constant=
s.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=
=2Epod
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.p=
od
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/pe=
rl/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_BIT=
S=3D64 -O2 -DVERSION=3D\"2.15\" -DXS_VERSION=3D\"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 d=
irectory
/usr/lib/perl/5.8/CORE/perl.h:451:19: error: ctype.h: No such file or direc=
tory
/usr/lib/perl/5.8/CORE/perl.h:463:23: error: locale.h: No such file or dire=
ctory
/usr/lib/perl/5.8/CORE/perl.h:480:20: error: setjmp.h: No such file or dire=
ctory
/usr/lib/perl/5.8/CORE/perl.h:486:26: error: sys/param.h: No such file or d=
irectory
/usr/lib/perl/5.8/CORE/perl.h:491:23: error: stdlib.h: No such file or dire=
ctory
/usr/lib/perl/5.8/CORE/perl.h:496:23: error: unistd.h: No such file or dire=
ctory
/usr/lib/perl/5.8/CORE/perl.h:776:23: error: string.h: No such file or dire=
ctory
/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 d=
irectory
/usr/lib/perl/5.8/CORE/perl.h:939:25: error: sys/stat.h: No such file or di=
rectory
/usr/lib/perl/5.8/CORE/perl.h:961:21: error: time.h: No such file or direct=
ory
/usr/lib/perl/5.8/CORE/perl.h:968:25: error: sys/time.h: No such file or di=
rectory
/usr/lib/perl/5.8/CORE/perl.h:975:27: error: sys/times.h: No such file or d=
irectory
/usr/lib/perl/5.8/CORE/perl.h:982:19: error: errno.h: No such file or direc=
tory
/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 dire=
ctory
/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 dir=
ectory
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 d=
irectory
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 d=
irectory
In file included from Stash.xs:40:
/usr/lib/perl/5.8/CORE/perl.h:2421:33: error: pthread.h: No such file or di=
rectory
In file included from Stash.xs:40:
/usr/lib/perl/5.8/CORE/perl.h:2423: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98perl_os_thread=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2424: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98perl_mutex=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2425: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98perl_cond=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2426: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98perl_key=E2=80=99
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 dire=
ctory
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 =E2=80=98)=E2=80=99 be=
fore =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/perlio.h:262: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/perlio.h:265: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/perlio.h:268: error: expected declaration specifiers=
or =E2=80=98...=E2=80=99 before =E2=80=98FILE=E2=80=99
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 b=
efore =E2=80=98DIR=E2=80=99
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 direct=
ory
/usr/lib/perl/5.8/CORE/reentr.h:75:20: error: grp.h: No such file or direct=
ory
/usr/lib/perl/5.8/CORE/reentr.h:85:26: error: crypt.h: No such file or dire=
ctory
/usr/lib/perl/5.8/CORE/reentr.h:90:27: error: shadow.h: No such file or dir=
ectory
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 =E2=80=98_crypt_struct=E2=
=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:620: error: field =E2=80=98_drand48_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:624: error: field =E2=80=98_grent_struct=E2=
=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:635: error: field =E2=80=98_hostent_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:654: error: field =E2=80=98_netent_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:669: error: field =E2=80=98_protoent_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:684: error: field =E2=80=98_pwent_struct=E2=
=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:695: error: field =E2=80=98_servent_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:710: error: field =E2=80=98_spent_struct=E2=
=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:721: error: field =E2=80=98_gmtime_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:724: error: field =E2=80=98_localtime_struc=
t=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:771: error: field =E2=80=98_random_struct=
=E2=80=99 has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:772: error: expected specifier-qualifier-li=
st before =E2=80=98int32_t=E2=80=99
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 be=
fore =E2=80=98ssize_t=E2=80=99
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-lis=
t before =E2=80=98sigjmp_buf=E2=80=99
In file included from Stash.xs:40:
/usr/lib/perl/5.8/CORE/perl.h:2931: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98getuid=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2932: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98geteuid=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2933: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98getgid=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:2934: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98getegid=E2=80=99
In file included from Stash.xs:40:
/usr/lib/perl/5.8/CORE/perl.h:3238:22: error: math.h: No such file or direc=
tory
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 =E2=80=98Tstatbuf=E2=80=
=99 has incomplete type
/usr/lib/perl/5.8/CORE/thrdvar.h:86: error: field =E2=80=98Tstatcache=E2=80=
=99 has incomplete type
/usr/lib/perl/5.8/CORE/thrdvar.h:91: error: field =E2=80=98Ttimesbuf=E2=80=
=99 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-l=
ist before =E2=80=98time_t=E2=80=99
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 =E2=80=98...=E2=80=99 before =E2=80=98mode_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:128: error: expected declaration specifiers =
or =E2=80=98...=E2=80=99 before =E2=80=98uid_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:297: error: expected declaration specifiers =
or =E2=80=98...=E2=80=99 before =E2=80=98off64_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:299: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_do_sysseek=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:300: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_do_tell=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:411: error: expected declaration specifiers =
or =E2=80=98...=E2=80=99 before =E2=80=98gid_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:411: error: expected declaration specifiers =
or =E2=80=98...=E2=80=99 before =E2=80=98uid_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:736: error: expected =E2=80=98=3D=E2=80=99, =
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_my_fork=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:1020: error: expected declaration specifiers=
or =E2=80=98...=E2=80=99 before =E2=80=98pid_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:1300: error: expected declaration specifiers=
or =E2=80=98...=E2=80=99 before =E2=80=98pid_t=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:1456: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/proto.h:2001: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_PerlIO_read=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:2002: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_PerlIO_write=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:2003: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_PerlIO_unread=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:2004: error: expected =E2=80=98=3D=E2=80=99,=
=E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98Perl_PerlIO_tell=E2=80=99
/usr/lib/perl/5.8/CORE/proto.h:2005: error: expected declaration specifiers=
or =E2=80=98...=E2=80=99 before =E2=80=98off64_t=E2=80=99
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 =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98PL_thr_key=E2=80=99
/usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98PL_op_mutex=E2=80=99
/usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98PL_dollarzero_mutex=E2=80=99
/usr/lib/perl/5.8/CORE/perl.h:4485:24: error: sys/ipc.h: No such file or di=
rectory
/usr/lib/perl/5.8/CORE/perl.h:4486:24: error: sys/sem.h: No such file or di=
rectory
/usr/lib/perl/5.8/CORE/perl.h:4611:24: error: sys/file.h: No such file or d=
irectory
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 p=
revious 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 =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/intrpvar.h:237: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=
=80=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/intrpvar.h:238: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=
=80=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/intrpvar.h:239: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=
=80=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/intrpvar.h:240: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=
=80=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 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 =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
/usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected =E2=80=98=3D=E2=80=99=
, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=
=98__attribute__=E2=80=99 before =E2=80=98*=E2=80=99 token
Stash.xs: In function =E2=80=98dotop=E2=80=99:
Stash.xs:349: warning: incompatible implicit declaration of built-in functi=
on =E2=80=98snprintf=E2=80=99
Stash.xs:352: warning: incompatible implicit declaration of built-in functi=
on =E2=80=98strstr=E2=80=99
Stash.xs: In function =E2=80=98assign=E2=80=99:
Stash.xs:527: warning: incompatible implicit declaration of built-in functi=
on =E2=80=98printf=E2=80=99
Stash.xs: In function =E2=80=98find_perl_op=E2=80=99:
Stash.xs:897: warning: incompatible implicit declaration of built-in functi=
on =E2=80=98strlen=E2=80=99
Stash.xs: In function =E2=80=98XS_Template__Stash__XS_cvsid=E2=80=99:
Stash.xs:1225: warning: incompatible implicit declaration of built-in funct=
ion =E2=80=98strlen=E2=80=99
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