pi@raspberrypi ~ $ sudo apt-get install automake libtool
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝：
  autoconf autotools-dev libltdl-dev m4
建議套件：
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool-doc
  automaken gfortran fortran95-compiler gcj
下列【新】套件將會被安裝：
  autoconf automake autotools-dev libltdl-dev libtool m4
升級 0 個，新安裝 6 個，移除 0 個，有 0 個未被升級。
需要下載 2,337 kB 的套件檔。
此操作完成之後，會多佔用 6,413 kB 的磁碟空間。
是否繼續進行 [Y/n]？Y
下載:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main m4 armhf 1.4.16-                                                3 [246 kB]
下載:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main autoconf all 2.6                                                9-1 [589 kB]
下載:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main autotools-dev al                                                l 20120608.1 [73.0 kB]
下載:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main automake all 1:1                                                .11.6-1 [607 kB]
下載:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libltdl-dev armh                                                f 2.4.2-1.1 [203 kB]
下載:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libtool armhf 2.                                                4.2-1.1 [618 kB]
取得 2,337 kB 用了 49s (47.0 kB/s)
選取了原先未選的套件 m4。
（讀取資料庫 ... 目前共安裝了 70264 個檔案和目錄。）
解開 m4（從 .../archives/m4_1.4.16-3_armhf.deb）...
選取了原先未選的套件 autoconf。
解開 autoconf（從 .../autoconf_2.69-1_all.deb）...
選取了原先未選的套件 autotools-dev。
解開 autotools-dev（從 .../autotools-dev_20120608.1_all.deb）...
選取了原先未選的套件 automake。
解開 automake（從 .../automake_1%3a1.11.6-1_all.deb）...
選取了原先未選的套件 libltdl-dev:armhf。
解開 libltdl-dev:armhf（從 .../libltdl-dev_2.4.2-1.1_armhf.deb）...
選取了原先未選的套件 libtool。
解開 libtool（從 .../libtool_2.4.2-1.1_armhf.deb）...
執行 install-info 的觸發程式 ...
執行 man-db 的觸發程式 ...
設定 m4 (1.4.16-3) ...
設定 autoconf (2.69-1) ...
設定 autotools-dev (20120608.1) ...
設定 automake (1:1.11.6-1) ...
update-alternatives: 以 /usr/bin/automake-1.11 提供 自動模式 中的 /usr/bin/autom                                                ake (automake)
設定 libltdl-dev:armhf (2.4.2-1.1) ...
設定 libtool (2.4.2-1.1) ...
pi@raspberrypi ~ $ cd piface/c/
pi@raspberrypi ~/piface/c $ ./autogen.sh && ./configure && make && sudo make ins                                                tall
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:6: installing `./config.guess'
configure.ac:6: installing `./config.sub'
configure.ac:3: installing `./install-sh'
configure.ac:3: installing `./missing'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your proj                                                ect uses.
Makefile.am: installing `./depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unkn                                                own-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain f                                                ormat... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
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 ar... ar
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 mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
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) 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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating piface-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-am
make[1]: Entering directory `/home/pi/piface/c'
depbase=`echo src/piface/pfio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.                                                     -g -O2 -MT src/piface/pfio.lo -MD -MP -MF $depbase.Tpo -c -o src/piface/pfio.l                                                o src/piface/pfio.c &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -MT src/piface/pfio.lo -MD -MP                                                 -MF src/piface/.deps/pfio.Tpo -c src/piface/pfio.c  -fPIC -DPIC -o src/piface/.                                                libs/pfio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -MT src/piface/pfio.lo -MD -MP                                                 -MF src/piface/.deps/pfio.Tpo -c src/piface/pfio.c -o src/piface/pfio.o >/dev/n                                                ull 2>&1
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2   -o libpiface-1.0.la -rp                                                ath /usr/local/lib src/piface/pfio.lo
libtool: link: gcc -shared  -fPIC -DPIC  src/piface/.libs/pfio.o    -O2   -Wl,-s                                                oname -Wl,libpiface-1.0.so.0 -o .libs/libpiface-1.0.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libpiface-1.0.so.0" && ln -s "libpiface-1.0                                                .so.0.0.0" "libpiface-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libpiface-1.0.so" && ln -s "libpiface-1.0.s                                                o.0.0.0" "libpiface-1.0.so")
libtool: link: ar cru .libs/libpiface-1.0.a  src/piface/pfio.o
libtool: link: ranlib .libs/libpiface-1.0.a
libtool: link: ( cd ".libs" && rm -f "libpiface-1.0.la" && ln -s "../libpiface-1                                                .0.la" "libpiface-1.0.la" )
make[1]: Leaving directory `/home/pi/piface/c'
make[1]: Entering directory `/home/pi/piface/c'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libpiface-1.0.la '/u                                                sr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpiface-1.0.so.0.0.0 /usr/local/li                                                b/libpiface-1.0.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libpiface-1.0.so.0.0.0 libpif                                                ace-1.0.so.0 || { rm -f libpiface-1.0.so.0 && ln -s libpiface-1.0.so.0.0.0 libpi                                                face-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpiface-1.0.so.0.0.0 libpif                                                ace-1.0.so || { rm -f libpiface-1.0.so && ln -s libpiface-1.0.so.0.0.0 libpiface                                                -1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libpiface-1.0.lai /usr/local/lib/lib                                                piface-1.0.la
libtool: install: /usr/bin/install -c .libs/libpiface-1.0.a /usr/local/lib/libpi                                                face-1.0.a
libtool: install: chmod 644 /usr/local/lib/libpiface-1.0.a
libtool: install: ranlib /usr/local/lib/libpiface-1.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/                                                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.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/include/libpiface-1.0'
 /usr/bin/install -c -m 644 src/piface/pfio.h '/usr/local/include/libpiface-1.0'
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 piface-1.0.pc '/usr/local/lib/pkgconfig'
make[1]: Leaving directory `/home/pi/piface/c'
pi@raspberrypi ~/piface/c $