Add mmseg 3.2.14; This version is pacthed for compiling errors in MacOS....

Mirror of source code can be found at https://github.com/RobinQu/mmseg;

libmmseg is a Word Identification System for Mandarin Chinese Text Based on Two Variants of the Maximum Matching Algorithm
After `ENV.deparallelize` is left out:

```
brew install --verbose --debug mmseg
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/mmseg.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/Formula/mmseg.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/Formula/mmseg.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/Formula/mmseg.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/automake.rb
==> Downloading https://github.com/RobinQu/mmseg/archive/3.2.15.tar.gz
Already downloaded: /Library/Caches/Homebrew/mmseg-3.2.15.tar.gz
==> Verifying mmseg-3.2.15.tar.gz checksum
tar xf /Library/Caches/Homebrew/mmseg-3.2.15.tar.gz
==> aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
==> glibtoolize --copy --force --ltdl
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
glibtoolize: copying file `config/ltmain.sh'
glibtoolize: putting auxiliary files in `config'.
glibtoolize: copying file `libltdl/config/compile'
glibtoolize: copying file `libltdl/config/config.guess'
glibtoolize: copying file `libltdl/config/config.sub'
glibtoolize: copying file `libltdl/config/depcomp'
glibtoolize: copying file `libltdl/config/install-sh'
glibtoolize: copying file `libltdl/config/missing'
glibtoolize: copying file `libltdl/config/ltmain.sh'
glibtoolize: putting macros in `libltdl/m4'.
glibtoolize: copying file `libltdl/m4/argz.m4'
glibtoolize: copying file `libltdl/m4/libtool.m4'
glibtoolize: copying file `libltdl/m4/ltdl.m4'
glibtoolize: copying file `libltdl/m4/ltoptions.m4'
glibtoolize: copying file `libltdl/m4/ltsugar.m4'
glibtoolize: copying file `libltdl/m4/ltversion.m4'
glibtoolize: copying file `libltdl/m4/lt~obsolete.m4'
glibtoolize: putting libltdl files in `libltdl'.
glibtoolize: copying file `libltdl/COPYING.LIB'
glibtoolize: copying file `libltdl/README'
glibtoolize: copying file `libltdl/Makefile.am'
glibtoolize: copying file `libltdl/configure.ac'
glibtoolize: copying file `libltdl/aclocal.m4'
glibtoolize: copying file `libltdl/Makefile.in'
glibtoolize: copying file `libltdl/config-h.in'
glibtoolize: copying file `libltdl/configure'
glibtoolize: copying file `libltdl/argz_.h'
glibtoolize: copying file `libltdl/argz.c'
glibtoolize: copying file `libltdl/loaders/dld_link.c'
glibtoolize: copying file `libltdl/loaders/dlopen.c'
glibtoolize: copying file `libltdl/loaders/dyld.c'
glibtoolize: copying file `libltdl/loaders/load_add_on.c'
glibtoolize: copying file `libltdl/loaders/loadlibrary.c'
glibtoolize: copying file `libltdl/loaders/shl_load.c'
glibtoolize: copying file `libltdl/lt__dirent.c'
glibtoolize: copying file `libltdl/lt__strl.c'
glibtoolize: copying file `libltdl/libltdl/lt__alloc.h'
glibtoolize: copying file `libltdl/libltdl/lt__dirent.h'
glibtoolize: copying file `libltdl/libltdl/lt__glibc.h'
glibtoolize: copying file `libltdl/libltdl/lt__private.h'
glibtoolize: copying file `libltdl/libltdl/lt__strl.h'
glibtoolize: copying file `libltdl/libltdl/lt_dlloader.h'
glibtoolize: copying file `libltdl/libltdl/lt_error.h'
glibtoolize: copying file `libltdl/libltdl/lt_system.h'
glibtoolize: copying file `libltdl/libltdl/slist.h'
glibtoolize: copying file `libltdl/loaders/preopen.c'
glibtoolize: copying file `libltdl/lt__alloc.c'
glibtoolize: copying file `libltdl/lt_dlloader.c'
glibtoolize: copying file `libltdl/lt_error.c'
glibtoolize: copying file `libltdl/ltdl.c'
glibtoolize: copying file `libltdl/ltdl.h'
glibtoolize: copying file `libltdl/slist.c'
glibtoolize: You should add the contents of the following files to `aclocal.m4':
glibtoolize:   `libltdl/m4/argz.m4'
glibtoolize:   `libltdl/m4/ltdl.m4'
glibtoolize: or else add `AC_CONFIG_MACRO_DIR([libltdl/m4])' to configure.in.
glibtoolize: Remember to add `LTDL_INIT' to configure.in.
glibtoolize: Remember to add `LT_CONFIG_LTDL_DIR([libltdl])' to `configure.in'.
glibtoolize: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in configure.in.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
==> autoreconf -i -f
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
glibtoolize: copying file `config/ltmain.sh'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:21: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:21: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:25: installing 'config/compile'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:40: warning: source file 'css/mmthunk.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:40: warning: source file 'css/SegmenterManager.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/SynonymsDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/segmenter.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/SegmentPkg.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramCorpusReader.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramRecord.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/assert.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/bsd_getopt.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/csr_mmap.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/csr_utils.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/Utf8_16.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/StringTokenizer.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'iniparser/dictionary.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'iniparser/iniparser.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/ThesaurusDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
==> automake --a
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:21: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:21: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:40: warning: source file 'css/mmthunk.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:40: warning: source file 'css/SegmenterManager.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/SynonymsDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/segmenter.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/SegmentPkg.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramCorpusReader.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/UnigramRecord.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/assert.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/bsd_getopt.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/csr_mmap.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/csr_utils.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/Utf8_16.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'utils/StringTokenizer.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'iniparser/dictionary.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'iniparser/iniparser.c' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
src/Makefile.am:40: warning: source file 'css/ThesaurusDict.cpp' is in a subdirectory,
src/Makefile.am:40: but option 'subdir-objects' is disabled
==> ./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local/Cellar/mmseg/3.2.15
configure: WARNING: unrecognized options: --disable-debug
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 clang++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of clang++... none
checking for gcc... clang
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... none
checking build system type... x86_64-apple-darwin13.3.0
checking host system type... x86_64-apple-darwin13.3.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/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 clang... /Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.3.0 file names to x86_64-apple-darwin13.3.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.3.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
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... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.3.0 dyld
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 how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
./configure: line 15545: SIC_WITH_READLINE: command not found
./configure: line 15547: SIC_VAR_SYS_ERRLIST: command not found
./configure: line 15548: SIC_VAR_SYS_SIGLIST: command not found
checking for bzero... yes
checking for calloc... yes
checking for strchr... yes
checking for strrchr... yes
checking for basename... yes
checking for strspn... yes
checking for strcspn... yes
checking for strerror... yes
checking for strsignal... yes
checking for vfprintf... yes
checking for waitpid... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-debug
------------------------------------------------------------------------
Configuration:

  Source code location:       .
  Compiler:                   clang
  Compiler flags:             -g -O2
  Host System Type:           x86_64-apple-darwin13.3.0
  Install path:               /usr/local/Cellar/mmseg/3.2.15

  See config.h for further configuration information.
------------------------------------------------------------------------
==> make install
Making install in src
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o mmthunk.lo `test -f 'css/mmthunk.cpp' || echo './'`css/mmthunk.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o SegmenterManager.lo `test -f 'css/SegmenterManager.cpp' || echo './'`css/SegmenterManager.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o SynonymsDict.lo `test -f 'css/SynonymsDict.cpp' || echo './'`css/SynonymsDict.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o UnigramDict.lo `test -f 'css/UnigramDict.cpp' || echo './'`css/UnigramDict.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o segmenter.lo `test -f 'css/segmenter.cpp' || echo './'`css/segmenter.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o SegmentPkg.lo `test -f 'css/SegmentPkg.cpp' || echo './'`css/SegmentPkg.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o UnigramCorpusReader.lo `test -f 'css/UnigramCorpusReader.cpp' || echo './'`css/UnigramCorpusReader.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o UnigramRecord.lo `test -f 'css/UnigramRecord.cpp' || echo './'`css/UnigramRecord.cpp
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/mmthunk.cpp  -fno-common -DPIC -o .libs/mmthunk.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SegmentPkg.cpp  -fno-common -DPIC -o .libs/SegmentPkg.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramDict.cpp  -fno-common -DPIC -o .libs/UnigramDict.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/segmenter.cpp  -fno-common -DPIC -o .libs/segmenter.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SynonymsDict.cpp  -fno-common -DPIC -o .libs/SynonymsDict.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SegmenterManager.cpp  -fno-common -DPIC -o .libs/SegmenterManager.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramCorpusReader.cpp  -fno-common -DPIC -o .libs/UnigramCorpusReader.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramRecord.cpp  -fno-common -DPIC -o .libs/UnigramRecord.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramRecord.cpp -o UnigramRecord.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SegmenterManager.cpp -o SegmenterManager.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramDict.cpp -o UnigramDict.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/mmthunk.cpp -o mmthunk.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SegmentPkg.cpp -o SegmentPkg.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/segmenter.cpp -o segmenter.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/UnigramCorpusReader.cpp -o UnigramCorpusReader.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o assert.lo `test -f 'utils/assert.c' || echo './'`utils/assert.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/assert.c  -fno-common -DPIC -o .libs/assert.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/SynonymsDict.cpp -o SynonymsDict.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/assert.c -o assert.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o bsd_getopt.lo `test -f 'utils/bsd_getopt.c' || echo './'`utils/bsd_getopt.c
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o csr_mmap.lo `test -f 'utils/csr_mmap.c' || echo './'`utils/csr_mmap.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/bsd_getopt.c  -fno-common -DPIC -o .libs/bsd_getopt.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/csr_mmap.c  -fno-common -DPIC -o .libs/csr_mmap.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/bsd_getopt.c -o bsd_getopt.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/csr_mmap.c -o csr_mmap.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o csr_utils.lo `test -f 'utils/csr_utils.c' || echo './'`utils/csr_utils.c
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o Utf8_16.lo `test -f 'utils/Utf8_16.cpp' || echo './'`utils/Utf8_16.cpp
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o StringTokenizer.lo `test -f 'utils/StringTokenizer.cpp' || echo './'`utils/StringTokenizer.cpp
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o dictionary.lo `test -f 'iniparser/dictionary.c' || echo './'`iniparser/dictionary.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/csr_utils.c  -fno-common -DPIC -o .libs/csr_utils.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c iniparser/dictionary.c  -fno-common -DPIC -o .libs/dictionary.o
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE   -fPIC	 -g -O2 -c -o iniparser.lo `test -f 'iniparser/iniparser.c' || echo './'`iniparser/iniparser.c
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c utils/Utf8_16.cpp  -fno-common -DPIC -o .libs/Utf8_16.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c utils/StringTokenizer.cpp  -fno-common -DPIC -o .libs/StringTokenizer.o
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o ThesaurusDict.lo `test -f 'css/ThesaurusDict.cpp' || echo './'`css/ThesaurusDict.cpp
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c iniparser/iniparser.c  -fno-common -DPIC -o .libs/iniparser.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c utils/csr_utils.c -o csr_utils.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/ThesaurusDict.cpp  -fno-common -DPIC -o .libs/ThesaurusDict.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c iniparser/dictionary.c -o dictionary.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c utils/Utf8_16.cpp -o Utf8_16.o >/dev/null 2>&1
clang++ -DHAVE_CONFIG_H -I. -I..  -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE    -g -O2 -c -o mmseg_main.o mmseg_main.cpp
make[1]: *** No rule to make target `../src/libmmseg.la', needed by `mmseg'.  Stop.
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -fPIC -g -O2 -c iniparser/iniparser.c -o iniparser.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c utils/StringTokenizer.cpp -o StringTokenizer.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -c css/ThesaurusDict.cpp -o ThesaurusDict.o >/dev/null 2>&1
make: *** [install-recursive] Error 1
/usr/local/Library/Homebrew/formula.rb:558:in `block in system'
BuildError: Failed executing: make install
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 0ec5f8649fa7a3b9fc782123676c0210c9582000
CPU: 8-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 6.0 => /Applications/Xcode6-Beta4.app/Contents/Developer
CLT: 5.1.0.0.1.1396320587
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: mmseg 3.2.15 did not build
Logs:
     /Users/robinqu/Library/Logs/Homebrew/mmseg/01.aclocal
     /Users/robinqu/Library/Logs/Homebrew/mmseg/02.glibtoolize
     /Users/robinqu/Library/Logs/Homebrew/mmseg/03.autoreconf
     /Users/robinqu/Library/Logs/Homebrew/mmseg/04.automake
     /Users/robinqu/Library/Logs/Homebrew/mmseg/05.configure
     /Users/robinqu/Library/Logs/Homebrew/mmseg/05.configure.cc
     /Users/robinqu/Library/Logs/Homebrew/mmseg/06.make
     /Users/robinqu/Library/Logs/Homebrew/mmseg/06.make.cc
     /Users/robinqu/Library/Logs/Homebrew/mmseg/config.log

These open issues may also help:
Add mmseg 3.2.14; This version is pacthed for compiling errors in MacOS.... (https://github.com/Homebrew/homebrew/pull/31659)
```