JUST DO IT ~

          我只想當個程序員

          mac osx10 構建 nanomsg



          https://github.com/nanomsg/nanomsg/issues/210


          I successfully build nanomsg . mac osx 10.10.2


          brew install libtool 
          brew install autoconf
          brew install automake
          glibtool --help
          sh autogen.sh
           ./configure
          make
          make check





          When reporting a bug, please describe a test case to reproduce it and
          include the following information:

             host-triplet:   x86_64-apple-darwin14.1.0
             shell:          /bin/sh
             compiler:       clang
             compiler flags: -g -O2
             linker:         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld (gnu? no)
             version:        glibtool (GNU libtool) 2.4.5
             automake:       automake (GNU automake) 1.15
             autoconf:       autoconf (GNU Autoconf) 2.69



          Makefile.am:394: *** missing separator.  Stop.
          GMac:nanomsg user$ make -f=Makefile.am 
          make: =Makefile.am: No such file or directory
          make: *** No rule to make target `=Makefile.am'.  Stop.
          GMac:nanomsg user$ make -f Makefile.am 
          Makefile.am:394: *** missing separator.  Stop.
          GMac:nanomsg user$ make -f Makefile.am  
          Makefile.am:394: *** missing separator.  Stop.
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ brew install libtools
          Error: No available formula for libtools 
          Searching formulae...
          Searching taps...
          GMac:nanomsg user$ brew install libtool
          ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.5.yosemite.bottle.tar.gz
          ######################################################################## 100.0%
          ==> Pouring libtool-2.4.5.yosemite.bottle.tar.gz
          ==> Caveats
          In order to prevent conflicts with Apple's own libtool we have prepended a "g"
          so, you have instead: glibtool and glibtoolize.
          ==> Summary
          ??  /usr/local/Cellar/libtool/2.4.5: 69 files, 3.8M
          GMac:nanomsg user$ cd /usr/local/Cellar/libtool/2.4.5/
          GMac:2.4.5 user$ ls
          AUTHORS ChangeLog NEWS TODO include share
          COPYING INSTALL_RECEIPT.json README bin lib
          GMac:2.4.5 user$ cd bin/
          GMac:bin user$ ls
          glibtool glibtoolize
          GMac:bin user$ glibtool
          Usage: /usr/local/bin/glibtool [OPTION]... [MODE-ARG]...
          Try 'glibtool --help' for more information.
          glibtool:   error: you must specify a MODE
          GMac:bin user$ 
          GMac:bin user$ 
          GMac:bin user$ ls
          glibtool glibtoolize
          GMac:bin user$ pwd
          /usr/local/Cellar/libtool/2.4.5/bin
          GMac:bin user$ cd ~/ClionProjects/
          .DS_Store  cppstudy/  nanomsg/   
          GMac:bin user$ cd ~/ClionProjects/nanomsg/
          GMac:nanomsg user$ ls
          AUTHORS README autogen.sh libnanomsg.pc.in rfc
          CMakeLists.txt README.md configure.ac m4 src
          COPYING RELEASING debian package_version.sh tests
          Makefile.am abi_version.sh doc perf tools
          GMac:nanomsg user$ make
          make: *** No targets specified and no makefile found.  Stop.
          GMac:nanomsg user$ make file=Makefile.am 
          make: *** No targets specified and no makefile found.  Stop.
          GMac:nanomsg user$ 
          GMac:nanomsg user$ sh autogen.sh 
          autoreconf: Entering directory `.'
          autoreconf: configure.ac: not using Gettext
          autoreconf: running: aclocal -I m4 --output=aclocal.m4t
          Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
          autoreconf: failed to run aclocal: No such file or directory
          GMac:nanomsg user$ autoreconf
          Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
          autoreconf: failed to run aclocal: No such file or directory
          GMac:nanomsg user$ autoreconf --help
          Usage: /usr/local/bin/autoreconf [OPTION]... [DIRECTORY]...

          Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
          (formerly `gettextize'), and `glibtoolize' where appropriate)
          repeatedly to remake the GNU Build System files in specified
          DIRECTORIES and their subdirectories (defaulting to `.').

          By default, it only remakes those files that are older than their
          sources.  If you install new versions of the GNU Build System,
          you can make `autoreconf' remake all of the files by giving it the
          `--force' option.

          Operation modes:
            -h, --help               print this help, then exit
            -V, --version            print version number, then exit
            -v, --verbose            verbosely report processing
            -d, --debug              don't remove temporary files
            -f, --force              consider all files obsolete
            -i, --install            copy missing auxiliary files
                --no-recursive       don't rebuild sub-packages
            -s, --symlink            with -i, install symbolic links instead of copies
            -m, --make               when applicable, re-run ./configure && make
            -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [syntax]

          Warning categories include:
            `cross'         cross compilation issues
            `gnu'           GNU coding standards (default in gnu and gnits modes)
            `obsolete'      obsolete features or constructions
            `override'      user redefinitions of Automake rules or variables
            `portability'   portability issues (default in gnu and gnits modes)
            `syntax'        dubious syntactic constructs (default)
            `unsupported'   unsupported or incomplete features (default)
            `all'           all the warnings
            `no-CATEGORY'   turn off warnings in CATEGORY
            `none'          turn off all the warnings
            `error'         treat warnings as errors

          The environment variable `WARNINGS' is honored.  Some subtools might
          support other warning types, using `all' is encouraged.

          Library directories:
            -B, --prepend-include=DIR  prepend directory DIR to search path
            -I, --include=DIR          append directory DIR to search path

          The environment variables AUTOM4TE, AUTOCONF, AUTOHEADER, AUTOMAKE,
          ACLOCAL, AUTOPOINT, LIBTOOLIZE, M4, and MAKE are honored.

          Report bugs to <bug-autoconf@gnu.org>.
          GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
          General help using GNU software: <http://www.gnu.org/gethelp/>.
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ sh autogen.sh 
          autoreconf: Entering directory `.'
          autoreconf: configure.ac: not using Gettext
          autoreconf: running: aclocal -I m4 --output=aclocal.m4t
          Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
          autoreconf: failed to run aclocal: No such file or directory
          GMac:nanomsg user$ which aclocal
          GMac:nanomsg user$ 
          GMac:nanomsg user$ cmake
          Usage

            cmake [options] <path-to-source>
            cmake [options] <path-to-existing-build>

          Specify a source directory to (re-)generate a build system for it in the
          current working directory.  Specify an existing build directory to
          re-generate its build system.

          Run 'cmake --help' for more information.

          GMac:nanomsg user$ cmake --help
          Usage

            cmake [options] <path-to-source>
            cmake [options] <path-to-existing-build>

          Specify a source directory to (re-)generate a build system for it in the
          current working directory.  Specify an existing build directory to
          re-generate its build system.

          Options
            -C <initial-cache>          = Pre-load a script to populate the cache.
            -D <var>:<type>=<value>     = Create a cmake cache entry.
            -U <globbing_expr>          = Remove matching entries from CMake cache.
            -G <generator-name>         = Specify a build system generator.
            -T <toolset-name>           = Specify toolset name if supported by
                                          generator.
            -A <platform-name>          = Specify platform name if supported by
                                          generator.
            -Wno-dev                    = Suppress developer warnings.
            -Wdev                       = Enable developer warnings.
            -E                          = CMake command mode.
            -L[A][H]                    = List non-advanced cached variables.
            --build <dir>               = Build a CMake-generated project binary tree.
            -N                          = View mode only.
            -P <file>                   = Process script mode.
            --find-package              = Run in pkg-config like mode.
            --graphviz=[file]           = Generate graphviz of dependencies, see
                                          CMakeGraphVizOptions.cmake for more.
            --system-information [file] = Dump information about this system.
            --debug-trycompile          = Do not delete the try_compile build tree.
                                          Only useful on one try_compile at a time.
            --debug-output              = Put cmake in a debug mode.
            --trace                     = Put cmake in trace mode.
            --warn-uninitialized        = Warn about uninitialized values.
            --warn-unused-vars          = Warn about unused variables.
            --no-warn-unused-cli        = Don't warn about command line options.
            --check-system-vars         = Find problems with variable usage in system
                                          files.
            --help,-help,-usage,-h,-H,/?= Print usage information and exit.
            --version,-version,/V [<f>] = Print version number and exit.
            --help-full [<f>]           = Print all help manuals and exit.
            --help-manual <man> [<f>]   = Print one help manual and exit.
            --help-manual-list [<f>]    = List help manuals available and exit.
            --help-command <cmd> [<f>]  = Print help for one command and exit.
            --help-command-list [<f>]   = List commands with help available and exit.
            --help-commands [<f>]       = Print cmake-commands manual and exit.
            --help-module <mod> [<f>]   = Print help for one module and exit.
            --help-module-list [<f>]    = List modules with help available and exit.
            --help-modules [<f>]        = Print cmake-modules manual and exit.
            --help-policy <cmp> [<f>]   = Print help for one policy and exit.
            --help-policy-list [<f>]    = List policies with help available and exit.
            --help-policies [<f>]       = Print cmake-policies manual and exit.
            --help-property <prop> [<f>]= Print help for one property and exit.
            --help-property-list [<f>]  = List properties with help available and exit.
            --help-properties [<f>]     = Print cmake-properties manual and exit.
            --help-variable var [<f>]   = Print help for one variable and exit.
            --help-variable-list [<f>]  = List variables with help available and exit.
            --help-variables [<f>]      = Print cmake-variables manual and exit.

          Generators

          The following generators are available on this platform:
            Unix Makefiles              = Generates standard UNIX makefiles.
            Ninja                       = Generates build.ninja files (experimental).
            Xcode                       = Generate Xcode project files.
            CodeBlocks - Ninja          = Generates CodeBlocks project files.
            CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
            CodeLite - Ninja            = Generates CodeLite project files.
            CodeLite - Unix Makefiles   = Generates CodeLite project files.
            Eclipse CDT4 - Ninja        = Generates Eclipse CDT 4.0 project files.
            Eclipse CDT4 - Unix Makefiles
                                        = Generates Eclipse CDT 4.0 project files.
            KDevelop3                   = Generates KDevelop 3 project files.
            KDevelop3 - Unix Makefiles  = Generates KDevelop 3 project files.
            Kate - Ninja                = Generates Kate project files.
            Kate - Unix Makefiles       = Generates Kate project files.
            Sublime Text 2 - Ninja      = Generates Sublime Text 2 project files.
            Sublime Text 2 - Unix Makefiles
                                        = Generates Sublime Text 2 project files.

          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ ls
          AUTHORS README autogen.sh libnanomsg.pc.in rfc
          CMakeLists.txt README.md configure.ac m4 src
          COPYING RELEASING debian package_version.sh tests
          Makefile.am abi_version.sh doc perf tools
          GMac:nanomsg user$ ./configure
          -bash: ./configure: No such file or directory
          GMac:nanomsg user$ ls -all
          total 168
          drwxr-xr-x  25 user  staff    850  3 24 23:03 .
          drwxrwxrwx   5 user  staff    170  3 24 22:50 ..
          drwxr-xr-x  13 user  staff    442  3 25 20:00 .git
          -rw-r--r--   1 user  staff   1118  3 24 23:01 .gitignore
          drwxr-xr-x   8 user  staff    272  3 24 23:03 .idea
          -rw-r--r--   1 user  staff   2555  3 24 23:01 AUTHORS
          -rw-r--r--   1 user  staff   4423  3 24 23:01 CMakeLists.txt
          -rw-r--r--   1 user  staff   1069  3 24 23:01 COPYING
          -rw-r--r--   1 user  staff  17418  3 24 23:01 Makefile.am
          -rw-r--r--   1 user  staff   1311  3 24 23:01 README
          lrwxr-xr-x   1 user  staff      6  3 24 23:01 README.md -> README
          -rw-r--r--   1 user  staff   1266  3 24 23:01 RELEASING
          -rwxr-xr-x   1 user  staff   1823  3 24 23:01 abi_version.sh
          -rwxr-xr-x   1 user  staff   1180  3 24 23:01 autogen.sh
          -rw-r--r--   1 user  staff  13200  3 24 23:01 configure.ac
          drwxr-xr-x   8 user  staff    272  3 24 23:01 debian
          drwxr-xr-x  43 user  staff   1462  3 24 23:01 doc
          -rw-r--r--   1 user  staff    317  3 24 23:01 libnanomsg.pc.in
          drwxr-xr-x   4 user  staff    136  3 24 23:01 m4
          -rwxr-xr-x   1 user  staff   1674  3 24 23:01 package_version.sh
          drwxr-xr-x   9 user  staff    306  3 24 23:01 perf
          drwxr-xr-x  21 user  staff    714  3 24 23:01 rfc
          drwxr-xr-x  25 user  staff    850  3 24 23:01 src
          drwxr-xr-x  37 user  staff   1258  3 24 23:01 tests
          drwxr-xr-x   6 user  staff    204  3 24 23:01 tools
          GMac:nanomsg user$ cd tools
          GMac:tools user$ ls
          nanocat.c options.c options.h tcpmuxd.c
          GMac:tools user$ cd ..
          GMac:nanomsg user$ ls
          AUTHORS README autogen.sh libnanomsg.pc.in rfc
          CMakeLists.txt README.md configure.ac m4 src
          COPYING RELEASING debian package_version.sh tests
          Makefile.am abi_version.sh doc perf tools
          GMac:nanomsg user$ make file=Makefile.am 
          make: *** No targets specified and no makefile found.  Stop.
          GMac:nanomsg user$ 
          GMac:nanomsg user$ which litools
          GMac:nanomsg user$ which litool
          GMac:nanomsg user$ which libtool
          /usr/bin/libtool
          GMac:nanomsg user$ ls -all /usr/bin/libtool 
          -rwxr-xr-x  1 root  wheel  14160  9 29 13:38 /usr/bin/libtool
          GMac:nanomsg user$ which make
          /usr/bin/make
          GMac:nanomsg user$ make --help
          Usage: make [options] [target] ...
          Options:
            -b, -m                      Ignored for compatibility.
            -B, --always-make           Unconditionally make all targets.
            -C DIRECTORY, --directory=DIRECTORY
                                        Change to DIRECTORY before doing anything.
            -d                          Print lots of debugging information.
            --debug[=FLAGS]             Print various types of debugging information.
            -e, --environment-overrides
                                        Environment variables override makefiles.
            -f FILE, --file=FILE, --makefile=FILE
                                        Read FILE as a makefile.
            -h, --help                  Print this message and exit.
            -i, --ignore-errors         Ignore errors from commands.
            -I DIRECTORY, --include-dir=DIRECTORY
                                        Search DIRECTORY for included makefiles.
            -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
            -k, --keep-going            Keep going when some targets can't be made.
            -l [N], --load-average[=N], --max-load[=N]
                                        Don't start multiple jobs unless load is below N.
            -L, --check-symlink-times   Use the latest mtime between symlinks and target.
            -n, --just-print, --dry-run, --recon
                                        Don't actually run any commands; just print them.
            -o FILE, --old-file=FILE, --assume-old=FILE
                                        Consider FILE to be very old and don't remake it.
            -p, --print-data-base       Print make's internal database.
            -q, --question              Run no commands; exit status says if up to date.
            -r, --no-builtin-rules      Disable the built-in implicit rules.
            -R, --no-builtin-variables  Disable the built-in variable settings.
            -s, --silent, --quiet       Don't echo commands.
            -S, --no-keep-going, --stop
                                        Turns off -k.
            -t, --touch                 Touch targets instead of remaking them.
            -v, --version               Print the version number of make and exit.
            -w, --print-directory       Print the current directory.
            --no-print-directory        Turn off -w, even if it was turned on implicitly.
            -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                                        Consider FILE to be infinitely new.
            --warn-undefined-variables  Warn when an undefined variable is referenced.
            -N OPTION, --NeXT-option=OPTION
                                        Turn on value of NeXT OPTION.

          This program built for i386-apple-darwin11.3.0
          Report bugs to <bug-make@gnu.org>
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ /usr/bin/libtool  --help
          error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `-' in: --help
          Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
          Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
          GMac:nanomsg user$ 
          GMac:nanomsg user$ glibtool
          Usage: /usr/local/bin/glibtool [OPTION]... [MODE-ARG]...
          Try 'glibtool --help' for more information.
          glibtool:   error: you must specify a MODE
          GMac:nanomsg user$ glibtool --help
          Usage: /usr/local/bin/glibtool [OPTION]... [MODE-ARG]...

          Provide generalized library-building support services.

          Options:
                 --config             show all configuration variables
                 --debug              enable verbose shell tracing
             -n, --dry-run            display commands without modifying any files
                 --features           display basic configuration information and exit
                 --mode=MODE          use operation mode MODE
                 --no-warnings        equivalent to '-Wnone'
                 --preserve-dup-deps  don't remove duplicate dependency libraries
                 --quiet, --silent    don't print informational messages
                 --tag=TAG            use configuration variables from tag TAG
             -v, --verbose            print more informational messages than default
                 --version            print version information
             -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [all]
             -h, --help, --help-all   print short, long, or detailed help message


          Warning categories include:
                 'all'          show all warnings
                 'none'         turn off all the warnings
                 'error'        warnings are treated as fatal errors

          MODE must be one of the following:

                 clean           remove files from the build directory
                 compile         compile a source file into a libtool object
                 execute         automatically set library path, then run a program
                 finish          complete the installation of libtool libraries
                 install         install libraries or executables
                 link            create a library or an executable
                 uninstall       remove libraries from an installed directory

          MODE-ARGS vary depending on the MODE.  When passed as first option,
          '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
          Try 'glibtool --help --mode=MODE' for a more detailed description of MODE.

          When reporting a bug, please describe a test case to reproduce it and
          include the following information:

                 host-triplet:   x86_64-apple-darwin14.1.0
                 shell:          /bin/sh
                 compiler:       clang
                 compiler flags: -g -O2
                 linker:         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld (gnu? no)
                 version:        glibtool (GNU libtool) 2.4.5
                 automake:       
                 autoconf:       autoconf (GNU Autoconf) 2.69

          Report bugs to <bug-libtool@gnu.org>.
          GNU libtool home page: <http://www.gnu.org/software/libtool/>.
          General help using GNU software: <http://www.gnu.org/gethelp/>.
          GMac:nanomsg user$ brew install automake
          ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/automake-1.15.yosemite.bottle.tar.gz
          ######################################################################## 100.0%
          ==> Pouring automake-1.15.yosemite.bottle.tar.gz
          ??  /usr/local/Cellar/automake/1.15: 130 files, 3.2M
          GMac:nanomsg user$ 

          GMac:nanomsg user$ glibtool --help
          Usage: /usr/local/bin/glibtool [OPTION]... [MODE-ARG]...

          Provide generalized library-building support services.

          Options:
                 --config             show all configuration variables
                 --debug              enable verbose shell tracing
             -n, --dry-run            display commands without modifying any files
                 --features           display basic configuration information and exit
                 --mode=MODE          use operation mode MODE
                 --no-warnings        equivalent to '-Wnone'
                 --preserve-dup-deps  don't remove duplicate dependency libraries
                 --quiet, --silent    don't print informational messages
                 --tag=TAG            use configuration variables from tag TAG
             -v, --verbose            print more informational messages than default
                 --version            print version information
             -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [all]
             -h, --help, --help-all   print short, long, or detailed help message


          Warning categories include:
                 'all'          show all warnings
                 'none'         turn off all the warnings
                 'error'        warnings are treated as fatal errors

          MODE must be one of the following:

                 clean           remove files from the build directory
                 compile         compile a source file into a libtool object
                 execute         automatically set library path, then run a program
                 finish          complete the installation of libtool libraries
                 install         install libraries or executables
                 link            create a library or an executable
                 uninstall       remove libraries from an installed directory

          MODE-ARGS vary depending on the MODE.  When passed as first option,
          '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
          Try 'glibtool --help --mode=MODE' for a more detailed description of MODE.

          When reporting a bug, please describe a test case to reproduce it and
          include the following information:

                 host-triplet:   x86_64-apple-darwin14.1.0
                 shell:          /bin/sh
                 compiler:       clang
                 compiler flags: -g -O2
                 linker:         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld (gnu? no)
                 version:        glibtool (GNU libtool) 2.4.5
                 automake:       automake (GNU automake) 1.15
                 autoconf:       autoconf (GNU Autoconf) 2.69



          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ sh autogen.sh
          autoreconf: Entering directory `.'
          autoreconf: configure.ac: not using Gettext
          autoreconf: running: aclocal --force -I m4
          autoreconf: configure.ac: tracing
          autoreconf: running: glibtoolize --copy --force
          glibtoolize: putting auxiliary files in '.'.
          glibtoolize: copying file './ltmain.sh'
          glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
          glibtoolize: copying file 'm4/libtool.m4'
          glibtoolize: copying file 'm4/ltoptions.m4'
          glibtoolize: copying file 'm4/ltsugar.m4'
          glibtoolize: copying file 'm4/ltversion.m4'
          glibtoolize: copying file 'm4/lt~obsolete.m4'
          autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
          autoreconf: configure.ac: not using Autoheader
          autoreconf: running: automake --add-missing --copy --force-missing
          configure.ac:60: installing './compile'
          configure.ac:36: installing './config.guess'
          configure.ac:36: installing './config.sub'
          configure.ac:31: installing './install-sh'
          configure.ac:31: installing './missing'
          Makefile.am: installing './depcomp'
          parallel-tests: installing './test-driver'
          autoreconf: Leaving directory `.'
          GMac:nanomsg user$ ./configure
          checking for a BSD-compatible install... /usr/bin/install -c
          checking whether build environment is sane... yes
          checking for a thread-safe mkdir -p... ./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 UID '501' is supported by ustar format... yes
          checking whether GID '20' is supported by ustar format... yes
          checking how to create a ustar tar archive... gnutar
          checking whether make supports nested variables... (cached) yes
          checking build system type... x86_64-apple-darwin14.1.0
          checking host system type... x86_64-apple-darwin14.1.0
          checking for a sed that does not truncate output... /usr/bin/sed
          checking for gawk... (cached) awk
          configure: nanomsg package version: 0.5-beta-85-gd530bfe
          configure: nanomsg ABI version: 2.1.2
          checking for style of include used by make... GNU
          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 whether gcc understands -c and -o together... yes
          checking dependency style of gcc... gcc3
          checking for gcc option to accept ISO C99... none needed
          checking whether we are using ICC compiler... no
          checking whether we are using Sun Studio compiler... no
          checking whether we are using clang compiler... yes
          checking whether we are using HP aCC compiler... no
          checking whether ln -s works... yes
          checking whether ln -s works... yes
          checking if compiler needs -Werror to reject unknown flags... yes
          checking whether pthreads work without any flags... yes
          checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
          checking if more special flags are required for pthreads... -D_THREAD_SAFE
          checking for PTHREAD_PRIO_INHERIT... yes
          checking how to run the C preprocessor... gcc -E
          checking for grep that handles long lines and -e... /usr/bin/grep
          checking for egrep... /usr/bin/grep -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 netinet/in.h usability... yes
          checking netinet/in.h presence... yes
          checking for netinet/in.h... yes
          checking netdb.h usability... yes
          checking netdb.h presence... yes
          checking for netdb.h... yes
          checking arpa/inet.h usability... yes
          checking arpa/inet.h presence... yes
          checking for arpa/inet.h... yes
          checking for unistd.h... (cached) yes
          checking sys/socket.h usability... yes
          checking sys/socket.h presence... yes
          checking for sys/socket.h... yes
          checking sys/ioctl.h usability... yes
          checking sys/ioctl.h presence... yes
          checking for sys/ioctl.h... yes
          checking for stdint.h... (cached) yes
          checking for eventfd... no
          checking for pipe... yes
          checking for pipe2... no
          checking for gethrtime... no
          checking for CLOCK_MONOTONIC... no
          checking for clock_gettime in -lrt... no
          checking for clock_gettime... no
          checking for poll... yes
          checking for epoll_create... no
          checking for kqueue... yes
          checking for getifaddrs... yes
          checking for accept4... no
          checking for library containing getaddrinfo_a... no
          checking for library containing socketpair... none required
          checking for library containing sem_wait... none required
          checking for msghdr.msg_control... yes
          checking how to print strings... printf
          checking for a sed that does not truncate output... (cached) /usr/bin/sed
          checking for fgrep... /usr/bin/grep -F
          checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
          checking if the linker (/Applications/Xcode.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 the maximum length of command line arguments... 196608
          checking how to convert x86_64-apple-darwin14.1.0 file names to x86_64-apple-darwin14.1.0 format... func_convert_file_noop
          checking how to convert x86_64-apple-darwin14.1.0 file names to toolchain format... func_convert_file_noop
          checking for /Applications/Xcode.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 gcc object... ok
          checking for sysroot... no
          checking for a working dd... /bin/dd
          checking how to truncate binary pipes... /bin/dd bs=4096 count=1
          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 for dlfcn.h... yes
          checking for objdir... .libs
          checking if gcc supports -fno-rtti -fno-exceptions... yes
          checking for gcc option to produce PIC... -fno-common -DPIC
          checking if gcc PIC flag -fno-common -DPIC works... yes
          checking if gcc static flag -static works... no
          checking if gcc supports -c -o file.o... yes
          checking if gcc supports -c -o file.o... (cached) yes
          checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
          checking dynamic linker characteristics... darwin14.1.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 for bash... /bin/bash
          checking if dolt supports this host... yes, replacing libtool
          checking that generated files are newer than configure... done
          configure: creating ./config.status
          config.status: creating Makefile
          config.status: creating libnanomsg.pc
          config.status: executing depfiles commands
          config.status: executing libtool commands
          GMac:nanomsg user$ make
            CC       src/core/libnanomsg_la-ep.lo
            CC       src/core/libnanomsg_la-epbase.lo
            CC       src/core/libnanomsg_la-global.lo
            CC       src/core/libnanomsg_la-pipe.lo
            CC       src/core/libnanomsg_la-poll.lo
            CC       src/core/libnanomsg_la-sock.lo
            CC       src/core/libnanomsg_la-sockbase.lo
            CC       src/core/libnanomsg_la-symbol.lo
            CC       src/aio/libnanomsg_la-ctx.lo
            CC       src/aio/libnanomsg_la-fsm.lo
            CC       src/aio/libnanomsg_la-poller.lo
            CC       src/aio/libnanomsg_la-pool.lo
            CC       src/aio/libnanomsg_la-timer.lo
            CC       src/aio/libnanomsg_la-timerset.lo
            CC       src/aio/libnanomsg_la-usock.lo
            CC       src/aio/libnanomsg_la-worker.lo
            CC       src/utils/libnanomsg_la-alloc.lo
            CC       src/utils/libnanomsg_la-atomic.lo
            CC       src/utils/libnanomsg_la-chunk.lo
            CC       src/utils/libnanomsg_la-chunkref.lo
            CC       src/utils/libnanomsg_la-clock.lo
            CC       src/utils/libnanomsg_la-closefd.lo
            CC       src/utils/libnanomsg_la-efd.lo
            CC       src/utils/libnanomsg_la-err.lo
            CC       src/utils/libnanomsg_la-glock.lo
            CC       src/utils/libnanomsg_la-hash.lo
            CC       src/utils/libnanomsg_la-list.lo
            CC       src/utils/libnanomsg_la-msg.lo
            CC       src/utils/libnanomsg_la-mutex.lo
            CC       src/utils/libnanomsg_la-queue.lo
            CC       src/utils/libnanomsg_la-random.lo
            CC       src/utils/libnanomsg_la-sem.lo
            CC       src/utils/libnanomsg_la-sleep.lo
            CC       src/utils/libnanomsg_la-stopwatch.lo
            CC       src/utils/libnanomsg_la-thread.lo
            CC       src/utils/libnanomsg_la-wire.lo
            CC       src/protocols/bus/libnanomsg_la-bus.lo
            CC       src/protocols/bus/libnanomsg_la-xbus.lo
            CC       src/protocols/pipeline/libnanomsg_la-push.lo
            CC       src/protocols/pipeline/libnanomsg_la-pull.lo
            CC       src/protocols/pipeline/libnanomsg_la-xpull.lo
            CC       src/protocols/pipeline/libnanomsg_la-xpush.lo
            CC       src/protocols/pair/libnanomsg_la-pair.lo
            CC       src/protocols/pair/libnanomsg_la-xpair.lo
            CC       src/protocols/pubsub/libnanomsg_la-pub.lo
            CC       src/protocols/pubsub/libnanomsg_la-sub.lo
            CC       src/protocols/pubsub/libnanomsg_la-trie.lo
            CC       src/protocols/pubsub/libnanomsg_la-xpub.lo
            CC       src/protocols/pubsub/libnanomsg_la-xsub.lo
            CC       src/protocols/reqrep/libnanomsg_la-req.lo
            CC       src/protocols/reqrep/libnanomsg_la-rep.lo
            CC       src/protocols/reqrep/libnanomsg_la-task.lo
            CC       src/protocols/reqrep/libnanomsg_la-xrep.lo
            CC       src/protocols/reqrep/libnanomsg_la-xreq.lo
            CC       src/protocols/survey/libnanomsg_la-respondent.lo
            CC       src/protocols/survey/libnanomsg_la-surveyor.lo
            CC       src/protocols/survey/libnanomsg_la-xrespondent.lo
            CC       src/protocols/survey/libnanomsg_la-xsurveyor.lo
            CC       src/protocols/utils/libnanomsg_la-dist.lo
            CC       src/protocols/utils/libnanomsg_la-excl.lo
            CC       src/protocols/utils/libnanomsg_la-fq.lo
            CC       src/protocols/utils/libnanomsg_la-lb.lo
            CC       src/protocols/utils/libnanomsg_la-priolist.lo
            CC       src/transports/utils/libnanomsg_la-backoff.lo
            CC       src/transports/utils/libnanomsg_la-dns.lo
            CC       src/transports/utils/libnanomsg_la-iface.lo
            CC       src/transports/utils/libnanomsg_la-literal.lo
            CC       src/transports/utils/libnanomsg_la-port.lo
            CC       src/transports/utils/libnanomsg_la-streamhdr.lo
            CC       src/transports/utils/libnanomsg_la-base64.lo
            CC       src/transports/inproc/libnanomsg_la-binproc.lo
            CC       src/transports/inproc/libnanomsg_la-cinproc.lo
            CC       src/transports/inproc/libnanomsg_la-inproc.lo
            CC       src/transports/inproc/libnanomsg_la-ins.lo
            CC       src/transports/inproc/libnanomsg_la-msgqueue.lo
            CC       src/transports/inproc/libnanomsg_la-sinproc.lo
            CC       src/transports/ipc/libnanomsg_la-aipc.lo
            CC       src/transports/ipc/libnanomsg_la-bipc.lo
            CC       src/transports/ipc/libnanomsg_la-cipc.lo
            CC       src/transports/ipc/libnanomsg_la-ipc.lo
            CC       src/transports/ipc/libnanomsg_la-sipc.lo
            CC       src/transports/tcp/libnanomsg_la-atcp.lo
            CC       src/transports/tcp/libnanomsg_la-btcp.lo
            CC       src/transports/tcp/libnanomsg_la-ctcp.lo
            CC       src/transports/tcp/libnanomsg_la-stcp.lo
            CC       src/transports/tcp/libnanomsg_la-tcp.lo
            CC       src/transports/ws/libnanomsg_la-aws.lo
            CC       src/transports/ws/libnanomsg_la-bws.lo
            CC       src/transports/ws/libnanomsg_la-cws.lo
            CC       src/transports/ws/libnanomsg_la-sws.lo
          src/transports/ws/sws.c:157:11: warning: expression result unused [-Wunused-value]
              self->pings_sent;
              ~~~~  ^~~~~~~~~~
          src/transports/ws/sws.c:158:11: warning: expression result unused [-Wunused-value]
              self->pongs_sent;
              ~~~~  ^~~~~~~~~~
          src/transports/ws/sws.c:159:11: warning: expression result unused [-Wunused-value]
              self->pings_received;
              ~~~~  ^~~~~~~~~~~~~~
          src/transports/ws/sws.c:160:11: warning: expression result unused [-Wunused-value]
              self->pongs_received;
              ~~~~  ^~~~~~~~~~~~~~
          4 warnings generated.
            CC       src/transports/ws/libnanomsg_la-ws.lo
            CC       src/transports/ws/libnanomsg_la-ws_handshake.lo
          src/transports/ws/ws_handshake.c:344:15: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'const char *' converts
                between pointers to integer types with different sign [-Wpointer-sign]
                  *addr = start;
                        ^ ~~~~~
          src/transports/ws/ws_handshake.c:485:61: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
                              for (i = NN_WS_HANDSHAKE_TERMSEQ_LEN; i >= 0; i--) {
                                                                    ~ ^  ~
          src/transports/ws/ws_handshake.c:663:61: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
                              for (i = NN_WS_HANDSHAKE_TERMSEQ_LEN; i >= 0; i--) {
                                                                    ~ ^  ~
          src/transports/ws/ws_handshake.c:858:24: warning: passing 'uint8_t [4096]' to parameter of type 'const char *' converts between pointers to
                integer types with different sign [-Wpointer-sign]
              nn_assert (strlen (self->opening_hs) < sizeof (self->opening_hs));
                                 ^~~~~~~~~~~~~~~~
          src/transports/ws/../utils/../../utils/err.h:47:24: note: expanded from macro 'nn_assert'
                  if (nn_slow (!(x))) {\
                                 ^
          src/transports/ws/../../aio/../utils/fast.h:28:39: note: expanded from macro 'nn_slow'
          #define nn_slow(x) __builtin_expect ((x), 0)
                                                ^
          /usr/include/string.h:82:28: note: passing argument to parameter here
          size_t   strlen(const char *);
                                      ^
          src/transports/ws/ws_handshake.c:860:9: warning: assigning to 'const char *' from 'uint8_t [4096]' converts between pointers to integer types with
                different sign [-Wpointer-sign]
              pos = self->opening_hs;
                  ^ ~~~~~~~~~~~~~~~~
          src/transports/ws/ws_handshake.c:1061:24: warning: passing 'uint8_t [512]' to parameter of type 'const char *' converts between pointers to
                integer types with different sign [-Wpointer-sign]
              nn_assert (strlen (self->response) < sizeof (self->response));
                                 ^~~~~~~~~~~~~~
          src/transports/ws/../utils/../../utils/err.h:47:24: note: expanded from macro 'nn_assert'
                  if (nn_slow (!(x))) {\
                                 ^
          src/transports/ws/../../aio/../utils/fast.h:28:39: note: expanded from macro 'nn_slow'
          #define nn_slow(x) __builtin_expect ((x), 0)
                                                ^
          /usr/include/string.h:82:28: note: passing argument to parameter here
          size_t   strlen(const char *);
                                      ^
          src/transports/ws/ws_handshake.c:1063:9: warning: assigning to 'const char *' from 'uint8_t [512]' converts between pointers to integer types with
                different sign [-Wpointer-sign]
              pos = self->response;
                  ^ ~~~~~~~~~~~~~~
          src/transports/ws/ws_handshake.c:1220:36: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *')
                converts between pointers to integer types with different sign [-Wpointer-sign]
              rc = nn_ws_handshake_hash_key (encoded_key, encoded_key_len,
                                             ^~~~~~~~~~~
          src/transports/ws/ws_handshake.c:130:53: note: passing argument to parameter 'key' here
          static int nn_ws_handshake_hash_key (const uint8_t *key, size_t key_len,
                                                              ^
          src/transports/ws/ws_handshake.c:1221:9: warning: passing 'char [29]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between
                pointers to integer types with different sign [-Wpointer-sign]
                  self->expected_accept_key, sizeof (self->expected_accept_key));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
          src/transports/ws/ws_handshake.c:131:14: note: passing argument to parameter 'hashed' here
              uint8_t *hashed, size_t hashed_len);
                       ^
          src/transports/ws/ws_handshake.c:1236:14: warning: passing 'uint8_t [4096]' to parameter of type 'char *' converts between pointers to integer
                types with different sign [-Wpointer-sign]
              sprintf (self->opening_hs,
                       ^~~~~~~~~~~~~~~~
          /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
            __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                     ^
          src/transports/ws/ws_handshake.c:1247:36: warning: passing 'uint8_t [4096]' to parameter of type 'const char *' converts between pointers to
                integer types with different sign [-Wpointer-sign]
              open_request.iov_len = strlen (self->opening_hs);
                                             ^~~~~~~~~~~~~~~~
          /usr/include/string.h:82:28: note: passing argument to parameter here
          size_t   strlen(const char *);
                                      ^
          src/transports/ws/ws_handshake.c:1270:13: warning: passing 'char [29]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between
                pointers to integer types with different sign [-Wpointer-sign]
                      accept_key, sizeof (accept_key));
                      ^~~~~~~~~~
          src/transports/ws/ws_handshake.c:131:14: note: passing argument to parameter 'hashed' here
              uint8_t *hashed, size_t hashed_len);
                       ^
          src/transports/ws/ws_handshake.c:1276:28: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *'
                converts between pointers to integer types with different sign [-Wpointer-sign]
                  strncpy (protocol, self->protocol, self->protocol_len);
                                     ^~~~~~~~~~~~~~
          /usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
            __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                           ^
          src/transports/ws/ws_handshake.c:1279:18: warning: passing 'uint8_t [512]' to parameter of type 'char *' converts between pointers to integer
                types with different sign [-Wpointer-sign]
                  sprintf (self->response,
                           ^~~~~~~~~~~~~~
          /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
            __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                     ^
          src/transports/ws/ws_handshake.c:1318:27: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *'
                converts between pointers to integer types with different sign [-Wpointer-sign]
                  strncpy (version, self->version, self->version_len);
                                    ^~~~~~~~~~~~~
          /usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
            __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                           ^
          src/transports/ws/ws_handshake.c:1322:18: warning: passing 'uint8_t [512]' to parameter of type 'char *' converts between pointers to integer
                types with different sign [-Wpointer-sign]
                  sprintf (self->response,
                           ^~~~~~~~~~~~~~
          /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
            __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                     ^
          src/transports/ws/ws_handshake.c:1330:32: warning: passing 'uint8_t [512]' to parameter of type 'const char *' converts between pointers to
                integer types with different sign [-Wpointer-sign]
              response.iov_len = strlen (self->response);
                                         ^~~~~~~~~~~~~~
          /usr/include/string.h:82:28: note: passing argument to parameter here
          size_t   strlen(const char *);
                                      ^
          src/transports/ws/ws_handshake.c:1354:30: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between
                pointers to integer types with different sign [-Wpointer-sign]
                  sizeof (hash.state), hashed, hashed_len);
                                       ^~~~~~
          src/transports/ws/../utils/base64.h:37:11: note: passing argument to parameter 'out' here
              char *out, size_t out_len);
                    ^
          18 warnings generated.
            CC       src/transports/ws/libnanomsg_la-sha1.lo
            CC       src/transports/tcpmux/libnanomsg_la-atcpmux.lo
            CC       src/transports/tcpmux/libnanomsg_la-btcpmux.lo
            CC       src/transports/tcpmux/libnanomsg_la-ctcpmux.lo
            CC       src/transports/tcpmux/libnanomsg_la-stcpmux.lo
            CC       src/transports/tcpmux/libnanomsg_la-tcpmux.lo
            CC       src/devices/libnanomsg_la-device.lo
            CC       src/devices/libnanomsg_la-tcpmuxd.lo
            CCLD     libnanomsg.la
            CC       tools/nanocat.o
            CC       tools/options.o
            CCLD     nanocat
            CC       tools/tcpmuxd.o
            CCLD     tcpmuxd
            CC       perf/inproc_lat.o
            CCLD     perf/inproc_lat
            CC       perf/inproc_thr.o
            CCLD     perf/inproc_thr
            CC       perf/local_lat.o
            CCLD     perf/local_lat
            CC       perf/remote_lat.o
            CCLD     perf/remote_lat
            CC       perf/local_thr.o
            CCLD     perf/local_thr
            CC       perf/remote_thr.o
            CCLD     perf/remote_thr
          GMac:nanomsg user$ brew list
          autoconf cscope macvim openssl tmux zeromq
          automake htop-osx memcached pcre tree
          boost libevent nginx pkg-config wget
          cmake libtool nmap source-highlight xz
          GMac:nanomsg user$ make check
          /Applications/Xcode.app/Contents/Developer/usr/bin/make  tests/inproc tests/inproc_shutdown tests/ipc tests/ipc_shutdown tests/ipc_stress tests/tcp tests/tcp_shutdown tests/ws tests/tcpmux tests/pair tests/pubsub tests/reqrep tests/pipeline tests/survey tests/bus tests/block tests/term tests/timeo tests/iovec tests/msg tests/prio tests/poll tests/device tests/emfile tests/domain tests/trie tests/list tests/hash tests/symbol tests/separation tests/zerocopy tests/shutdown tests/cmsg
            CC       tests/inproc.o
            CCLD     tests/inproc
            CC       tests/inproc_shutdown.o
            CCLD     tests/inproc_shutdown
            CC       tests/ipc.o
            CCLD     tests/ipc
            CC       tests/ipc_shutdown.o
            CCLD     tests/ipc_shutdown
            CC       tests/ipc_stress.o
            CCLD     tests/ipc_stress
            CC       tests/tcp.o
            CCLD     tests/tcp
            CC       tests/tcp_shutdown.o
            CCLD     tests/tcp_shutdown
            CC       tests/ws.o
            CCLD     tests/ws
            CC       tests/tcpmux.o
            CCLD     tests/tcpmux
            CC       tests/pair.o
            CCLD     tests/pair
            CC       tests/pubsub.o
            CCLD     tests/pubsub
            CC       tests/reqrep.o
            CCLD     tests/reqrep
            CC       tests/pipeline.o
            CCLD     tests/pipeline
            CC       tests/survey.o
            CCLD     tests/survey
            CC       tests/bus.o
            CCLD     tests/bus
            CC       tests/block.o
            CCLD     tests/block
            CC       tests/term.o
            CCLD     tests/term
            CC       tests/timeo.o
            CCLD     tests/timeo
            CC       tests/iovec.o
            CCLD     tests/iovec
            CC       tests/msg.o
            CCLD     tests/msg
            CC       tests/prio.o
            CCLD     tests/prio
            CC       tests/poll.o
            CCLD     tests/poll
            CC       tests/device.o
            CCLD     tests/device
            CC       tests/emfile.o
            CCLD     tests/emfile
            CC       tests/domain.o
            CCLD     tests/domain
            CC       tests/trie.o
            CCLD     tests/trie
            CC       tests/list.o
            CCLD     tests/list
            CC       tests/hash.o
            CCLD     tests/hash
            CC       tests/symbol.o
            CCLD     tests/symbol
            CC       tests/separation.o
            CCLD     tests/separation
            CC       tests/zerocopy.o
            CCLD     tests/zerocopy
            CC       tests/shutdown.o
            CCLD     tests/shutdown
            CC       tests/cmsg.o
            CCLD     tests/cmsg
          /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
          PASS: tests/inproc
          PASS: tests/inproc_shutdown
          PASS: tests/ipc
          PASS: tests/ipc_shutdown
          PASS: tests/ipc_stress
          PASS: tests/tcp
          PASS: tests/tcp_shutdown
          PASS: tests/ws
          PASS: tests/tcpmux
          PASS: tests/pair
          PASS: tests/pubsub
          PASS: tests/reqrep
          PASS: tests/pipeline
          PASS: tests/survey
          PASS: tests/bus
          PASS: tests/block
          PASS: tests/term
          PASS: tests/timeo
          PASS: tests/iovec
          PASS: tests/msg
          PASS: tests/prio
          PASS: tests/poll
          PASS: tests/device
          PASS: tests/emfile
          PASS: tests/domain
          PASS: tests/trie
          PASS: tests/list
          PASS: tests/hash
          PASS: tests/symbol
          PASS: tests/separation
          PASS: tests/zerocopy
          PASS: tests/shutdown
          PASS: tests/cmsg
          ============================================================================
          Testsuite summary for nanomsg 0.5-beta-85-gd530bfe
          ============================================================================
          # TOTAL: 33
          # PASS:  33
          # SKIP:  0
          # XFAIL: 0
          # FAIL:  0
          # XPASS: 0
          # ERROR: 0
          ============================================================================
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ 
          GMac:nanomsg user$ glibtool --config

          # Which release of libtool.m4 was used?
          macro_version=2.4.5
          macro_revision=2.4.5

          # Assembler program.
          AS="as"

          # DLL creation program.
          DLLTOOL="false"

          # Object dumper program.
          OBJDUMP="false"

          # Whether or not to build shared libraries.
          build_libtool_libs=yes

          # Whether or not to build static libraries.
          build_old_libs=yes

          # What type of objects to build.
          pic_mode=default

          # Whether or not to optimize for fast installation.
          fast_install=needless

          # Shared archive member basename,for filename based shared library versioning on AIX.
          shared_archive_member_spec=

          # Shell to use when invoking shell scripts.
          SHELL="/bin/sh"

          # An echo program that protects backslashes.
          ECHO="printf %s\\n"

          # The PATH separator for the build system.
          PATH_SEPARATOR=":"

          # The host system.
          host_alias=
          host=x86_64-apple-darwin14.1.0
          host_os=darwin14.1.0

          # The build system.
          build_alias=
          build=x86_64-apple-darwin14.1.0
          build_os=darwin14.1.0

          # A sed program that does not truncate output.
          SED="/usr/local/Library/ENV/4.3/sed"

          # Sed that helps us avoid accidentally triggering echo(1) options like -n.
          Xsed="$SED -e 1s/^X//"

          # A grep program that handles long lines.
          GREP="/usr/bin/grep"

          # An ERE matcher.
          EGREP="/usr/bin/grep -E"

          # A literal string matcher.
          FGREP="/usr/bin/grep -F"

          # A BSD- or MS-compatible name lister.
          NM="/usr/bin/nm"

          # Whether we need soft or hard links.
          LN_S="ln -s"

          # What is the maximum length of a command?
          max_cmd_len=196608

          # Object file suffix (normally "o").
          objext=o

          # Executable file suffix (normally "").
          exeext=

          # whether the shell understands "unset".
          lt_unset=unset

          # turn spaces into newlines.
          SP2NL="tr \\040 \\012"

          # turn newlines into spaces.
          NL2SP="tr \\015\\012 \\040\\040"

          # convert $build file names to $host format.
          to_host_file_cmd=func_convert_file_noop

          # convert $build files to toolchain format.
          to_tool_file_cmd=func_convert_file_noop

          # Method to check whether dependent libraries are shared objects.
          deplibs_check_method="pass_all"

          # Command to use when deplibs_check_method = "file_magic".
          file_magic_cmd="\$MAGIC_CMD"

          # How to find potential files when deplibs_check_method = "file_magic".
          file_magic_glob=""

          # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
          want_nocaseglob="no"

          # Command to associate shared and link libraries.
          sharedlib_from_linklib_cmd="printf %s\\n"

          # The archiver.
          AR="ar"

          # Flags to create an archive.
          AR_FLAGS="cru"

          # How to feed a file listing to the archiver.
          archiver_list_spec=""

          # A symbol stripping program.
          STRIP="strip"

          # Commands used to install an old-style archive.
          RANLIB="ranlib"
          old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
          old_postuninstall_cmds=""

          # Whether to use a lock for old archive extraction.
          lock_old_archive_extraction=yes

          # A C compiler.
          LTCC="clang"

          # LTCC compiler flags.
          LTCFLAGS="-g -O2"

          # Take the output of nm and produce a listing of raw symbols and C names.
          global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDEGRST][BCDEGRST]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'"

          # Transform the output of nm in a proper C declaration.
          global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST][BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'"

          # Transform the output of nm into a list of symbols to manually relocate.
          global_symbol_to_import=""

          # Transform the output of nm in a C name address pair.
          global_symbol_to_c_name_address="sed -n -e 's/^: \\(.*\\) .*\$/  {\"\\1\", (void *) 0},/p' -e 's/^[BCDEGRST][BCDEGRST]* .* \\(.*\\)\$/  {\"\\1\", (void *) \\&\\1},/p'"

          # Transform the output of nm in a C name address pair when lib prefix is needed.
          global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\(.*\\) .*\$/  {\"\\1\", (void *) 0},/p' -e 's/^[BCDEGRST][BCDEGRST]* .* \\(lib.*\\)\$/  {\"\\1\", (void *) \\&\\1},/p' -e 's/^[BCDEGRST][BCDEGRST]* .* \\(.*\\)\$/  {\"lib\\1\", (void *) \\&\\1},/p'"

          # The name lister interface.
          nm_interface="BSD nm"

          # Specify filename containing input files for $NM.
          nm_file_list_spec=""

          # The root where to search for dependent libraries,and where our libraries should be installed.
          lt_sysroot=

          # Command to truncate a binary pipe.
          lt_truncate_bin="/bin/dd bs=4096 count=1"

          # The name of the directory that contains temporary libtool files.
          objdir=.libs

          # Used to examine libraries when file_magic_cmd begins with "file".
          MAGIC_CMD=file

          # Must we lock files when doing compilation?
          need_locks="no"

          # Manifest tool.
          MANIFEST_TOOL=":"

          # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
          DSYMUTIL="dsymutil"

          # Tool to change global to local symbols on Mac OS X.
          NMEDIT="nmedit"

          # Tool to manipulate fat objects and archives on Mac OS X.
          LIPO="lipo"

          # ldd/readelf like tool for Mach-O binaries on Mac OS X.
          OTOOL="otool"

          # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
          OTOOL64=":"

          # Old archive suffix (normally "a").
          libext=a

          # Shared library suffix (normally ".so").
          shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`"

          # The commands to extract the exported symbol list from a shared archive.
          extract_expsyms_cmds=""

          # Variables whose values should be saved in libtool wrapper scripts and
          # restored at link time.
          variables_saved_for_relink="PATH DYLD_LIBRARY_PATH  GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"

          # Do we need the "lib" prefix for modules?
          need_lib_prefix=no

          # Do we need a version for libraries?
          need_version=no

          # Library versioning type.
          version_type=darwin

          # Shared library runtime path variable.
          runpath_var=

          # Shared library path variable.
          shlibpath_var=DYLD_LIBRARY_PATH

          # Is shlibpath searched before the hard-coded library search path?
          shlibpath_overrides_runpath=yes

          # Format of library name prefix.
          libname_spec="lib\$name"

          # List of archive names.  First name is the real one, the rest are links.
          # The last name is the one that the linker finds with -lNAME
          library_names_spec="\$libname\$release\$major\$shared_ext \$libname\$shared_ext"

          # The coded name of the library, if different from the real name.
          soname_spec="\$libname\$release\$major\$shared_ext"

          # Permission mode override for installation of shared libraries.
          install_override_mode=""

          # Command to use after installation of a shared archive.
          postinstall_cmds=""

          # Command to use after uninstallation of a shared archive.
          postuninstall_cmds=""

          # Commands used to finish a libtool library installation in a directory.
          finish_cmds=""

          # As "finish_cmds", except a single script fragment to be evaled but
          # not shown.
          finish_eval=""

          # Whether we should hardcode library paths into libraries.
          hardcode_into_libs=no

          # Compile-time system search path for libraries.
          sys_lib_search_path_spec="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0  /usr/local/lib"

          # Run-time system search path for libraries.
          sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib"

          # Whether dlopen is supported.
          dlopen_support=yes

          # Whether dlopen of programs is supported.
          dlopen_self=yes

          # Whether dlopen of statically linked programs is supported.
          dlopen_self_static=yes

          # Commands to strip libraries.
          old_striplib="strip -S"
          striplib="strip -x"


          # The linker used to build libraries.
          LD="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"

          # How to create reloadable object files.
          reload_flag=" -r"
          reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \$wl-r -o \$output\$reload_objs"

          # Commands used to build an old-style archive.
          old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

          # A language specific compiler.
          CC="clang"

          # Is the compiler the GNU compiler?
          with_gcc=yes

          # Compiler flag to turn off builtin functions.
          no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"

          # Additional compiler flags for building library objects.
          pic_flag=" -fno-common -DPIC"

          # How to pass a linker flag through the compiler.
          wl="-Wl,"

          # Compiler flag to prevent dynamic linking.
          link_static_flag=""

          # Does compiler simultaneously support -c and -o options?
          compiler_c_o="yes"

          # Whether or not to add -lc for building shared libraries.
          build_libtool_need_lc=no

          # Whether or not to disallow shared libs when runtime libs are static.
          allow_libtool_libs_with_static_runtimes=no

          # Compiler flag to allow reflexive dlopens.
          export_dynamic_flag_spec=""

          # Compiler flag to generate shared objects directly from archives.
          whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test  -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \$wl-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`"

          # Whether the compiler copes with passing no objects directly.
          compiler_needs_object="no"

          # Create an old-style archive from a shared archive.
          old_archive_from_new_cmds=""

          # Create a temporary old-style archive to link instead of a shared archive.
          old_archive_from_expsyms_cmds=""

          # Commands used to build a shared archive.
          archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module"
          archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \$wl-exported_symbols_list,\$output_objdir/\$libname-symbols.expsym"

          # Commands used to build a loadable module if different from building
          # a shared archive.
          module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags"
          module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \$wl-exported_symbols_list,\$output_objdir/\$libname-symbols.expsym"

          # Whether we are building with GNU ld or not.
          with_gnu_ld="no"

          # Flag that allows shared libraries with undefined symbols to be built.
          allow_undefined_flag="\$wl-undefined \${wl}dynamic_lookup"

          # Flag that enforces no undefined symbols.
          no_undefined_flag=""

          # Flag to hardcode $libdir into a binary during linking.
          # This must work even if $libdir does not exist
          hardcode_libdir_flag_spec=""

          # Whether we need a single "-rpath" flag with a separated argument.
          hardcode_libdir_separator=""

          # Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
          # DIR into the resulting binary.
          hardcode_direct=no

          # Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
          # DIR into the resulting binary and the resulting library dependency is
          # "absolute",i.e impossible to change by setting $shlibpath_var if the
          # library is relocated.
          hardcode_direct_absolute=no

          # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
          # into the resulting binary.
          hardcode_minus_L=no

          # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
          # into the resulting binary.
          hardcode_shlibpath_var=unsupported

          # Set to "yes" if building a shared library automatically hardcodes DIR
          # into the library and all subsequent libraries and executables linked
          # against it.
          hardcode_automatic=yes

          # Set to yes if linker adds runtime paths of dependent libraries
          # to runtime path list.
          inherit_rpath=no

          # Whether libtool must link a program against all its dependency libraries.
          link_all_deplibs=yes

          # Set to "yes" if exported symbols are required.
          always_export_symbols=no

          # The commands to list exported symbols.
          export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

          # Symbols that should not be listed in the preloaded symbols.
          exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

          # Symbols that must always be exported.
          include_expsyms=""

          # Commands necessary for linking programs (against libraries) with templates.
          prelink_cmds=""

          # Commands necessary for finishing linking programs.
          postlink_cmds=""

          # Specify filename containing input files.
          file_list_spec=""

          # How to hardcode a shared library path into an executable.
          hardcode_action=immediate

          # The directories searched by this compiler when creating a shared library.
          compiler_lib_search_dirs=""

          # Dependencies to place before and after the objects being linked to
          # create a shared library.
          predep_objects=""
          postdep_objects=""
          predeps=""
          postdeps=""

          # The library search path used internally by the compiler when linking
          # a shared library.
          compiler_lib_search_path=""

          GMac:nanomsg user$ 
          GMac:nanomsg user$ glibtool --help
          Usage: /usr/local/bin/glibtool [OPTION]... [MODE-ARG]...

          Provide generalized library-building support services.

          Options:
                 --config             show all configuration variables
                 --debug              enable verbose shell tracing
             -n, --dry-run            display commands without modifying any files
                 --features           display basic configuration information and exit
                 --mode=MODE          use operation mode MODE
                 --no-warnings        equivalent to '-Wnone'
                 --preserve-dup-deps  don't remove duplicate dependency libraries
                 --quiet, --silent    don't print informational messages
                 --tag=TAG            use configuration variables from tag TAG
             -v, --verbose            print more informational messages than default
                 --version            print version information
             -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [all]
             -h, --help, --help-all   print short, long, or detailed help message


          Warning categories include:
                 'all'          show all warnings
                 'none'         turn off all the warnings
                 'error'        warnings are treated as fatal errors

          MODE must be one of the following:

                 clean           remove files from the build directory
                 compile         compile a source file into a libtool object
                 execute         automatically set library path, then run a program
                 finish          complete the installation of libtool libraries
                 install         install libraries or executables
                 link            create a library or an executable
                 uninstall       remove libraries from an installed directory

          MODE-ARGS vary depending on the MODE.  When passed as first option,
          '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
          Try 'glibtool --help --mode=MODE' for a more detailed description of MODE.

          When reporting a bug, please describe a test case to reproduce it and
          include the following information:

                 host-triplet:   x86_64-apple-darwin14.1.0
                 shell:          /bin/sh
                 compiler:       clang
                 compiler flags: -g -O2
                 linker:         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld (gnu? no)
                 version:        glibtool (GNU libtool) 2.4.5
                 automake:       automake (GNU automake) 1.15
                 autoconf:       autoconf (GNU Autoconf) 2.69

          Report bugs to <bug-libtool@gnu.org>.
          GNU libtool home page: <http://www.gnu.org/software/libtool/>.
          General help using GNU software: <http://www.gnu.org/gethelp/>.
          GMac:nanomsg user$ 




          posted on 2015-03-26 20:35 小高 閱讀(1719) 評論(0)  編輯  收藏 所屬分類: Network| Socket | 進程間通訊Mac OSXMQ 消息隊列

          導航

          <2015年3月>
          22232425262728
          1234567
          891011121314
          15161718192021
          22232425262728
          2930311234

          統計

          常用鏈接

          留言簿(3)

          隨筆分類(352)

          收藏夾(19)

          關注的blog

          手冊

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 涿州市| 万盛区| 潞城市| 正阳县| 安新县| 凤庆县| 离岛区| 滨州市| 萨嘎县| 瓦房店市| 信阳市| 裕民县| 和政县| 磐石市| 克东县| 桂林市| 南城县| 左云县| 隆化县| 贡山| 灵石县| 大港区| 安宁市| 隆回县| 绍兴市| 旬阳县| 龙山县| 和龙市| 江华| 彝良县| 砀山县| 沙河市| 衡阳市| 河间市| 扬州市| 临沭县| 夏邑县| 诸城市| 全州县| 东阿县| 虹口区|