Subject: | cannot install: error building lib/HTML/Gumbo.o from 'lib/HTML/Gumbo.c' |
Cannot install HTML::Gumbo due to a build error.
Complete build output is attached in cpanm-HTML-Gumbo.log. I note that
the "cc" line doesn't explicitly provide a means to locate the various
.so files provided by Alien::LibGumbo, but I don't know whether this is
relevant to the failure.
Complete build/install output of Alien::LibGumbo (which appears to have
been successful) is attached in cpanm-Alien-LibGumbo.log.
Output of "perl -V" (Perl v5.18.2) is attached in perl--V.log.
I've substituted "$HOME" and "$PERLBREW_ROOT" for the complete paths in
the attached files.
Subject: | cpanm-Alien-LibGumbo.log |
Message body is not shown because it is too large.
Subject: | cpanm-HTML-Gumbo.log |
cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for x86_64-linux-thread-multi
Work directory is $HOME/.cpanm/work/1405576235.23130
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching HTML::Gumbo on cpanmetadb ...
Unpacking HTML-Gumbo-0.12.tar.gz
--> Working on HTML::Gumbo
Fetching http://www.cpan.org/authors/id/R/RU/RUZ/HTML-Gumbo-0.12.tar.gz ... OK
HTML-Gumbo-0.12
HTML-Gumbo-0.12/Build.PL
HTML-Gumbo-0.12/MANIFEST
HTML-Gumbo-0.12/META.json
HTML-Gumbo-0.12/META.yml
HTML-Gumbo-0.12/lib
HTML-Gumbo-0.12/lib/HTML
HTML-Gumbo-0.12/lib/HTML/Gumbo.pm
HTML-Gumbo-0.12/lib/HTML/Gumbo.xs
HTML-Gumbo-0.12/t
HTML-Gumbo-0.12/t/callback.t
HTML-Gumbo-0.12/t/string.t
HTML-Gumbo-0.12/t/tree.t
Entering HTML-Gumbo-0.12
Checking configure dependencies from META.json
Checking if you have Module::Build 0.40 ... Yes (0.4205)
Checking if you have Alien::LibGumbo 0 ... Yes (0.02)
Checking if you have Module::Build 0.36 ... Yes (0.4205)
Running Build.PL
Configuring HTML-Gumbo-0.12 ... Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'HTML-Gumbo' version '0.12'
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280210)
Checking if you have Alien::LibGumbo 0 ... Yes (0.02)
OK
Building and testing HTML-Gumbo-0.12 ... Building HTML-Gumbo
cc -I$PERLBREW_ROOT/perls/perl-5.18.2/lib/5.18.2/x86_64-linux-thread-multi/CORE -DXS_VERSION="0.12" -DVERSION="0.12" -fPIC -I$PERLBREW_ROOT/perls/perl-5.18.2/lib/site_perl/5.18.2/auto/share/dist/Alien-LibGumbo/include -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/HTML/Gumbo.o lib/HTML/Gumbo.c
lib/HTML/Gumbo.xs: In function âtree_to_treeâ:
lib/HTML/Gumbo.xs:366: warning: passing argument 1 of âpush_text_elementâ from incompatible pointer type
lib/HTML/Gumbo.xs:314: note: expected âstruct PerlInterpreter *â but argument is of type âstruct SV *â
lib/HTML/Gumbo.xs:366: warning: passing argument 2 of âpush_text_elementâ from incompatible pointer type
lib/HTML/Gumbo.xs:314: note: expected âstruct SV *â but argument is of type âconst char *â
lib/HTML/Gumbo.xs:366: error: too few arguments to function âpush_text_elementâ
error building lib/HTML/Gumbo.o from 'lib/HTML/Gumbo.c' at $PERLBREW_ROOT/perls/perl-5.18.2/lib/5.18.2/ExtUtils/CBuilder/Base.pm line 177.
! Installing HTML::Gumbo failed. See $HOME/.cpanm/work/1405576235.23130/build.log for details. Retry with --force to force install it.
FAIL
Subject: | perl--V.log |
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.32.45-grsec-2.2.2-r3, archname=x86_64-linux-thread-multi
uname='linux southampton 2.6.32.45-grsec-2.2.2-r3 #8 smp mon oct 10 13:33:17 pdt 2011 x86_64 gnulinux '
config_args='-de -Dprefix=$PERLBREW_ROOT/perls/perl-5.18.2 -Dusethreads -Aeval:scriptdir=$PERLBREW_ROOT/perls/perl-5.18.2/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.5', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.11.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Apr 5 2014 06:43:47
%ENV:
PERLBREW_BASHRC_VERSION="0.67"
PERLBREW_HOME="$HOME/.perlbrew"
PERLBREW_MANPATH="$PERLBREW_ROOT/perls/perl-5.18.2/man"
PERLBREW_PATH="$PERLBREW_ROOT/bin:$PERLBREW_ROOT/perls/perl-5.18.2/bin"
PERLBREW_PERL="perl-5.18.2"
PERLBREW_ROOT="$PERLBREW_ROOT"
PERLBREW_VERSION="0.67"
@INC:
$PERLBREW_ROOT/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux-thread-multi
$PERLBREW_ROOT/perls/perl-5.18.2/lib/site_perl/5.18.2
$PERLBREW_ROOT/perls/perl-5.18.2/lib/5.18.2/x86_64-linux-thread-multi
$PERLBREW_ROOT/perls/perl-5.18.2/lib/5.18.2
.