来自http://www.linuxsir.org/bbs/thread351616.html?pageon=1
没问题! 如:root [ /usr/src/libxml2-2.7.6 ]# make install Making install in include make[1]: Entering directory `/usr/src/libxml2-2.7.6/include' Making install in libxml make[2]: Entering directory `/usr/src/libxml2-2.7.6/include/libxml' make[3]: Entering directory `/usr/src/libxml2-2.7.6/include/libxml' make install-exec-hook make[4]: Entering directory `/usr/src/libxml2-2.7.6/include/libxml' /bin/sh ../../mkinstalldirs /custom/include/libxml2/libxml make[4]: Leaving directory `/usr/src/libxml2-2.7.6/include/libxml' test -z "/custom/include/libxml2/libxml" || /bin/mkdir -p "/custom/include/libxml2/libxml" /usr/bin/install -c -m 644 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 '/custom/include/libxml2/libxml' /usr/bin/install -c -m 644 SAX2.h xmlexports.h xmlwriter.h chvalid.h pattern.h xmlsave.h schematron.h '/custom/include/libxml2/libxml' make[3]: Leaving directory `/usr/src/libxml2-2.7.6/include/libxml' make[2]: Leaving directory `/usr/src/libxml2-2.7.6/include/libxml' make[2]: Entering directory `/usr/src/libxml2-2.7.6/include' make[3]: Entering directory `/usr/src/libxml2-2.7.6/include' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/libxml2-2.7.6/include' make[2]: Leaving directory `/usr/src/libxml2-2.7.6/include' make[1]: Leaving directory `/usr/src/libxml2-2.7.6/include' Making install in . make[1]: Entering directory `/usr/src/libxml2-2.7.6' make[2]: Entering directory `/usr/src/libxml2-2.7.6' test -z "/custom/lib" || /bin/mkdir -p "/custom/lib" /bin/sh ./libtool --mode=install /usr/bin/install -c libxml2.la '/custom/lib' libtool: install: /usr/bin/install -c .libs/libxml2.so.2.7.6 /custom/lib/libxml2.so.2.7.6 libtool: install: (cd /custom/lib && { ln -s -f libxml2.so.2.7.6 libxml2.so.2 || { rm -f libxml2.so.2 && ln -s libxml2.so.2.7.6 libxml2.so.2; }; }) libtool: install: (cd /custom/lib && { ln -s -f libxml2.so.2.7.6 libxml2.so || { rm -f libxml2.so && ln -s libxml2.so.2.7.6 libxml2.so; }; }) libtool: install: /usr/bin/install -c .libs/libxml2.lai /custom/lib/libxml2.la libtool: install: /usr/bin/install -c .libs/libxml2.a /custom/lib/libxml2.a libtool: install: chmod 644 /custom/lib/libxml2.a libtool: install: ranlib /custom/lib/libxml2.a libtool: finish: PATH="/opt/jdk/bin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/sbin" ldconfig -n /custom/lib ldconfig: /custom/lib/libssl.so.0.9.8 is not a symbolic link ---------------------------------------------------------------------- Libraries have been installed in: /custom/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(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- test -z "/custom/bin" || /bin/mkdir -p "/custom/bin" /bin/sh ./libtool --mode=install /usr/bin/install -c xmllint xmlcatalog '/custom/bin' libtool: install: /usr/bin/install -c .libs/xmllint /custom/bin/xmllint libtool: install: /usr/bin/install -c .libs/xmlcatalog /custom/bin/xmlcatalog test -z "/custom/bin" || /bin/mkdir -p "/custom/bin" /usr/bin/install -c xml2-config '/custom/bin' test -z "/custom/lib" || /bin/mkdir -p "/custom/lib" /usr/bin/install -c -m 644 xml2Conf.sh '/custom/lib' /bin/sh ./mkinstalldirs /custom/share/doc/libxml2-2.7.6 /usr/bin/install -c -m 0644 ./Copyright /custom/share/doc/libxml2-2.7.6 /bin/sh ./mkinstalldirs /custom/share/doc/libxml2-2.7.6/examples /usr/bin/install -c -m 0644 ./xmllint.c /custom/share/doc/libxml2-2.7.6/examples /usr/bin/install -c -m 0644 ./testSAX.c /custom/share/doc/libxml2-2.7.6/examples /usr/bin/install -c -m 0644 ./testHTML.c /custom/share/doc/libxml2-2.7.6/examples /usr/bin/install -c -m 0644 ./testXPath.c /custom/share/doc/libxml2-2.7.6/examples test -z "/custom/share/aclocal" || /bin/mkdir -p "/custom/share/aclocal" /usr/bin/install -c -m 644 libxml.m4 '/custom/share/aclocal' test -z "/custom/share/man/man1" || /bin/mkdir -p "/custom/share/man/man1" /usr/bin/install -c -m 644 xml2-config.1 '/custom/share/man/man1' test -z "/custom/share/man/man3" || /bin/mkdir -p "/custom/share/man/man3" /usr/bin/install -c -m 644 libxml.3 '/custom/share/man/man3' test -z "/custom/lib/pkgconfig" || /bin/mkdir -p "/custom/lib/pkgconfig" /usr/bin/install -c -m 644 libxml-2.0.pc '/custom/lib/pkgconfig' make[2]: Leaving directory `/usr/src/libxml2-2.7.6' make[1]: Leaving directory `/usr/src/libxml2-2.7.6' Making install in doc make[1]: Entering directory `/usr/src/libxml2-2.7.6/doc' Making install in devhelp make[2]: Entering directory `/usr/src/libxml2-2.7.6/doc/devhelp' make[3]: Entering directory `/usr/src/libxml2-2.7.6/doc/devhelp' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /custom/share/gtk-doc/html/libxml2 /usr/bin/install -c -m 0644 libxml2.devhelp /custom/share/gtk-doc/html/libxml2 /usr/bin/install -c -m 0644 home.png left.png right.png up.png style.css /custom/share/gtk-doc/html/libxml2 /usr/bin/install -c -m 0644 index.html general.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 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 /custom/share/gtk-doc/html/libxml2 make[3]: Leaving directory `/usr/src/libxml2-2.7.6/doc/devhelp' make[2]: Leaving directory `/usr/src/libxml2-2.7.6/doc/devhelp' Making install in examples make[2]: Entering directory `/usr/src/libxml2-2.7.6/doc/examples' make[3]: Entering directory `/usr/src/libxml2-2.7.6/doc/examples' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html /usr/bin/install -c -m 0644 ./*.html ./*.c ./*.xml ./*.xsl ./*.res /custom/share/doc/libxml2-2.7.6/html /usr/bin/install: 无法 stat “./*.html”: 没有那个文件或目录 make[3]: [install-data-local] 错误 1 (忽略) make[3]: Leaving directory `/usr/src/libxml2-2.7.6/doc/examples' make[2]: Leaving directory `/usr/src/libxml2-2.7.6/doc/examples' make[2]: Entering directory `/usr/src/libxml2-2.7.6/doc' make[3]: Entering directory `/usr/src/libxml2-2.7.6/doc' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html /usr/bin/install -c -m 0644 ./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 /custom/share/doc/libxml2-2.7.6/html /bin/sh ../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html/html /usr/bin/install -c -m 0644 ./html/*.html /custom/share/doc/libxml2-2.7.6/html/html /usr/bin/install -c -m 0644 ./html/*.png /custom/share/doc/libxml2-2.7.6/html/html /bin/sh ../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html/tutorial /usr/bin/install -c -m 0644 ./tutorial/*.* \ /custom/share/doc/libxml2-2.7.6/html/tutorial /bin/sh ../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html/tutorial/images /usr/bin/install -c -m 0644 ./tutorial/images/*.* \ /custom/share/doc/libxml2-2.7.6/html/tutorial/images /bin/sh ../mkinstalldirs /custom/share/doc/libxml2-2.7.6/html/tutorial/images/callouts /usr/bin/install -c -m 0644 ./tutorial/images/callouts/*.* \ /custom/share/doc/libxml2-2.7.6/html/tutorial/images/callouts test -z "/custom/share/man/man1" || /bin/mkdir -p "/custom/share/man/man1" /usr/bin/install -c -m 644 xmllint.1 xmlcatalog.1 '/custom/share/man/man1' make[3]: Leaving directory `/usr/src/libxml2-2.7.6/doc' make[2]: Leaving directory `/usr/src/libxml2-2.7.6/doc' make[1]: Leaving directory `/usr/src/libxml2-2.7.6/doc' Making install in example make[1]: Entering directory `/usr/src/libxml2-2.7.6/example' make[2]: Entering directory `/usr/src/libxml2-2.7.6/example' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/libxml2-2.7.6/example' make[1]: Leaving directory `/usr/src/libxml2-2.7.6/example' Making install in xstc make[1]: Entering directory `/usr/src/libxml2-2.7.6/xstc' make[2]: Entering directory `/usr/src/libxml2-2.7.6/xstc' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/libxml2-2.7.6/xstc' make[1]: Leaving directory `/usr/src/libxml2-2.7.6/xstc' LibXML2正常安装 不必担心,几乎所有程序make install都这样。 |