Posted on 2007-04-24 09:56:49-07 by nigelhorne
3.56 doesn't compile
CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.56.tar.gz Checking if your kit is complete... Looks good Writing Makefile for HTML::Parser cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm cp Parser.pm blib/lib/HTML/Parser.pm cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c /usr/bin/perl mkhctype >hctype.h /usr/bin/perl mkpfunc >pfunc.h gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"3.56\" -DXS_VERSION=\"3.56\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DMARKED_SECTION Parser.c Parser.xs: In function `dup_pstate': Parser.xs:290: `CLONEf_JOIN_IN' undeclared (first use in this function) Parser.xs:290: (Each undeclared identifier is reported only once Parser.xs:290: for each function it appears in.) make: *** [Parser.o] Error 1
Direct Responses: 5873 | Write a response
Posted on 2007-08-07 13:43:26-07 by actor in response to 4976
Re: 3.56 doesn't compile
I got the same issue here. Any solution on this?
Direct Responses: 5874 | Write a response
Posted on 2007-08-07 14:17:51-07 by actor in response to 5873
Re: 3.56 doesn't compile
seems a definitions is missing in 'sv.h' of perl 5.8.0. after adding the line: #define CLONEf_JOIN_IN 1 at thet end of the file, compilation went OK.
Direct Responses: 5877 | Write a response
Posted on 2007-08-07 19:24:28-07 by niss in response to 5874
Re: 3.56 doesn't compile
Had the same problem. Adding that line worked great.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.