RE: XML-LibXML-1.66 installation problems

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OF2FD7A8B3.33A7673E-ON8025747B.004ED614-8025747B.004F2475@nominet.org.uk>
Thomas,

"Browder Jr, Thomas M" <[email protected]> wrote on 03/07/2008
14:57:23:

> "Browder Jr, Thomas M" <[email protected]>
> 03/07/08 14:57
>
> To
>
> <[email protected]>
>
> cc
>
> <[email protected]>
>
> Subject
>
> RE: XML-LibXML-1.66 installation problems
>
> >-----Original Message-----
> >From: [email protected] [mailto:[email protected]]
> >Sent: Thursday, July 03, 2008 08:47
> >To: Browder Jr, Thomas M
> >Cc: [email protected]
> >Subject: RE: XML-LibXML-1.66 installation problems
> ...
> >Unfortunatley it seems I have no pkg-config installed on this
> >machine I'm afraid.
> >I can of course install it but this will require me making a
> >Solaris package for it which is going to take some time, is
> >this my only way forward.
>
> Can you install from source without the Solaris package thing?  How
> about a non-root user-install?
>
> I'm sure smarter people than I on this list may have other ideas, but
> I've had these kinds of issues before:  twiddling with pkg-config did
> the trick.
>
> The other option I believe will be to fiddle with the Perl installation
> of the Lib::XML package (which would not be my choice unless the
> pkg-config option cannot or will not work).
>

Ok so I have now done an install of pkg-config on the box in question, it
hasn't helped me much I'm afraid:

echo $PKG_CONFIG_PATH
/opt/libxml2/lib/pkgconfig


$ pkg-config-install/bin/pkg-config --cflags libxml-2.0
sh: gnome-config: not found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found

$ cat /opt/libxml2/lib/pkgconfig/libxml-2.0.pc
prefix=/opt/libxml2
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
modules=1

Name: libXML
Version: 2.6.26
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2 -lpthread   -lm -lsocket -lnsl
Cflags: -I${includedir}/libxml2


Any further pointers greatly appreciated.


Brett

_______________________________________________
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.