zl程序教程

您现在的位置是:首页 >  其他

当前栏目

acl源码安装

2023-09-14 09:15:40 时间

接前文《autoconf-archive源码安装》, 链接如下:

autoconf-archive源码安装_蓝天居士的博客-CSDN博客

0. 源码地址

acl源码下载地址经由https://savannah.gnu.org搜索"acl"到acl - Summary [Savannah]

 再在其中点击上图中箭头位置,转到acl.git - acl。这就是acl的github网址,暨上游地址。

1. 源码下载

运行以下命令下载源码:

$ git clone https://git.savannah.gnu.org/git/acl.git
正克隆到 'acl'...
remote: Counting objects: 3780, done.
remote: Compressing objects: 100% (987/987), done.
remote: Total 3780 (delta 2772), reused 3780 (delta 2772)
接收对象中: 100% (3780/3780), 721.76 KiB | 43.00 KiB/s, 完成.
处理 delta 中: 100% (2772/2772), 完成.

下载完成后,源码内容如下所示:

$ tree acl
acl
├── autogen.sh
├── configure.ac
├── doc
│   ├── CHANGES
│   ├── COPYING
│   ├── COPYING.LGPL
│   ├── extensions.txt
│   ├── INSTALL
│   ├── libacl.txt
│   ├── Makemodule.am
│   ├── old-acl.5
│   ├── PORTING
│   └── TODO
├── examples
│   ├── copy-acl.c
│   ├── copyperm.c
│   ├── get-acl.c
│   ├── Makefile
│   ├── Makemodule.am
│   ├── README
│   └── set-acl.c
├── exports
├── include
│   ├── acl_ea.h
│   ├── acl.h
│   ├── libacl.h
│   ├── Makemodule.am
│   ├── misc.h
│   └── walk_tree.h
├── libacl
│   ├── acl_add_perm.c
│   ├── acl_calc_mask.c
│   ├── acl_check.c
│   ├── acl_clear_perms.c
│   ├── acl_cmp.c
│   ├── acl_copy_entry.c
│   ├── acl_copy_ext.c
│   ├── acl_copy_int.c
│   ├── acl_create_entry.c
│   ├── acl_delete_def_file.c
│   ├── acl_delete_entry.c
│   ├── acl_delete_perm.c
│   ├── acl_dup.c
│   ├── acl_entries.c
│   ├── acl_equiv_mode.c
│   ├── acl_error.c
│   ├── acl_extended_fd.c
│   ├── __acl_extended_file.c
│   ├── acl_extended_file.c
│   ├── __acl_extended_file.h
│   ├── acl_extended_file_nofollow.c
│   ├── acl_free.c
│   ├── acl_from_mode.c
│   ├── acl_from_text.c
│   ├── __acl_from_xattr.c
│   ├── __acl_from_xattr.h
│   ├── acl_get_entry.c
│   ├── acl_get_fd.c
│   ├── acl_get_file.c
│   ├── acl_get_perm.c
│   ├── acl_get_permset.c
│   ├── acl_get_qualifier.c
│   ├── acl_get_tag_type.c
│   ├── acl_init.c
│   ├── __acl_reorder_obj_p.c
│   ├── acl_set_fd.c
│   ├── acl_set_file.c
│   ├── acl_set_permset.c
│   ├── acl_set_qualifier.c
│   ├── acl_set_tag_type.c
│   ├── acl_size.c
│   ├── __acl_to_any_text.c
│   ├── acl_to_any_text.c
│   ├── acl_to_text.c
│   ├── __acl_to_xattr.c
│   ├── __acl_to_xattr.h
│   ├── acl_valid.c
│   ├── __apply_mask_to_mode.c
│   ├── byteorder.h
│   ├── libacl.h
│   ├── __libobj.c
│   ├── libobj.h
│   ├── Makemodule.am
│   ├── perm_copy_fd.c
│   ├── perm_copy_file.c
│   └── perm_copy.h
├── libacl.pc.in
├── libmisc
│   ├── high_water_alloc.c
│   ├── Makemodule.am
│   ├── next_line.c
│   ├── quote.c
│   ├── unquote.c
│   └── walk_tree.c
├── m4
│   ├── package_attrdev.m4
│   └── visibility_hidden.m4
├── Makefile.am
├── man
│   ├── Makemodule.am
│   ├── man1
│   │   ├── chacl.1
│   │   ├── getfacl.1
│   │   ├── Makemodule.am
│   │   └── setfacl.1
│   ├── man3
│   │   ├── acl_add_perm.3
│   │   ├── acl_calc_mask.3
│   │   ├── acl_check.3
│   │   ├── acl_clear_perms.3
│   │   ├── acl_cmp.3
│   │   ├── acl_copy_entry.3
│   │   ├── acl_copy_ext.3
│   │   ├── acl_copy_int.3
│   │   ├── acl_create_entry.3
│   │   ├── acl_delete_def_file.3
│   │   ├── acl_delete_entry.3
│   │   ├── acl_delete_perm.3
│   │   ├── acl_dup.3
│   │   ├── acl_entries.3
│   │   ├── acl_equiv_mode.3
│   │   ├── acl_error.3
│   │   ├── acl_extended_fd.3
│   │   ├── acl_extended_file.3
│   │   ├── acl_extended_file_nofollow.3
│   │   ├── acl_free.3
│   │   ├── acl_from_mode.3
│   │   ├── acl_from_text.3
│   │   ├── acl_get_entry.3
│   │   ├── acl_get_fd.3
│   │   ├── acl_get_file.3
│   │   ├── acl_get_perm.3
│   │   ├── acl_get_permset.3
│   │   ├── acl_get_qualifier.3
│   │   ├── acl_get_tag_type.3
│   │   ├── acl_init.3
│   │   ├── acl_set_fd.3
│   │   ├── acl_set_file.3
│   │   ├── acl_set_permset.3
│   │   ├── acl_set_qualifier.3
│   │   ├── acl_set_tag_type.3
│   │   ├── acl_size.3
│   │   ├── acl_to_any_text.3
│   │   ├── acl_to_text.3
│   │   ├── acl_valid.3
│   │   └── Makemodule.am
│   └── man5
│       ├── acl.5
│       └── Makemodule.am
├── po
│   ├── de.po
│   ├── es.po
│   ├── fr.po
│   ├── gl.po
│   ├── ka.po
│   ├── LINGUAS
│   ├── Makevars
│   ├── pl.po
│   ├── sv.po
│   └── update-potfiles
├── README
├── test
│   ├── cp.test
│   ├── getfacl-lfs.test
│   ├── getfacl-noacl.test
│   ├── getfacl-recursive.test
│   ├── Makemodule.am
│   ├── make-tree
│   ├── malformed-restore-double-owner.acl
│   ├── malformed-restore.test
│   ├── misc.test
│   ├── nfs
│   │   ├── nfsacl.test
│   │   └── nfs-dir.test
│   ├── root
│   │   ├── getfacl.test
│   │   ├── permissions.test
│   │   ├── restore.test
│   │   └── setfacl.test
│   ├── run
│   ├── runwrapper
│   ├── sbits-restore.test
│   ├── setfacl-X.test
│   ├── sort-getfacl-output
│   ├── test.group
│   ├── test_group.c
│   ├── test.passwd
│   ├── test_passwd.c
│   └── utf8-filenames.test
└── tools
    ├── chacl.c
    ├── do_set.c
    ├── do_set.h
    ├── getfacl.c
    ├── Makemodule.am
    ├── parse.c
    ├── parse.h
    ├── sequence.c
    ├── sequence.h
    ├── setfacl.c
    ├── user_group.c
    └── user_group.h

15 directories, 187 files

2. 源码构建

  • 引导构建
$ cd acl
$ ./autogen.sh 
+ po/update-potfiles
+ autopoint --force
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION
Copying file ABOUT-NLS
Creating directory build-aux
Copying file build-aux/config.rpath
Copying file m4/gettext.m4
Copying file m4/host-cpu-c-abi.m4
Copying file m4/iconv.m4
Copying file m4/intlmacosx.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/progtest.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
+ exec autoreconf -f -i
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:34: installing 'build-aux/ar-lib'
configure.ac:27: installing 'build-aux/compile'
configure.ac:35: installing 'build-aux/config.guess'
configure.ac:35: installing 'build-aux/config.sub'
configure.ac:24: installing 'build-aux/install-sh'
configure.ac:24: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
  • 配置构建
$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether __attribute__((visibility())) is supported... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... gcc -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for attr/error_context.h... yes
checking for getxattr in -lattr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libacl.pc
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing include/acl commands
config.status: executing include/sys commands
  • 编译
$ make
Making all in po
make[1]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
make acl.pot-update
make[2]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
package_gnu=""; \
test -n "$package_gnu" || { \
  if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
         LC_ALL=C find -L .. -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU acl' /dev/null '{}' ';' 2>/dev/null; \
       else \
         LC_ALL=C grep -i 'GNU acl' ../* 2>/dev/null; \
       fi; \
     } | grep -v 'libtool:' >/dev/null; then \
     package_gnu=yes; \
   else \
     package_gnu=no; \
   fi; \
}; \
if test "$package_gnu" = "yes"; then \
  package_prefix='GNU '; \
else \
  package_prefix=''; \
fi; \
if test -n 'acl-devel@nongnu.org' || test 'acl-devel@nongnu.org' = '@'PACKAGE_BUGREPORT'@'; then \
  msgid_bugs_address='acl-devel@nongnu.org'; \
else \
  msgid_bugs_address='acl-devel@nongnu.org'; \
fi; \
case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
    /usr/bin/xgettext --default-domain=acl --directory=.. \
      --add-comments=TRANSLATORS: \
      --files-from=./POTFILES.in \
      --copyright-holder='Silicon Graphics, Inc.' \
      --msgid-bugs-address="$msgid_bugs_address" \
      --keyword=_ --keyword=N_  \
    ;; \
  *) \
    /usr/bin/xgettext --default-domain=acl --directory=.. \
      --add-comments=TRANSLATORS: \
      --files-from=./POTFILES.in \
      --copyright-holder='Silicon Graphics, Inc.' \
      --package-name="${package_prefix}acl" \
      --package-version='2.3.1' \
      --msgid-bugs-address="$msgid_bugs_address" \
      --keyword=_ --keyword=N_  \
    ;; \
esac
test ! -f acl.po || { \
  if test -f ./acl.pot-header; then \
    sed -e '1,/^#$/d' < acl.po > acl.1po && \
    cat ./acl.pot-header acl.1po > acl.po && \
    rm -f acl.1po \
    || exit 1; \
  fi; \
  if test -f ./acl.pot; then \
    sed -f remove-potcdate.sed < ./acl.pot > acl.1po && \
    sed -f remove-potcdate.sed < acl.po > acl.2po && \
    if cmp acl.1po acl.2po >/dev/null 2>&1; then \
      rm -f acl.1po acl.2po acl.po; \
    else \
      rm -f acl.1po acl.2po ./acl.pot && \
      mv acl.po ./acl.pot; \
    fi; \
  else \
    mv acl.po ./acl.pot; \
  fi; \
}
make[2]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
test ! -f ./acl.pot || \
  test -z "de.gmo es.gmo fr.gmo gl.gmo ka.gmo pl.gmo sv.gmo en@boldquot.gmo en@quot.gmo" || make de.gmo es.gmo fr.gmo gl.gmo ka.gmo pl.gmo sv.gmo en@boldquot.gmo en@quot.gmo
make[2]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
/usr/bin/msgmerge --update  --lang=de --previous de.po acl.pot
............ 完成。rm -f de.gmo && /usr/bin/msgmerge --for-msgfmt -o de.1po de.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.1po && rm -f de.1po
de.1po: 52 条已翻译消息.
/usr/bin/msgmerge --update  --lang=es --previous es.po acl.pot
............. 完成。rm -f es.gmo && /usr/bin/msgmerge --for-msgfmt -o es.1po es.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o es.gmo es.1po && rm -f es.1po
es.1po: 49 条已翻译消息.
/usr/bin/msgmerge --update  --lang=fr --previous fr.po acl.pot
............... 完成。rm -f fr.gmo && /usr/bin/msgmerge --for-msgfmt -o fr.1po fr.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.1po && rm -f fr.1po
fr.1po: 51 条已翻译消息.
/usr/bin/msgmerge --update  --lang=gl --previous gl.po acl.pot
.............. 完成。rm -f gl.gmo && /usr/bin/msgmerge --for-msgfmt -o gl.1po gl.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o gl.gmo gl.1po && rm -f gl.1po
gl.1po: 49 条已翻译消息.
/usr/bin/msgmerge --update  --lang=ka --previous ka.po acl.pot
............. 完成。rm -f ka.gmo && /usr/bin/msgmerge --for-msgfmt -o ka.1po ka.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o ka.gmo ka.1po && rm -f ka.1po
ka.1po: 52 条已翻译消息.
/usr/bin/msgmerge --update  --lang=pl --previous pl.po acl.pot
............ 完成。rm -f pl.gmo && /usr/bin/msgmerge --for-msgfmt -o pl.1po pl.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o pl.gmo pl.1po && rm -f pl.1po
pl.1po: 52 条已翻译消息.
/usr/bin/msgmerge --update  --lang=sv --previous sv.po acl.pot
................. 完成。rm -f sv.gmo && /usr/bin/msgmerge --for-msgfmt -o sv.1po sv.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.1po && rm -f sv.1po
sv.1po: 49 条已翻译消息.
make[3]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
make en@boldquot.po-update
make[4]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' ./insert-header.sin > en@boldquot.insert-header
en@boldquot:
en@boldquot:
/usr/bin/msgmerge  --lang=en@boldquot --previous en@boldquot.po acl.pot -o en@boldquot.new.po
................. 完成。make[4]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
make[3]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
rm -f en@boldquot.gmo && /usr/bin/msgmerge --for-msgfmt -o en@boldquot.1po en@boldquot.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o en@boldquot.gmo en@boldquot.1po && rm -f en@boldquot.1po
en@boldquot.1po: 52 条已翻译消息.
make[3]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
make en@quot.po-update
make[4]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' ./insert-header.sin > en@quot.insert-header
en@quot:
en@quot:
/usr/bin/msgmerge  --lang=en@quot --previous en@quot.po acl.pot -o en@quot.new.po
.............. 完成。make[4]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
make[3]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
rm -f en@quot.gmo && /usr/bin/msgmerge --for-msgfmt -o en@quot.1po en@quot.po acl.pot && /usr/bin/msgfmt -c --statistics --verbose -o en@quot.gmo en@quot.1po && rm -f en@quot.1po
en@quot.1po: 52 条已翻译消息.
make[2]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
touch ./stamp-po
make[1]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
make[1]: 进入目录“/home/penghao/TPM/dependencies/acl/acl”
  CC       tools/chacl.o
  CC       libacl/la-acl_add_perm.lo
  CC       libacl/la-acl_calc_mask.lo
  CC       libacl/la-acl_clear_perms.lo
  CC       libacl/la-acl_copy_entry.lo
  CC       libacl/la-acl_copy_ext.lo
  CC       libacl/la-acl_copy_int.lo
  CC       libacl/la-acl_create_entry.lo
  CC       libacl/la-acl_delete_def_file.lo
  CC       libacl/la-acl_delete_entry.lo
  CC       libacl/la-acl_delete_perm.lo
  CC       libacl/la-acl_dup.lo
  CC       libacl/la-acl_free.lo
  CC       libacl/la-acl_from_text.lo
  CC       libacl/la-acl_get_entry.lo
  CC       libacl/la-acl_get_fd.lo
  CC       libacl/la-acl_get_file.lo
  CC       libacl/la-acl_get_perm.lo
  CC       libacl/la-acl_get_permset.lo
  CC       libacl/la-acl_get_qualifier.lo
  CC       libacl/la-acl_get_tag_type.lo
  CC       libacl/la-acl_init.lo
  CC       libacl/la-acl_set_fd.lo
  CC       libacl/la-acl_set_file.lo
  CC       libacl/la-acl_set_permset.lo
  CC       libacl/la-acl_set_qualifier.lo
  CC       libacl/la-acl_set_tag_type.lo
  CC       libacl/la-acl_size.lo
  CC       libacl/la-acl_to_text.lo
  CC       libacl/la-acl_valid.lo
  CC       libacl/la-acl_check.lo
  CC       libacl/la-acl_cmp.lo
  CC       libacl/la-acl_entries.lo
  CC       libacl/la-acl_equiv_mode.lo
  CC       libacl/la-acl_error.lo
  CC       libacl/la-acl_extended_fd.lo
  CC       libacl/la-acl_extended_file.lo
  CC       libacl/la-acl_extended_file_nofollow.lo
  CC       libacl/la-acl_from_mode.lo
  CC       libacl/la-acl_to_any_text.lo
  CC       libacl/la-__acl_extended_file.lo
  CC       libacl/la-__acl_from_xattr.lo
  CC       libacl/la-__acl_reorder_obj_p.lo
  CC       libacl/la-__acl_to_any_text.lo
  CC       libacl/la-__acl_to_xattr.lo
  CC       libacl/la-__apply_mask_to_mode.lo
  CC       libacl/la-__libobj.lo
  CC       libacl/la-perm_copy_fd.lo
  CC       libacl/la-perm_copy_file.lo
  CC       libmisc/high_water_alloc.lo
  CC       libmisc/next_line.lo
  CC       libmisc/quote.lo
  CC       libmisc/unquote.lo
  CC       libmisc/walk_tree.lo
  CCLD     libmisc.la
  CCLD     libacl.la
  CCLD     chacl
  CC       tools/getfacl.o
  CC       tools/user_group.o
  CCLD     getfacl
  CC       tools/do_set.o
  CC       tools/parse.o
  CC       tools/sequence.o
  CC       tools/setfacl.o
  CCLD     setfacl
make[1]: 离开目录“/home/penghao/TPM/dependencies/acl/acl”
  • 安装
$ sudo make install
Making install in po
make[1]: 进入目录“/home/penghao/TPM/dependencies/acl/acl/po”
installing de.gmo as /usr/share/locale/de/LC_MESSAGES/acl.mo
installing es.gmo as /usr/share/locale/es/LC_MESSAGES/acl.mo
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/acl.mo
installing gl.gmo as /usr/share/locale/gl/LC_MESSAGES/acl.mo
installing ka.gmo as /usr/share/locale/ka/LC_MESSAGES/acl.mo
installing pl.gmo as /usr/share/locale/pl/LC_MESSAGES/acl.mo
installing sv.gmo as /usr/share/locale/sv/LC_MESSAGES/acl.mo
installing en@boldquot.gmo as /usr/share/locale/en@boldquot/LC_MESSAGES/acl.mo
installing en@quot.gmo as /usr/share/locale/en@quot/LC_MESSAGES/acl.mo
if test "acl" = "gettext-tools"; then \
  /usr/bin/mkdir -p /usr/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
                    /usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: 离开目录“/home/penghao/TPM/dependencies/acl/acl/po”
make[1]: 进入目录“/home/penghao/TPM/dependencies/acl/acl”
make[2]: 进入目录“/home/penghao/TPM/dependencies/acl/acl”
 /usr/bin/mkdir -p '/usr/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libacl.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libacl.so.1.1.2301 /usr/lib/libacl.so.1.1.2301
libtool: install: (cd /usr/lib && { ln -s -f libacl.so.1.1.2301 libacl.so.1 || { rm -f libacl.so.1 && ln -s libacl.so.1.1.2301 libacl.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libacl.so.1.1.2301 libacl.so || { rm -f libacl.so && ln -s libacl.so.1.1.2301 libacl.so; }; })
libtool: install: /usr/bin/install -c .libs/libacl.lai /usr/lib/libacl.la
libtool: install: /usr/bin/install -c .libs/libacl.a /usr/lib/libacl.a
libtool: install: chmod 644 /usr/lib/libacl.a
libtool: install: ranlib /usr/lib/libacl.a
libtool: finish: PATH="/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/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.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c chacl getfacl setfacl '/usr/bin'
libtool: install: /usr/bin/install -c .libs/chacl /usr/bin/chacl
libtool: install: /usr/bin/install -c .libs/getfacl /usr/bin/getfacl
libtool: install: /usr/bin/install -c .libs/setfacl /usr/bin/setfacl
subst_install_header() { file=`echo "$1" | sed -e 's,^.*/,,'`; /usr/bin/sed -e "s/\<EXPORT\>/extern/" < "$1" > "include/$file.t" || exit 1; /usr/bin/mkdir -p "$2" || exit 1; /usr/bin/install -c -m 644 "include/$file.t" "$2/$file" || exit 1; rm -f "include/$file.t"; }; subst_install_header "include/libacl.h" "/usr/include/acl"
subst_install_header() { file=`echo "$1" | sed -e 's,^.*/,,'`; /usr/bin/sed -e "s/\<EXPORT\>/extern/" < "$1" > "include/$file.t" || exit 1; /usr/bin/mkdir -p "$2" || exit 1; /usr/bin/install -c -m 644 "include/$file.t" "$2/$file" || exit 1; rm -f "include/$file.t"; }; subst_install_header "include/acl.h" "/usr/include/sys"
 /usr/bin/mkdir -p '/usr/share/doc/acl'
 /usr/bin/install -c -m 644 doc/CHANGES doc/COPYING doc/COPYING.LGPL doc/extensions.txt doc/libacl.txt doc/PORTING '/usr/share/doc/acl'
 /usr/bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 man/man1/chacl.1 man/man1/getfacl.1 man/man1/setfacl.1 '/usr/share/man/man1'
 /usr/bin/mkdir -p '/usr/share/man/man3'
 /usr/bin/install -c -m 644 man/man3/acl_add_perm.3 man/man3/acl_calc_mask.3 man/man3/acl_check.3 man/man3/acl_clear_perms.3 man/man3/acl_cmp.3 man/man3/acl_copy_entry.3 man/man3/acl_copy_ext.3 man/man3/acl_copy_int.3 man/man3/acl_create_entry.3 man/man3/acl_delete_def_file.3 man/man3/acl_delete_entry.3 man/man3/acl_delete_perm.3 man/man3/acl_dup.3 man/man3/acl_entries.3 man/man3/acl_equiv_mode.3 man/man3/acl_error.3 man/man3/acl_extended_fd.3 man/man3/acl_extended_file.3 man/man3/acl_extended_file_nofollow.3 man/man3/acl_free.3 man/man3/acl_from_mode.3 man/man3/acl_from_text.3 man/man3/acl_get_entry.3 man/man3/acl_get_fd.3 man/man3/acl_get_file.3 man/man3/acl_get_perm.3 man/man3/acl_get_permset.3 man/man3/acl_get_qualifier.3 man/man3/acl_get_tag_type.3 man/man3/acl_init.3 man/man3/acl_set_fd.3 man/man3/acl_set_file.3 man/man3/acl_set_permset.3 man/man3/acl_set_qualifier.3 man/man3/acl_set_tag_type.3 man/man3/acl_size.3 man/man3/acl_to_any_text.3 man/man3/acl_to_text.3 man/man3/acl_valid.3 '/usr/share/man/man3'
 /usr/bin/mkdir -p '/usr/share/man/man5'
 /usr/bin/install -c -m 644 man/man5/acl.5 '/usr/share/man/man5'
 /usr/bin/mkdir -p '/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 libacl.pc '/usr/lib/pkgconfig'
make[2]: 离开目录“/home/penghao/TPM/dependencies/acl/acl”
make[1]: 离开目录“/home/penghao/TPM/dependencies/acl/acl”