LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11: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, 11:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 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 11:33 AM.
 
Old 07-12-2011, 11: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, 12:02 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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, 01: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, 01:58 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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, 23 views)

Last edited by knudfl; 07-12-2011 at 06:38 PM.
 
Old 07-12-2011, 02:12 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:24 AM
shell xml parser macushk Linux - Newbie 6 05-03-2008 11:52 AM
XML Parser... Prada Linux - Software 2 04-17-2007 12:26 PM
errors building xerces xml parser on SLES 9 (i586) nkshirsagar SUSE / openSUSE 0 05-02-2005 09:12 AM
XML Parser bulkman Linux - Software 6 04-29-2005 08:01 AM


All times are GMT -5. The time now is 10:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration