Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I build the Perl extension XML::Sablotron?
    primarykey
    data
    text
    <p>I am getting errors when trying to install <a href="http://search.cpan.org/perldoc/XML%3a%3aSablotron" rel="nofollow">XML::Sablotron</a>. What do I need to do to successfully build this module?</p> <h3><code>perl -V</code></h3> <pre>Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=cygwin, osvers=1.7.15(0.26053), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.1 winxp 1.7.15(0.26053) 2012-05-09 10:25 i686 cygwin ' config_args='-de -Dlibperl=cygperl5_14.dll -Dcc=gcc-4 -Dld=g++-4 -Darchname= i686-cygwin-threads-64int -Dmksymlinks -Dusethreads -Accflags=-g' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-stric t-aliasing -pipe -fstack-protector', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing - pipe -fstack-protector' ccversion='', gccversion='4.5.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee ksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++-4', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl ,--enable-auto-image-base -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_14.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export- all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: Bug#55162 File::Spec::case_tolerant performance CYG07 $vendorarch/auto/.rebase CYG15 static Win32CORE CYG17 cyg-1.7 paths-utf8 0c612ce82 Fix building static extensions on cygwin, -UUSEIMPORTLIB 1bac5ecc1 Fix 64-bit threading sv.c: S_anonymise_cv_maybe Cygwin::sync_winenv added Built under cygwin Compiled at Jul 12 2012 14:17:21 @INC: /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8</pre> <p>The Cygwin version is 2.774. there is the problem with <a href="http://sourceforge.net/mailarchive/message.php?msg_id=30388786" rel="nofollow">pango library</a> but i think it is not a problem of the following</p> <p>The errors I get when I try to build <code>XML::Sablotron</code> (after <code>perl makeFile.PL</code>):</p> <pre>make[1]: Entering directory `/usr/src/XML-Sablotron-1.01/DOM' make[1]: Leaving directory `/usr/src/XML-Sablotron-1.01/DOM' make[1]: Entering directory `/usr/src/XML-Sablotron-1.01/Situation' make[1]: Leaving directory `/usr/src/XML-Sablotron-1.01/Situation' make[1]: Entering directory `/usr/src/XML-Sablotron-1.01/SXP' make[1]: Leaving directory `/usr/src/XML-Sablotron-1.01/SXP' make[1]: Entering directory `/usr/src/XML-Sablotron-1.01/Processor' make[1]: Leaving directory `/usr/src/XML-Sablotron-1.01/Processor' gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe - fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE" -DPERL_POLLUTE Sablotron.c In file included from Sablotron.xs:88:0: DOM/DOM.h: In Funktion »__createNodeOld«: DOM/DOM.h:90:17: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite In file included from Sablotron.xs:88:0: DOM/DOM.h: In Funktion »__checkNodeInstanceData«: DOM/DOM.h:120:22: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite DOM/DOM.h: In Funktion »__createNodeNew«: DOM/DOM.h:153:5: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite In file included from Sablotron.xs:89:0: Processor/Processor.h: In Funktion »MessageHandlerMakeCodeStub«: Processor/Processor.h:122:7: Fehler: »sv_undef« undeclared (first use in this function) Processor/Processor.h:122:7: Anmerkung: each undeclared identifier is reported only once for each function it appears in Processor/Processor.h: In Funktion »MessageHandlerLogStub«: ... In file included from Sablotron.xs:91:0: Situation/Situation.h: In Funktion »_SV2SXP_Node«: Situation/Situation.h:113:19: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite ./DOM/DOM.xsh: In Funktion »XS_XML__Sablotron__DOM_parse«: ./DOM/DOM.xsh:53:30: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite .... (the same error for Processor/Processor.xsh and Situation/Situation.xsh)</pre> <p>Surely the best way is to use not the Sablotron. But because of time, I would prefer not to change everything.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload