compile problems with XML::LibXML

ron.reidy_at_gmail.com
Date: 12/23/04


Date: 22 Dec 2004 16:41:47 -0800

All,

I am trybing to install XML::LibXML v 1.58 and am getting the foloowing
compile problems:

perl-libxml-mm.c: In function `nodeC2Sv':
perl-libxml-mm.c:968: parse error before `*'
perl-libxml-mm.c:972: `decoded' undeclared (first use in this function)
perl-libxml-mm.c:972: (Each undeclared identifier is reported only once
perl-libxml-mm.c:972: for each function it appears in.)

I googled for this and found:

http://www.mail-archive.com/axkit-users@axkit.org/msg04973.html

But, the version cited in this post does not exist on CPAN (at least I
could not find it).

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.4.21-20.elsmp,
archname=i686-linux-thread-multi
uname='linux dbdev03bldr 2.4.21-20.elsmp #1 smp wed aug 18 20:46:40
edt 2004 i686 i686 i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3
2.96-128)', gccosandvers='linux7'
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', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Nov 23 2004 13:22:06
@INC:
/usr/local/lib/perl5/5.8.4/i686-linux-thread-multi
/usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl
.

Can anyone give me a clue about what is going on with this?
Thanks.

-- Ron Reidy



Relevant Pages

  • Compiling flphoto
    ... I am trying to compile flphoto 1.0 and have installed libfltk1.1-dev ... I do not get any error messages. ... Fl_CRW_Image.cxx:118: (Each undeclared identifier is reported only once ... Fl_CRW_Image.cxx:118: parse error before `[' ...
    (Debian-User)
  • Re: tclX memory fault
    ... compile fails miserably. ... checking for gcc... ... or: parse error before "daddr_t" ...
    (comp.lang.tcl)
  • compiling perl
    ... I'm trying to compile perl 5.8.8. ... but make eventually complains about a parse error. ... before "int" ... I can compile simpler programs fine; ...
    (comp.sys.sgi.admin)
  • Re: parse error before `struct
    ... > I have a C code in Unix ware. ... > But when I compile the code then one of me .h file is giving the ... You have a parse error before 'struct'. ... without seeing the header file? ...
    (comp.unix.solaris)
  • parse error before `struct
    ... I have a C code in Unix ware. ... But when I compile the code then one of me .h file is giving the ... x.h:18: parse error before `struct' ... dereferencing pointer to incomplete type ...
    (comp.unix.solaris)