libxml2

From AIXTOOLS
Jump to: navigation, search

Packages|Tools|aixtools.xmlsoft.libxml2.2.9.4.1.I
Report Issues (via Forums) and/or TWEET:@rootvgnet

MD5 Checksum

90B387D8FB595C11FD7F2AC47395DB8D aixtools.xmlsoft.libxml2.2.9.4.1.I

Package Details

Sources from: http://xmlsoft.org/downloads.html
Depends on: 

--Michael Felt (talk) 11:27, 2 November 2016 (UTC)

Repackaged as version 2.9.4.1 with both 32-bit and 64-bit libraries.
Any executables are 64-bit.
Also see libxslt

--Michael Felt (talk) 11:09, 4 June 2016 (UTC)

Starting with libxml2-2.9.4 I am changing the package name to include xmsoft to
denote it's source.

As far as I know libxml2 has it's origin in GNOME. However, I consider TOOLS section more appropriate as libxml2 is so widely used.

Starting with libxml2-2.9.0 there is a change to the structures that may break older
program's build/compilation. Noticeably, php-5.2.17 must be compiled against libxml2.7.X

In libxml2-2.9.0 the xmlBuffer structure has been redefined - in ./include/libxml/tree.h there is now:

/**
 * xmlBuffer:
 *
 * A buffer structure, this old construct is limited to 2GB and
 * is being deprecated, use API with xmlBuf instead
 */
typedef struct _xmlBuffer xmlBuffer;
typedef xmlBuffer *xmlBufferPtr;
struct _xmlBuffer {
    xmlChar *content;           /* The buffer content UTF8 */
    unsigned int use;           /* The buffer size used */
    unsigned int size;          /* The buffer size */
    xmlBufferAllocationScheme alloc; /* The realloc method */
    xmlChar *contentIO;         /* in IO mode we may have a different base */
};

/**
 * xmlBuf:
 *
 * A buffer structure, new one, the actual structure internals are not public
 */

typedef struct _xmlBuf xmlBuf;

While packaging an old version of php-5.2 I syntax errors prevented compiling several parts of that php.

Result || Solution

I reinstalled an older version of libxml2 (version 2.7.7) and the compilation went forward as expected. So, the warning is that you keep an older version (pre 2.9.0) for compatibility issues - as least for packaging or compiling older versions of software.

Archive

D7C146739AEA4FF127F24E9BC3B75A40 aixtools.xmlsoft.libxml2.2.9.4.0.I
B3F8A989C5C01D57B0E831567A8E39FC aixtools.libxml2.2.9.2.0.aix537.I
29339AFB84B98DC242045845B82CF52E aixtools.libxml2.2.9.1.0.I
E880D9D885A628D85AA046B9FA7CDBD2 aixtools.libxml2.2.7.7.I
Personal tools
Namespaces

Variants
Actions
Navigation
Downloads
Toolbox