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

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OF848BFBFB.443BD599-ON8025747F.0033FE3D-8025747F.0034C8A4@nominet.org.uk>

Petr Pajas <[email protected]> wrote on 07/07/2008 10:07:02:

> Petr Pajas <[email protected]>
> 07/07/08 10:07
>
> To
>
> [email protected]
>
> cc
>
> [email protected]
>
> Subject
>
> Re: Problems with XML-LibXML-1.66 installation (Fwd)
>
> On po 7. července 2008, Petr Pajas wrote:
> > > On Sunday 06 July 2008, [email protected] wrote:
> > > Petr,
> >
> >   ...
> >
> > > > 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
> >
> >  ...
> >
> > Brett,
> >
> > sorry, I meant output from this:
> >
> > perl Makefile.PL DEBUG=1 XMLPREFIX=/opt/libxml2
> >
> > and maybe also from this (should be similar):
> >
> > export PATH=/opt/libxml2/bin:$PATH
> > perl Makefile.PL DEBUG=1
> >
> > -- Petr
>
> Anyway - I guess that the outputs I'm asking for above will similar
> to the one you have already sent. These lines from the outfile look
> very suspicious to me and seem completely unrelated to libxml2:
>
> 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:
>
>
> Your sys/types.h seems to attempt to include a file sys/isa_defs.h
> that does not exist. Try to investigate that.
>
> Makefile.PL fails to build its test program used to detect if the
> libxml2 settings are correct. Without examining the reason of the
> failure it reports it didn't find a usable version of libxml2,
> whereas in fact the libxml2 setup may be fine.

Ok thanks for the pointer it seems there is something very broken with GCC
on this machine, which atcually doesn't surprise me thinking about it. I
have another Sol 8 machine which has libxml2 installed in the same place
and on that machine I have completed 'perl Makefile.pl' 'make' and 'make
test' with no errors, I have not done the final 'make install' is it now an
option for me to copy these files over to the real machine and run the
'make install' there. Also before the install is run where do the files
which will be installed reside, I'd like to try and create a solaris
package from them if that is possible. Apologies if some of these questions
sound a little dumb, I don't really have that much perl module experience.

Thanks

Brett

>
> -- Petr

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
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.