Re: Problems with XML-LibXML-1.66 installation (Fwd)

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OF9E4775EF.6D6BE148-ON8025747F.002D85C4-8025747F.002EE892@nominet.org.uk>
Petr,

[email protected] wrote on 06/07/2008 08:35:33:

> Petr Pajas <[email protected]>
> Sent by: [email protected]
>
> 06/07/08 08:35
>
> To
>
> [email protected]
>
> cc
>
> Subject
>
> Re: Problems with XML-LibXML-1.66 installation (Fwd)
>
> Forwarding to the list...
>
> ----------  Předaná zpráva  ----------
>
> On Sunday 06 July 2008, [email protected] wrote:
> > Petr,
> >        I am currently having some problems with installing the Perl
Module
> > you maintain XML-LibXML I have already asked the question on the
relevant
> > mailing list and although I couple of guys have tried to help I still
have
> > the same problem. Somebody recommended that I e-mail you with my issue
> > directly. I hope you can help:
>
> Brett,
> Sorry for not replying sooner, I have been on holidays. Try running

No worries glad you replied and hope you enjoyed your holidays.

>
>   perl Makefile.PL DEBUG=1
>

Please find a file attachment 'outfile' this shows the output from this
debug command


> maybe that will provide more info about what's going on. Can you ls -l
> also /opt/libxml2/include

This just contains another dir (libxml2) which in turn contains another dir
(libxml)
so in other words we have a path /opt/libxml2/include/libxml2/libxml/ which
contains the .h files
do you need me to list them all or is that sufficient


>and /opt/libxm2/lib?


/opt/libxml2/lib contains:

-r-xr-xr-x   1 root     bin      5097164 Sep 12  2006 libxml2.a
-r-xr-xr-x   1 root     bin          830 Sep 12  2006 libxml2.la
lrwxrwxrwx   1 root     other         17 Jul  3 12:52 libxml2.so ->
libxml2.so.2.6.26
lrwxrwxrwx   1 root     other         17 Jul  3 12:52 libxml2.so.2 ->
libxml2.so.2.6.26
-r-xr-xr-x   1 root     bin      3458724 Sep 12  2006 libxml2.so.2.6.26
dr-xr-xr-x   2 root     bin          512 Jul  3 12:52 pkgconfig
-r-xr-xr-x   1 root     bin          255 Sep 12  2006 xml2Conf.sh


> Do you
> have /opt/libxml2/bin/xml2-config? What does it say if you run it
> with /opt/libxml2/bin/xml2-config --cflags --libs?
>

This returns

-I/opt/libxml2/include/libxml2
-L/opt/libxml2/lib -R/opt/libxml2/lib -lxml2 -lpthread -lm -lsocket -lnsl

So I have tried to run

perl Makefile.PL LIBS='-L/opt/libxml2/lib -R/opt/libxml2/lib -lxml2
-lpthread -lm -lsocket -lnsl' INC='-I/opt/libxml2/include/libxml2'

however this still returns

enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
  http://xmlsoft.org/

Brett

(See attached file: outfile.txt)


> -- Petr
>
>
> >
> > I am trying to install the perl module XML-LibXML-1.66 under Solaris
> > 8/Sparc and am having a problem.
> > We have libxml2 installed under /opt/libxml2
> >
> > ls -l /opt/libxml2/
> > total 10
> > dr-xr-xr-x   2 root     bin          512 Jul  3 12:52 bin
> > drwxr-xr-x   3 root     bin          512 Jul  3 12:58 include
> > dr-xr-xr-x   3 root     bin          512 Jul  3 12:52 lib
> > dr-xr-xr-x   4 root     bin          512 Jul  3 12:52 man
> > dr-xr-xr-x   5 root     bin          512 Jul  3 12:52 share
> >
> > When i try and make the module I get an error:
> >
> > perl Makefile.PL
> > enable native perl UTF8
> > running xml2-config...
> > using fallback values for LIBS and INC
> > options:
> >   LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
> >   INC='-I/usr/local/include -I/usr/include'
> > If this is wrong, Re-run as:
> >   $ perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
> >
> > looking for -lxml2... no
> > looking for -llibxml2... no
> > libxml2 not found
> > Try setting LIBS and INC values on the command line
> >
> > As per the readme I have tried running:
> >
> > perl Makefile.PL XMLPREFIX=/opt/libxml2
> > and also:
> > perl Makefile.PL LIBS='-L/opt/libxml2/lib' INC='-I/opt/libxml2/include
> > both of which return the same error:
> > Running /opt/libxml2/bin/xmllint --version
> > returns
> > /opt/libxml2/bin/xmllint: using libxml version 20626
> >
> > Any help really appreciated I am beginning to lose hair over this :)
> >
> > Brett
>
>
>
> -------------------------------------------------------
> _______________________________________________
> Perl-XML mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
outfile.txt (text/plain, 25.6 KB)
enable native perl UTF8
running xml2-config...xml2-config --version

using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxml2... perl Makefile.PL 'INC=-I/usr/local/include -I/usr/include' 'LIBS=-L/usr/local/lib -L/usr/lib -lxml2 -lm' 'DEFINE= -DHAVE_UTF8'
INC = -I/usr/local/include -I/usr/include
LIBS = -L/usr/local/lib -L/usr/lib -lxml2 -lm
DEFINE =  -DHAVE_UTF8
Note (probably harmless): No library found for -lxml2
Writing Makefile for Conftest
make test 'OTHERLDFLAGS='
cp Conftest.pm blib/lib/Conftest.pm
/usr/local/bin/perl /opt/perl/lib/5.8.4/ExtUtils/xsubpp  -typemap /opt/perl/lib/5.8.4/ExtUtils/typemap  Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c
gcc -c  -I/usr/local/include -I/usr/include  -fno-strict-aliasing -I/opt/db/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3    -DVERSION=\"1\"  -DXS_VERSION=\"1\" -fPIC "-I/opt/perl/lib/5.8.4/sun4-solaris/CORE"  -DHAVE_UTF8 Conftest.c
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:380,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:28:26: sys/isa_defs.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:29:31: sys/feature_tests.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:34:27: sys/machtypes.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:46:27: sys/int_types.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:380,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:211: error: parse error before "pad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:212: error: parse error before "upad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:372: error: parse error before "uint16_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:374: error: parse error before "__pthread_mutex_ceiling"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:375: error: parse error before "__pthread_mutex_type"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:376: error: parse error before "__pthread_mutex_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:380: error: parse error before "uint8_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:383: error: parse error before "uint32_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:386: error: parse error before "__pthread_mutex_owner64"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:388: error: parse error before "__pthread_mutex_data"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:393: error: parse error before "uint8_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:395: error: parse error before "__pthread_cond_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:397: error: parse error before "__pthread_cond_data"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:404: error: parse error before "int32_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:406: error: parse error before "__pthread_rwlock_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:407: error: parse error before "__pthread_rwlock_pad1"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:408: error: parse error before "__pthread_rwlock_pad2"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:409: error: parse error before "__pthread_rwlock_pad3"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:410: error: parse error before '}' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:437: error: parse error before "upad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:574:24: sys/select.h: No such file or directory
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:411:19: ctype.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:423:23: locale.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:440:20: setjmp.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:446:26: sys/param.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:451:23: stdlib.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:456:23: unistd.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:488:23: string.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:637:27: netinet/in.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:641:26: arpa/inet.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:651:25: sys/stat.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:680:25: sys/time.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:687:27: sys/times.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:694:19: errno.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:709:25: sys/socket.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:736:21: netdb.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:838:24: sys/ioctl.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:867:23: dirent.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:906:22: sys/mode.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/limits.h:11,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1196,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/syslimits.h:29:28: iso/limits_iso.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/syslimits.h:41:28: sys/int_limits.h: No such file or directory
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1274:23: ieeefp.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1806,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/handy.h:121:25: inttypes.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1970,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/unixish.h:106:21: signal.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:65,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:36:27: iso/stdio_iso.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:65,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:194: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:229: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:230: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:250: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:252: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:276: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:285: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:286: error: parse error before "FILE"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:287: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:295: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:296: error: parse error before '*' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:253: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:256: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:256: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:259: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:259: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:262: error: parse error before "FILE"
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2338,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: error: parse error before "DIR"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:390: error: parse error before '}' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:390: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:404: error: parse error before '}' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2350,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:221: error: parse error before "sigjmp_buf"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:221: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:228: error: parse error before '}' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:25:26: iso/math_iso.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:248,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:25:24: sys/ieeefp.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:248,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:98: error: field `fpclass' has incomplete type
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:121: error: field `rd' has incomplete type
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:3557,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:90: warning: "struct stat" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:90: warning: its scope is only this definition or declaration, which is probably not what you want
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:199: error: parse error before "off64_t"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: error: parse error before "Perl_do_sysseek"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: error: parse error before "off64_t"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:202: error: parse error before "Perl_do_tell"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:202: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:288: warning: "struct tm" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:441: warning: "struct tm" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1308: error: parse error before "Perl_PerlIO_tell"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1308: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1309: error: parse error before "off64_t"
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4112:24: sys/ipc.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4113:24: sys/sem.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4222:21: fcntl.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `Conftest.o'
system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 426.
no
looking for -llibxml2... perl Makefile.PL 'INC=-I/usr/local/include -I/usr/include' 'LIBS=-L/usr/local/lib -L/usr/lib -lxml2 -lm' 'DEFINE= -DHAVE_UTF8'
INC = -I/usr/local/include -I/usr/include
LIBS = -L/usr/local/lib -L/usr/lib -lxml2 -lm
DEFINE =  -DHAVE_UTF8
Note (probably harmless): No library found for -lxml2
Writing Makefile for Conftest
make test 'OTHERLDFLAGS='
cp Conftest.pm blib/lib/Conftest.pm
/usr/local/bin/perl /opt/perl/lib/5.8.4/ExtUtils/xsubpp  -typemap /opt/perl/lib/5.8.4/ExtUtils/typemap  Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c
gcc -c  -I/usr/local/include -I/usr/include  -fno-strict-aliasing -I/opt/db/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3    -DVERSION=\"1\"  -DXS_VERSION=\"1\" -fPIC "-I/opt/perl/lib/5.8.4/sun4-solaris/CORE"  -DHAVE_UTF8 Conftest.c
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:380,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:28:26: sys/isa_defs.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:29:31: sys/feature_tests.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:34:27: sys/machtypes.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:46:27: sys/int_types.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:380,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:211: error: parse error before "pad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:212: error: parse error before "upad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:372: error: parse error before "uint16_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:374: error: parse error before "__pthread_mutex_ceiling"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:375: error: parse error before "__pthread_mutex_type"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:376: error: parse error before "__pthread_mutex_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:380: error: parse error before "uint8_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:383: error: parse error before "uint32_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:386: error: parse error before "__pthread_mutex_owner64"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:388: error: parse error before "__pthread_mutex_data"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:393: error: parse error before "uint8_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:395: error: parse error before "__pthread_cond_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:397: error: parse error before "__pthread_cond_data"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:404: error: parse error before "int32_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:406: error: parse error before "__pthread_rwlock_magic"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:407: error: parse error before "__pthread_rwlock_pad1"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:408: error: parse error before "__pthread_rwlock_pad2"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:409: error: parse error before "__pthread_rwlock_pad3"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:410: error: parse error before '}' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:437: error: parse error before "upad64_t"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:574:24: sys/select.h: No such file or directory
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:411:19: ctype.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:423:23: locale.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:440:20: setjmp.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:446:26: sys/param.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:451:23: stdlib.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:456:23: unistd.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:488:23: string.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:637:27: netinet/in.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:641:26: arpa/inet.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:651:25: sys/stat.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:680:25: sys/time.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:687:27: sys/times.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:694:19: errno.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:709:25: sys/socket.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:736:21: netdb.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:838:24: sys/ioctl.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:867:23: dirent.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:906:22: sys/mode.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/limits.h:11,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1196,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/syslimits.h:29:28: iso/limits_iso.h: No such file or directory
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/syslimits.h:41:28: sys/int_limits.h: No such file or directory
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1274:23: ieeefp.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1806,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/handy.h:121:25: inttypes.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:1970,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/unixish.h:106:21: signal.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:65,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:36:27: iso/stdio_iso.h: No such file or directory
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:65,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:194: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:229: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:230: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:250: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:252: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:276: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:285: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:286: error: parse error before "FILE"
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:287: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:295: error: parse error before '*' token
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/stdio.h:296: error: parse error before '*' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/iperlsys.h:51,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2324,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:253: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:256: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:256: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:259: error: parse error before '*' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:259: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perlio.h:262: error: parse error before "FILE"
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2338,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: error: parse error before "DIR"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:388: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:390: error: parse error before '}' token
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:390: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/sv.h:404: error: parse error before '}' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2350,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:221: error: parse error before "sigjmp_buf"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:221: warning: no semicolon at end of struct or union
/opt/perl/lib/5.8.4/sun4-solaris/CORE/scope.h:228: error: parse error before '}' token
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:25:26: iso/math_iso.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:248,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:25:24: sys/ieeefp.h: No such file or directory
In file included from /opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/math.h:248,
                 from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:2838,
                 from Conftest.xs:5:
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:98: error: field `fpclass' has incomplete type
/opt/gcc/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/floatingpoint.h:121: error: field `rd' has incomplete type
In file included from /opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:3557,
                 from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:90: warning: "struct stat" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:90: warning: its scope is only this definition or declaration, which is probably not what you want
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:199: error: parse error before "off64_t"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: error: parse error before "Perl_do_sysseek"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: error: parse error before "off64_t"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:201: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:202: error: parse error before "Perl_do_tell"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:202: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:288: warning: "struct tm" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:441: warning: "struct tm" declared inside parameter list
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1308: error: parse error before "Perl_PerlIO_tell"
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1308: warning: data definition has no type or storage class
/opt/perl/lib/5.8.4/sun4-solaris/CORE/proto.h:1309: error: parse error before "off64_t"
In file included from Conftest.xs:5:
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4112:24: sys/ipc.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4113:24: sys/sem.h: No such file or directory
/opt/perl/lib/5.8.4/sun4-solaris/CORE/perl.h:4222:21: fcntl.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `Conftest.o'
system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 426.
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from 
  http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
no
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.