https://gitlab.gnome.org/GNOME/libxml2/

ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz

/configure
make
make install

[root@VM_162_1_centos libxml2-2.9.]# make install
make install-recursive
make[]: Entering directory `/play/game/libxml2/libxml2-2.9.'
Making install in include
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./include'
Making install in libxml
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./include/libxml'
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./include/libxml'
make[]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/usr/local/include/libxml2/libxml'
/usr/bin/install -c -m SAX.h entities.h encoding.h parser.h parserInternals.h xmlerror.h HTMLparser.h HTMLtree.h debugXML.h tree.h list.h hash.h xpath.h xpathInternals.h xpointer.h xinclude.h xmlIO.h xmlmemory.h nanohttp.h nanoftp.h uri.h valid.h xlink.h xmlversion.h DOCBparser.h catalog.h threads.h globals.h c14n.h xmlautomata.h xmlregexp.h xmlmodule.h xmlschemas.h schemasInternals.h xmlschemastypes.h xmlstring.h xmlunicode.h xmlreader.h relaxng.h dict.h '/usr/local/include/libxml2/libxml'
/usr/bin/install -c -m SAX2.h xmlexports.h xmlwriter.h chvalid.h pattern.h xmlsave.h schematron.h '/usr/local/include/libxml2/libxml'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9./include/libxml'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9./include/libxml'
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./include'
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./include'
make[]: Nothing to be done for `install-exec-am'.
make[]: Nothing to be done for `install-data-am'.
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9./include'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9./include'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9./include'
Making install in .
make[]: Entering directory `/play/game/libxml2/libxml2-2.9.'
make[]: Entering directory `/play/game/libxml2/libxml2-2.9.'
/usr/bin/mkdir -p '/usr/local/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libxml2.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libxml2.so.2.9. /usr/local/lib/libxml2.so.2.9.
libtool: install: (cd /usr/local/lib && { ln -s -f libxml2.so.2.9. libxml2.so. || { rm -f libxml2.so. && ln -s libxml2.so.2.9. libxml2.so.; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libxml2.so.2.9. libxml2.so || { rm -f libxml2.so && ln -s libxml2.so.2.9. libxml2.so; }; })
libtool: install: /usr/bin/install -c .libs/libxml2.lai /usr/local/lib/libxml2.la
libtool: install: /usr/bin/install -c .libs/libxml2.a /usr/local/lib/libxml2.a
libtool: install: chmod /usr/local/lib/libxml2.a
libtool: install: ranlib /usr/local/lib/libxml2.a
libtool: finish: PATH="/local/mysql++/lib/:/app/mysql/mysql_lib/bin/:/app/mysql/mysql_home/bin/:/usr/local/ssl/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for
more information, such as the ld() and ld.so() manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/usr/local/bin'
/bin/sh ./libtool --mode=install /usr/bin/install -c xmllint xmlcatalog '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/xmllint /usr/local/bin/xmllint
libtool: install: /usr/bin/install -c .libs/xmlcatalog /usr/local/bin/xmlcatalog
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c xml2-config '/usr/local/bin'
/usr/bin/mkdir -p '/usr/local/lib'
/usr/bin/install -c -m xml2Conf.sh '/usr/local/lib'
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9.
/usr/bin/install -c -m ./Copyright /usr/local/share/doc/libxml2-2.9.
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9./examples
/usr/bin/install -c -m ./xmllint.c /usr/local/share/doc/libxml2-2.9./examples
/usr/bin/install -c -m ./testSAX.c /usr/local/share/doc/libxml2-2.9./examples
/usr/bin/install -c -m ./testHTML.c /usr/local/share/doc/libxml2-2.9./examples
/usr/bin/install -c -m ./testXPath.c /usr/local/share/doc/libxml2-2.9./examples
/usr/bin/mkdir -p '/usr/local/share/aclocal'
/usr/bin/install -c -m libxml.m4 '/usr/local/share/aclocal'
/usr/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m xml2-config. '/usr/local/share/man/man1'
/usr/bin/mkdir -p '/usr/local/share/man/man3'
/usr/bin/install -c -m libxml. '/usr/local/share/man/man3'
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m libxml-2.0.pc '/usr/local/lib/pkgconfig'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9.'
make[]: Leaving directory `/play/game/libxml2/libxml2-2.9.'
Making install in doc
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./doc'
Making install in .
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./doc'
make[]: Entering directory `/play/game/libxml2/libxml2-2.9./doc'
make[]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9./html
/usr/bin/install -c -m ./xml.html ./encoding.html ./FAQ.html ./structure.gif ./DOM.gif ./smallfootonly.gif ./redhat.gif ./libxml.gif ./w3c.png ./Libxml2-Logo-180x168.gif ./Libxml2-Logo-90x34.gif /usr/local/share/doc/libxml2-2.9./html
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9./html/html
/usr/bin/install -c -m ./html/*.html /usr/local/share/doc/libxml2-2.9.1/html/html
/usr/bin/install -c -m 0644 ./html/*.png /usr/local/share/doc/libxml2-2.9.1/html/html
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9.1/html/tutorial
/usr/bin/install -c -m 0644 ./tutorial/*.* \
/usr/local/share/doc/libxml2-2.9.1/html/tutorial
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9.1/html/tutorial/images
/usr/bin/install -c -m 0644 ./tutorial/images/*.* \
/usr/local/share/doc/libxml2-2.9.1/html/tutorial/images
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts
/usr/bin/install -c -m 0644 ./tutorial/images/callouts/*.* \
/usr/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts
/usr/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 xmllint.1 xmlcatalog.1 '/usr/local/share/man/man1'
make[4]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc'
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc'
Making install in devhelp
make[3]: Entering directory `/play/game/libxml2/libxml2-2.9.1/doc/devhelp'
make[4]: Entering directory `/play/game/libxml2/libxml2-2.9.1/doc/devhelp'
make[4]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/gtk-doc/html/libxml2'
/usr/bin/install -c -m 644 libxml2.devhelp general.html index.html libxml2-c14n.html libxml2-catalog.html libxml2-chvalid.html libxml2-debugXML.html libxml2-dict.html libxml2-DOCBparser.html libxml2-encoding.html libxml2-entities.html libxml2-globals.html libxml2-hash.html libxml2-HTMLparser.html libxml2-HTMLtree.html libxml2-list.html libxml2-nanoftp.html libxml2-nanohttp.html libxml2-parser.html libxml2-parserInternals.html libxml2-pattern.html libxml2-relaxng.html libxml2-SAX2.html libxml2-SAX.html libxml2-schemasInternals.html libxml2-schematron.html libxml2-threads.html libxml2-tree.html libxml2-uri.html libxml2-valid.html libxml2-xinclude.html libxml2-xlink.html libxml2-xmlautomata.html libxml2-xmlerror.html libxml2-xmlexports.html libxml2-xmlIO.html libxml2-xmlmemory.html libxml2-xmlmodule.html libxml2-xmlreader.html libxml2-xmlregexp.html '/usr/local/share/gtk-doc/html/libxml2'
/usr/bin/install -c -m 644 libxml2-xmlsave.html libxml2-xmlschemas.html libxml2-xmlschemastypes.html libxml2-xmlstring.html libxml2-xmlunicode.html libxml2-xmlversion.html libxml2-xmlwriter.html libxml2-xpath.html libxml2-xpathInternals.html libxml2-xpointer.html home.png left.png right.png up.png style.css '/usr/local/share/gtk-doc/html/libxml2'
make[4]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc/devhelp'
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc/devhelp'
Making install in examples
make[3]: Entering directory `/play/game/libxml2/libxml2-2.9.1/doc/examples'
make[4]: Entering directory `/play/game/libxml2/libxml2-2.9.1/doc/examples'
make[4]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p /usr/local/share/doc/libxml2-2.9.1/html
/usr/bin/install -c -m 0644 ./*.html ./*.c ./*.xml ./*.xsl ./*.res /usr/local/share/doc/libxml2-2.9.1/html
make[4]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc/examples'
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc/examples'
make[2]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/doc'
Making install in example
make[2]: Entering directory `/play/game/libxml2/libxml2-2.9.1/example'
make[3]: Entering directory `/play/game/libxml2/libxml2-2.9.1/example'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/example'
make[2]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/example'
Making install in xstc
make[2]: Entering directory `/play/game/libxml2/libxml2-2.9.1/xstc'
make[3]: Entering directory `/play/game/libxml2/libxml2-2.9.1/xstc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/xstc'
make[2]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/xstc'
Making install in python
make[2]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python'
make install-recursive
make[3]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python'
Making install in .
make[4]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python'
make[5]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python'
make[5]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/doc/libxml2-python-2.9.1'
/usr/bin/install -c -m 644 TODO '/usr/local/share/doc/libxml2-python-2.9.1'
/usr/bin/mkdir -p '/usr/lib/python2.7/site-packages'
/usr/bin/install -c -m 644 drv_libxml2.py libxml2.py '/usr/lib/python2.7/site-packages'
/usr/bin/mkdir -p '/usr/lib/python2.7/site-packages'
/bin/sh ../libtool --mode=install /usr/bin/install -c libxml2mod.la '/usr/lib/python2.7/site-packages'
libtool: install: warning: relinking `libxml2mod.la'
libtool: install: (cd /play/game/libxml2/libxml2-2.9.1/python; /bin/sh /play/game/libxml2/libxml2-2.9.1/libtool --silent --tag CC --mode=relink gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wno-long-long -module -avoid-version ../libxml2.la -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -o libxml2mod.la -rpath /usr/lib/python2.7/site-packages libxml.lo libxml2-py.lo types.lo )
libtool: install: /usr/bin/install -c .libs/libxml2mod.soT /usr/lib/python2.7/site-packages/libxml2mod.so
libtool: install: /usr/bin/install -c .libs/libxml2mod.lai /usr/lib/python2.7/site-packages/libxml2mod.la
libtool: install: /usr/bin/install -c .libs/libxml2mod.a /usr/lib/python2.7/site-packages/libxml2mod.a
libtool: install: chmod 644 /usr/lib/python2.7/site-packages/libxml2mod.a
libtool: install: ranlib /usr/lib/python2.7/site-packages/libxml2mod.a
libtool: finish: PATH="/local/mysql++/lib/:/app/mysql/mysql_lib/bin/:/app/mysql/mysql_home/bin/:/usr/local/ssl/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/lib/python2.7/site-packages
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/python2.7/site-packages If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python'
make[4]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python'
Making install in tests
make[4]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python/tests'
make[5]: Entering directory `/play/game/libxml2/libxml2-2.9.1/python/tests'
make[5]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/doc/libxml2-python-2.9.1/examples'
/usr/bin/install -c -m 644 build.py attribs.py tst.py tstxpath.py xpathext.py push.py pushSAX.py pushSAXhtml.py error.py serialize.py validate.py tstURI.py cutnpaste.py xpathret.py xpath.py outbuf.py inbuf.py input_callback.py resolver.py regexp.py reader.py reader2.py reader3.py reader4.py reader5.py reader6.py reader7.py reader8.py readernext.py walker.py nsdel.py ctxterror.py readererr.py relaxng.py schema.py thread2.py sync.py tstLastError.py indexes.py dtdvalid.py '/usr/local/share/doc/libxml2-python-2.9.1/examples'
/usr/bin/install -c -m 644 tstmem.py validDTD.py validSchemas.py validRNG.py compareNodes.py xpathns.py xpathleak.py tst.xml valid.xml invalid.xml test.dtd '/usr/local/share/doc/libxml2-python-2.9.1/examples'
make[5]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python/tests'
make[4]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python/tests'
make[3]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python'
make[2]: Leaving directory `/play/game/libxml2/libxml2-2.9.1/python'
make[1]: Leaving directory `/play/game/libxml2/libxml2-2.9.1'
[root@VM_162_1_centos libxml2-2.9.1]#

使用:

libxml2 安装及使用的更多相关文章

  1. 安装LIBXML2

    具体安装步骤: 1.解压:$tar zxvf libxml2-2.6.20.tar.gz 2.进入解压后的安装目录:$cd libxml2-2.6.20 3.安装三部曲:1)$./configure ...

  2. linux 安装 php

    1.  libxml2安装           tar -zxvf libxml2-2.6.26.tar.gz cd libxml2-2.6.26 ./configure  --prefix=/usr ...

  3. Linux lamp环境编译安装

    1.安装准备: 1)httpd-2.0.52.tar.gz 2)mysql-4.1.12.tar.gz 3)libxml2-2.6.27.tar 4)freetype-2.1.10.tar 5)gd- ...

  4. 【PHP】linux+php5.1.6+mysql5.0.2+apache2.0.55安装配置说明(转)

    linux+php5.1.6+mysql5.0.2+apache2.0.55安装配置说明:一.mysql5.0.2的安装配置过程及说明:1. #tar -zvxf mysql-5.0.2-alpha. ...

  5. CentOS 7 安装Apache 2.4.39

    使用源码在CentOS 7下安装 apache 2.4.39,之前趟了一遍,简单做个笔记. STEP 1 安装apr STEP 1.1 检查是否安装apr [root@study ~]# yum li ...

  6. 4、CentOS6.5下安装php5.3

    操作系统:CentOS6.5 环境:Apache2.2安装成功.可查看:http://www.centoscn.com/image-text/install/2014/0505/2910.html M ...

  7. php源码安装常用配置参数和说明

    常用的配置参数1. --prefix=/usr/local/php 指定 php 安装目录 install architecture-independent files in PREFIX 默认/us ...

  8. CentOS 7运维管理笔记(11)----PHP安装与配置

    PHP的安装同样需要经过环境检查.编译和安装3个步骤. 1.首先用百度搜索 “PHP:Downloads”, 点击第一个网页: 选择5.5.37版本,选择 .tar.gz 格式的文件: 来到镜像列表网 ...

  9. linux下nginx安装php

    把php安装包上传到linux的/usr/local/src 1.解压 cd /usr/local/src tar zxvf php-5.6.9.tar.gz cd php-5.6.9 2.编译安装 ...

随机推荐

  1. leetcode665

    这道题目,主要是判断相邻的两个值的大小,并按照要求的方式,将数组的数值都修正为符合要求的值. 然后通过一次的遍历,计算所累积的移动次数. bool checkPossibility(vector< ...

  2. DAY15-HTTP协议简述

    HTTP协议 一.HTTP协议简介 超文本传输协议(英文:HyperText Transfer Protocol,缩写:HTTP)是一种用于分布式.协作式和超媒体信息系统的应用层协议.HTTP是万维网 ...

  3. Class类动态加载类的用法

    编译时刻加载类出现的问题:一个功能有错,所有功能都用不了 动态加载类:

  4. Hibernate和JPA

    ORM(Object/Relational Mapping : 对象关系映射)就是利用描述对象和数据库之间映射的元数据,自动(且透明)的将java应用程序中的对象持久化到关系数据库的表中.HIbern ...

  5. 使用HttpClient进行Post通信

    ---------------siwuxie095                         首先到 Apache官网 下载相关的库文件     Apache官网:http://www.apac ...

  6. Spring_02 注入类型值、利用引用注入类型值、spring表达式、与类相关的注解、与依赖注入相关的注解、注解扫描

    注意:注入基本类型值在本质上就是依赖注入,而且是利用的set方式进行的依赖注入 1 注入基本类型的值 <property name="基本类型的成员变量名" value=&q ...

  7. wenfrom的简单控件和repeater控件

    简单控件 lable  转换成<span>标记 literal   空的  什么也没转换 Literal.Text=<script>alter('你好');</scrip ...

  8. c类库,委托,var ,运算符 is 和 as 。

    类库(Class Library)  格式   .dll  文件 类库   就是类的仓库 c#代码被编译过以后的文件,不可阅读,不可修改,只能调用. 类库是一个综合性的面向对象的可重用类型集合,这些类 ...

  9. 第一篇:Django基础

    Django框架第一篇基础 一个小问题: 什么是根目录:就是没有路径,只有域名..url(r'^$') 补充一张关于wsgiref模块的图片 一.MTV模型 Django的MTV分别代表: Model ...

  10. Ubuntu学习小结(二)PostgreSQL的使用,进程的查看关闭,编辑器之神Vim入门

    距离上次发布文章已经过去了很久.在过去的半年中,虽然写的代码不多,但是在接触了计算机一些其他的知识,包括数据库.网络之后,感觉能够融会贯通,写代码水平又有了一定的提高.接下来,将会发表几篇文章,简单介 ...