Skip to content

Instantly share code, notes, and snippets.

@fujiwara
Created June 9, 2010 12:22
Show Gist options
  • Save fujiwara/431394 to your computer and use it in GitHub Desktop.
Save fujiwara/431394 to your computer and use it in GitHub Desktop.
[fujiwara@hostname]$ /usr/local/perl-5.8.3/bin/perl Makefile.PL
Writing ppport.h
Writing Makefile for Text::Xslate
[fujiwara@hostname]$ make
cp lib/Text/Xslate/PP/EscapedString.pm blib/lib/Text/Xslate/PP/EscapedString.pm
cp lib/Text/Xslate/PP/Const.pm blib/lib/Text/Xslate/PP/Const.pm
cp lib/Text/Xslate/PP/Booster.pm blib/lib/Text/Xslate/PP/Booster.pm
cp lib/Text/Xslate/PP/Type/Hash.pm blib/lib/Text/Xslate/PP/Type/Hash.pm
cp lib/Text/Xslate.pm blib/lib/Text/Xslate.pm
cp lib/Text/Xslate/EscapedString.pm blib/lib/Text/Xslate/EscapedString.pm
cp lib/Text/Xslate/Bridge.pm blib/lib/Text/Xslate/Bridge.pm
cp lib/Text/Xslate/Syntax/Kolon.pm blib/lib/Text/Xslate/Syntax/Kolon.pm
cp lib/Text/Xslate/Syntax/TTerse.pm blib/lib/Text/Xslate/Syntax/TTerse.pm
cp lib/Text/Xslate/Syntax/Metakolon.pm blib/lib/Text/Xslate/Syntax/Metakolon.pm
cp lib/Text/Xslate/PP.pm blib/lib/Text/Xslate/PP.pm
cp lib/Text/Xslate/Parser.pm blib/lib/Text/Xslate/Parser.pm
cp lib/Text/Xslate/Util.pm blib/lib/Text/Xslate/Util.pm
cp lib/Text/Xslate/Symbol.pm blib/lib/Text/Xslate/Symbol.pm
cp lib/Text/Xslate/PP/Method.pm blib/lib/Text/Xslate/PP/Method.pm
cp lib/Text/Xslate/PP/State.pm blib/lib/Text/Xslate/PP/State.pm
cp lib/Text/Xslate/PP/Macro.pm blib/lib/Text/Xslate/PP/Macro.pm
cp lib/Text/Xslate/PP/Type/Array.pm blib/lib/Text/Xslate/PP/Type/Array.pm
cp lib/Text/Xslate/Compiler.pm blib/lib/Text/Xslate/Compiler.pm
cp lib/Text/Xslate/PP/Type/Pair.pm blib/lib/Text/Xslate/PP/Type/Pair.pm
cp lib/Text/Xslate/PP/Opcode.pm blib/lib/Text/Xslate/PP/Opcode.pm
/usr/local/perl-5.8.3/bin/perl "-Iinc" /usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/xsubpp -typemap /usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/typemap xs/xslate_methods.xs > xs/xslate_methods.xsc && mv xs/xslate_methods.xsc xs/xslate_methods.c
Please specify prototyping behavior for xslate_methods.xs (see perlxs manual)
/usr/bin/gcc-3.2 -c "-I." "-I." -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O3 -DVERSION=\"0.1030\" -DXS_VERSION=\"0.1030\" -o xs/xslate_methods.o -fpic "-I/usr/local/perl-5.8.3/lib/5.8.3/i686-linux/CORE" -DUSE_PPPORT xs/xslate_methods.c
xslate_methods.c: In function `boot_Text__Xslate__Methods':
xslate_methods.c:385: warning: unused parameter `cv'
/usr/local/perl-5.8.3/bin/perl "-Iinc" /usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/xsubpp -typemap /usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/typemap xs/Text-Xslate.xs > xs/Text-Xslate.xsc && mv xs/Text-Xslate.xsc xs/Text-Xslate.c
/usr/bin/gcc-3.2 -c "-I." "-I." -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O3 -DVERSION=\"0.1030\" -DXS_VERSION=\"0.1030\" -o xs/Text-Xslate.o -fpic "-I/usr/local/perl-5.8.3/lib/5.8.3/i686-linux/CORE" -DUSE_PPPORT xs/Text-Xslate.c
Text-Xslate.c: In function `XS_Text__Xslate__Engine__assemble':
Text-Xslate.c:1342: warning: unused parameter `cv'
Text-Xslate.c: In function `XS_Text__Xslate__Util_escaped_string':
Text-Xslate.c:1745: warning: unused parameter `cv'
Text-Xslate.c: In function `XS_Text__Xslate__Util_html_escape':
Text-Xslate.c:1763: warning: unused parameter `cv'
Text-Xslate.c: In function `XS_Text__Xslate__EscapedString_new':
Text-Xslate.c:1781: warning: unused parameter `cv'
Text-Xslate.c: In function `XS_Text__Xslate__EscapedString_as_string':
Text-Xslate.c:1806: warning: unused parameter `cv'
Text-Xslate.c: In function `XS_Text__Xslate__EscapedString_nil':
Text-Xslate.c:1829: `ax' undeclared (first use in this function)
Text-Xslate.c:1829: (Each undeclared identifier is reported only once
Text-Xslate.c:1829: for each function it appears in.)
Text-Xslate.c: In function `boot_Text__Xslate':
Text-Xslate.c:1854: incompatible type for argument 2 of `Perl_sv_setsv_flags'
Text-Xslate.c: In function `XS_Text__Xslate__EscapedString_nil':
Text-Xslate.c:1827: warning: unused parameter `cv'
make: *** [xs/Text-Xslate.o] Error 1
[fujiwara@hostname]$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.18-17smp, archname=i686-linux
uname='linux hostname 2.4.18-17smp #1 smp fri feb 20 15:48:11 jst 2004 i686 unknown '
config_args='-de -Dprefix=/usr/local/perl-5.8.3 -Uinstallusrbinperl -Dcc=/usr/bin/gcc-3.2'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc-3.2', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.2', 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='/usr/bin/gcc-3.2', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Apr 6 2004 21:27:51
@INC:
/usr/local/perl-5.8.3/lib/5.8.3/i686-linux
/usr/local/perl-5.8.3/lib/5.8.3
/usr/local/perl-5.8.3/lib/site_perl/5.8.3/i686-linux
/usr/local/perl-5.8.3/lib/site_perl/5.8.3
/usr/local/perl-5.8.3/lib/site_perl
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment