- Source Address: Https://github.com/google/snappy
Download git clone https://github.com/google/snappy
- compile
- into the snappy source directory, execute the command:./autogen.sh
Error "./autogen.sh:line 3:aclocal:command not found"
via HT Tp://superuser.com/questions/657925/cygwin-rtorrent-installing-libtorrent-autogen-sh-aclocal-not-found This article learned that The system does not have Automake installed,
Execute command: BREAW install automake
Error "-bash:brew:command not found"
Install brew
Execute command: Ruby- E "$ (curl-f sSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and then install Automake, Execute command: Brew install automake
Execute command:./autogen.sh
Error: "./autogen.sh:line 5:libtoolize:command not found"
Install LIBT ool, execute command: Brew install Libtool
continue to execute command:./autogen.sh
Error "./autogen.sh:line 5:libtoolize:command not found"
through this Article: Http://stackoverflow.com/questions/15448582/installed-libtool-but-libtoolize-not-found
I was revising. Autogen.sh Change the fifth line to glibtoolize--copy
There's also a change on the Web (I didn't try):
case ' uname ' in darwin*) glibtoolize --copy;; *) libtoolize --copy;; Esac
Execute command:./autogen.sh
Error: "Configure.ac:42:error:possibly undefined macro:ac_define
If this token and others is legitimate, please use M4_pattern_allow.
See the Autoconf documentation.
configure.ac:44:error:possibly undefined macro:ac_msg_failure "
Through this article Http://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error
I installed the pkgconfig and executed the command: Brew install Pkgconfig
Error "Rm:autom4te.cache/output.0:permission denied
Rm:autom4te.cache/output.1:permission denied
Rm:autom4te.cache/requests:permission denied
Rm:autom4te.cache/traces.0:permission denied
Rm:autom4te.cache/traces.1:permission denied
Rm:autom4te.cache:Directory not empty
”
Change to sudo, execute command: sudo./autogen.sh
-Execute configure, execute command:./configure
-Execute make, execute command: Make
-Execute make install, execute command: Make install
3. Verification
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Compile snappy Static library under Macox