LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-27-2008, 08:18 PM   #1
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
Exclamation APR Installs over Expat!


So, I download the latest version of HAL and try to compile it.
I come across the error:
Code:
create_cache.c:487: error: 'XML_ERROR_ABORTED' undeclared (first use in this function)
After looking into the problem, I discovered that I had installed expat-2.0.1, but the include/expat.h file was of version 1.95.2.

Well, this was pretty interesting because I installed everything on my system from scratch myself.
Which means one of the packages separate from expat is installing its own version over the system version!

So, onto time stamps!
Looking around at time stamps, the only packages that had identical time-stamps to the offensive expat.h's time-stamp were apr, apr-util, and neon.

I first looked for expat.h in each of their archives and did not find anything.
However, if one of these was installing expat.h, then the contents of the expat.h file should also be _somewhere_ in the source.
A quick grep for EXPAT_MAJOR_VERSION revealed that apr had its own version of expat nicely hidden under guise of: include/arch/netware/apr_arch_pre_nw.h

I haven't bothered to test the other files given that I found the offensive expat.h in the Apache Portable Runtime!

I currently have apr version 1.2.8, but still found the apr_arch_pre_nw.h file in 1.3.0 as well.

This brings into question what else APR might be installing over.
 
  


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
Expat XML Parser not working itsmilesdavis Linux - Software 6 11-18-2007 12:17 PM
upgrade expat from version 1.95.6 to latest one goldeneyes Linux - Software 1 07-28-2007 11:46 AM
libxml or Expat slzckboy Programming 0 12-25-2005 06:29 PM
expat!!! hhegab Linux - Software 6 07-20-2003 08:46 AM
php? expat? apache? tisource Linux - Software 3 04-20-2003 01:38 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration