Perhaps you could use the newest one on your system anyway:

When you run ./configure, give it the option to change the install
location so that it installs into a location inside your personal
directory tree (where you presumably do have permission to write).

If you need to run the binaries on other machines, you could statically
link libxml by using:

        -Wl,-Bstatic -L/path/to/the/installed/xml/libraries -lxml2
-Wl,-Bdynamic

When you do the link for your program, so that you wouldn't need to
install libxml2 on the other systems where your program may run.

Fred Smith
Senior Applications Programmer/Analyst
Computrition, Inc.
[EMAIL PROTECTED]
781-275-4488
FAX: 781-687-8884

PS: Please IGNORE the disclaimer my employer tacks onto this mail. This
mail is obviously not proprietary information of any company.



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
> Andrew W. Nosenko
> Sent: Tuesday, October 10, 2006 9:31 AM
> To: Ricky Marek
> Cc: [email protected]
> Subject: Re: [xml] xmlReadFile question...
>
> On 10/10/06, Ricky Marek <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > My code uses the xmlReadFile function. (using version 2.6.26) for
> > reading a configuration, which works fine for WindowsXP.
> >
> > Now, I need to port the code to run under Linux, where the library
> > version is 2.5.10, a version that does not contain the xmlReadFile
> > function. :(
> >
> > I can't install the new version due to some privileges issue
therefore I
> > need to downgrade my code to use the 2.5.10 version.
> >
> > Any hint on how can I replace the usage of xmlReadFile in my code?
> >
>
> May be xmlParseFile() will help if it exists in the 2.5.x...
> But you will have less control over processing -- there no 'options'
> and 'encoding' parameters.
>
> --
> Andrew W. Nosenko <[EMAIL PROTECTED]>
> _______________________________________________
> xml mailing list, project page  http://xmlsoft.org/
> [email protected]
> http://mail.gnome.org/mailman/listinfo/xml

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error, please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of the company. Finally, the 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to