#466 Linux Build missing expat.h ?

Platform Specific

bash-2.05b# /data/configs/dnsOne/API/perl/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
bash-2.05b# make
make[1]: Entering directory `/data/configs/dnsOne/API/dependancies/XML-Parser-2.36/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/data/configs/dnsOne/API/perl/bin/perl /data/configs/dnsOne/API/perl/lib/5.10.0/ExtUtils/xsubpp -noprototypes -typemap /data/configs/dnsOne/API/perl/lib/5.10.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fPIC "-I/data/configs/dnsOne/API/perl/lib/5.10.0/i686-linux/CORE" Expat.c
Expat.xs:12:19: expat.h: No such file or directory
Expat.xs:60: syntax error before "XML_Parser"
Expat.xs:60: warning: no semicolon at end of struct or union


  • Antony

    Antony - 2008-08-05

    Logged In: YES
    Originator: YES

    -bash-2.05b$ uname -a
    Linux somehost 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686 i686 i386 GNU/Linux
    -bash-2.05b$ cc -v
    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
    Thread model: posix
    gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-58)
    -bash-2.05b$ /data/configs/dnsOne/API/perl/bin/perl -v

    This is perl, v5.10.0 built for i686-linux

    Copyright 1987-2007, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.


  • Karl Waclawek

    Karl Waclawek - 2009-01-17

    This is the wrong place for the Perl bindings of Expat.

  • Karl Waclawek

    Karl Waclawek - 2009-01-17
    • status: open --> closed-rejected

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks