LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SLES 11.0 - No XML parser found when installing Neon (https://www.linuxquestions.org/questions/linux-newbie-8/sles-11-0-no-xml-parser-found-when-installing-neon-891307/)

slast 07-12-2011 10:21 AM

SLES 11.0 - No XML parser found when installing Neon
 
I'm trying to install neon so that I can install SVN in order to try to install a Web Page Replay server.

When I run the command:

./configure --prefix=/research/tools/neon

I get the following error:

configure: error: no XML parser was found: expat or libxml 2.x required

I was able to install apr and apr-util and believe it also requires an XML parser so perhaps this is just an issue of pointing neon to the XML parser?

Any ideas?

Thanks,
Steve

knudfl 07-12-2011 10:32 AM

# zypper in libxml2-devel expat

Or use Yast / the 'Package Installer' to install libxml2-devel and expat.



..

slast 07-12-2011 10:40 AM

libxml2 and expat are installed according to Yast. However, I do not see libxml2-devel as an available package to install.

How can I determine where libxml2 and expat are installed?

knudfl 07-12-2011 11:02 AM

rpm -ql expat : The reply is /usr/bin/xmlwf

rpm -ql libxml2 : /usr/bin/ xmlcatalog : xmllint

rpm -ql libxml2-devel : /usr/bin/xml-config , etc. etc.

The above is from Suse 11.2 OSS.

More questions ?
Then please provide a file name for the "neon" in question.
And a link for downloading "neon".

..

slast 07-12-2011 12:01 PM

rpm -ql expat: /usr/bin/xmlwf

rpm -ql libxml2: /usr/bin/xmlcatalog : xmllint

rpm -ql libxml2-devel: package libxml2-devel is not installed.

The version of neon I am using is:
neon-0.29.6

found here:
http://webdav.org/neon/

It seems that the neon install package cannot locate expat or libxml2. Is this a path setting?

knudfl 07-12-2011 12:58 PM

1 Attachment(s)
I guess you have an unsupported SLES 11.
And you don't have a complete libxml2.
I.e. Neon is not asking for for the run-time files, but for the development files.

It is still possible to install libxml2-devel from the openSUSE-11.0-Updates.repo.
( I have an old unsupported Suse 11 SLED.)
Just add the file to /etc/zypp/repos.d/

..

knudfl 07-12-2011 01:12 PM

cd neon-0.29.6/ && configure --enable-shared :
Code:

.
.
.
configure: Configured to build neon 0.29.6:

  Install prefix:  /usr/local
  Compiler:        gcc
  XML Parser:      libxml 2.6.32
  SSL library:    SSL support is not enabled
  zlib support:    zlib support enabled, using -lz
  Build libraries: Shared=yes, Static=yes

Please use the command './configure --help' to read : If you want to use expat,
this is required : configure --enable-shared --with-expat

( --with-expat : force use of expat )

..


All times are GMT -5. The time now is 07:37 PM.