Use arm-none-linux-gnueabi to cross-compile libxml2 in Ubuntu14.04. 1. Download the source code example
Use arm-none-linux-gnueabi to cross-compile libxml2 in Ubuntu 14.04
I. Download source code http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
The source code package I downloaded here is version 2.9.1, as shown in
Decompress the package with the following command to get the libxml2-2.9.1 folder, as shown in
Tar-xzv-f libxml2-2.9.1.tar.gz
Ii. Configuration
Cd to the libxml2-2.9.1 directory, configure with the following configuration options
If you have insufficient permissions during configuration, run the following command:
Chmod a + x configure
You can also use
Sudo./configure
Note: do not compile python
Iii. Compilation
Sudo make
4. install with make install
Sudo make install
Upgrade Linux built-in libxml2 library install php-5.2.5 http://www.linuxidc.com/Linux/2008-05/12749.htm on RedHat Linux
Ubuntu libxml2 http://www.linuxidc.com/Linux/2007-10/8075.htm
Libxml2 use http://www.linuxidc.com/Linux/2014-01/95402.htm in Linux
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101902.htm