LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2011, 10:21 AM   #1
slast
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 0
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
 
Old 07-12-2011, 10:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# zypper in libxml2-devel expat

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



..

Last edited by knudfl; 07-12-2011 at 10:33 AM.
 
Old 07-12-2011, 10:40 AM   #3
slast
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 07-12-2011, 11:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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".

..
 
Old 07-12-2011, 12:01 PM   #5
slast
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 07-12-2011, 12:58 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/

..
Attached Files
File Type: txt openSUSE-11.0-Updates.repo.txt (176 Bytes, 43 views)

Last edited by knudfl; 07-12-2011 at 05:38 PM.
 
Old 07-12-2011, 01:12 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 )

..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
shell xml parser macushk Linux - Newbie 6 05-03-2008 10:52 AM
XML Parser... Prada Linux - Software 2 04-17-2007 11:26 AM
errors building xerces xml parser on SLES 9 (i586) nkshirsagar SUSE / openSUSE 0 05-02-2005 08:12 AM
XML Parser bulkman Linux - Software 6 04-29-2005 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration