$ ./configure
$ make
$ make install
Making install in include
make[1]: Entering directory `/home/software/yaml-0.2.2/include'
make[2]: Entering directory `/home/software/yaml-0.2.2/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/include'
/bin/install -c -m 644 yaml.h '/usr/local/include/.'
make[2]: Leaving directory `/home/software/yaml-0.2.2/include'
make[1]: Leaving directory `/home/software/yaml-0.2.2/include'
Making install in src
make[1]: Entering directory `/home/software/yaml-0.2.2/src'
make[2]: Entering directory `/home/software/yaml-0.2.2/src'
/bin/mkdir -p '/usr/local/lib'
/bin/sh ../libtool --mode=install /bin/install -c libyaml.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libyaml-0.so.2.0.6 /usr/local/lib/libyaml-0.so.2.0.6
libtool: install: (cd /usr/local/lib && { ln -s -f libyaml-0.so.2.0.6 libyaml-0.so.2 || { rm -f libyaml-0.so.2 && ln -s libyaml-0.so.2.0.6 libyaml-0.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libyaml-0.so.2.0.6 libyaml.so || { rm -f libyaml.so && ln -s libyaml-0.so.2.0.6 libyaml.so; }; })
libtool: install: /bin/install -c .libs/libyaml.lai /usr/local/lib/libyaml.la
libtool: install: /bin/install -c .libs/libyaml.a /usr/local/lib/libyaml.a
libtool: install: chmod 644 /usr/local/lib/libyaml.a
libtool: install: ranlib /usr/local/lib/libyaml.a
libtool: finish: PATH="/usr/lib64/qt-3.3/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(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/software/yaml-0.2.2/src'
make[1]: Leaving directory `/home/software/yaml-0.2.2/src'
Making install in .
make[1]: Entering directory `/home/software/yaml-0.2.2'
make[2]: Entering directory `/home/software/yaml-0.2.2'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/bin/install -c -m 644 yaml-0.1.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/home/software/yaml-0.2.2'
make[1]: Leaving directory `/home/software/yaml-0.2.2'
Making install in tests
make[1]: Entering directory `/home/software/yaml-0.2.2/tests'
make[2]: Entering directory `/home/software/yaml-0.2.2/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/software/yaml-0.2.2/tests'
make[1]: Leaving directory `/home/software/yaml-0.2.2/tests'
1.2 配置规则
1.3 demo程序
2. 参考文献