zeromq found a libsodium (which doesn't come with OSX), probably some 
third-party package manager remnant... get rid of it or install the headers 
from whereever you got the library.



On Friday, February 2, 2018 at 4:34:45 PM UTC+1, David Corbin wrote:
>
> sodium.h not found while compiling zeromq on macOS High Sierra (10.13.3).
>
> [zeromq-4.0.5.p1] Found local metadata for zeromq-4.0.5.p1
> [zeromq-4.0.5.p1] Using cached file 
> /Volumes/Passport/sage/upstream/zeromq-4.0.5.tar.gz
> [zeromq-4.0.5.p1] zeromq-4.0.5.p1
> [zeromq-4.0.5.p1] ====================================================
> [zeromq-4.0.5.p1] Setting up build directory for zeromq-4.0.5.p1
> [zeromq-4.0.5.p1] Finished extraction
> [zeromq-4.0.5.p1] Applying patches from ../patches...
> [zeromq-4.0.5.p1] Applying ../patches/cxx_compiler.patch
> [zeromq-4.0.5.p1] patching file tools/curve_keygen.c
> [zeromq-4.0.5.p1] patching file tools/curve_keygen.cpp
> [zeromq-4.0.5.p1] patching file tools/Makefile.am
> [zeromq-4.0.5.p1] patching file tools/Makefile.in
> [zeromq-4.0.5.p1] Applying ../patches/cygwin_sharedlib.patch
> [zeromq-4.0.5.p1] patching file configure.ac
> [zeromq-4.0.5.p1] patching file src/Makefile.am
> [zeromq-4.0.5.p1] patching file configure
> [zeromq-4.0.5.p1] Hunk #1 succeeded at 623 (offset -20 lines).
> [zeromq-4.0.5.p1] Hunk #2 succeeded at 17631 (offset -12 lines).
> [zeromq-4.0.5.p1] Hunk #3 succeeded at 19842 (offset -14 lines).
> [zeromq-4.0.5.p1] Hunk #4 succeeded at 20324 (offset -22 lines).
> [zeromq-4.0.5.p1] patching file src/Makefile.in
> [zeromq-4.0.5.p1] Hunk #1 succeeded at 472 (offset -32 lines).
> [zeromq-4.0.5.p1] ****************************************************
> [zeromq-4.0.5.p1] Host system:
> [zeromq-4.0.5.p1] Darwin DavidsMac.local 17.4.0 Darwin Kernel Version 
> 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 
> x86_64
> [zeromq-4.0.5.p1] ****************************************************
> [zeromq-4.0.5.p1] C compiler: gcc
> [zeromq-4.0.5.p1] C compiler version:
> [zeromq-4.0.5.p1] Using built-in specs.
> [zeromq-4.0.5.p1] COLLECT_GCC=gcc
> [zeromq-4.0.5.p1] 
> COLLECT_LTO_WRAPPER=/Volumes/Passport/sage/local/libexec/gcc/x86_64-apple-darwin17.4.0/7.2.0/lto-wrapper
> [zeromq-4.0.5.p1] Target: x86_64-apple-darwin17.4.0
> [zeromq-4.0.5.p1] Configured with: ../src/configure 
> --prefix=/Volumes/Passport/sage/local 
> --with-local-prefix=/Volumes/Passport/sage/local 
> --with-gmp=/Volumes/Passport/sage/local 
> --with-mpfr=/Volumes/Passport/sage/local 
> --with-mpc=/Volumes/Passport/sage/local --with-system-zlib 
> --disable-multilib --disable-nls --enable-languages=c,c++,fortran 
> --disable-libitm --with-build-config=bootstrap-debug --without-isl 
> --without-cloog
> [zeromq-4.0.5.p1] Thread model: posix
> [zeromq-4.0.5.p1] gcc version 7.2.0 (GCC)
> [zeromq-4.0.5.p1] ****************************************************
> [zeromq-4.0.5.p1] checking for a BSD-compatible install... 
> /usr/local/bin/ginstall -c
> [zeromq-4.0.5.p1] checking whether build environment is sane... yes
> [zeromq-4.0.5.p1] checking for a thread-safe mkdir -p... 
> /usr/local/bin/gmkdir -p
> [zeromq-4.0.5.p1] checking for gawk... no
> [zeromq-4.0.5.p1] checking for mawk... no
> [zeromq-4.0.5.p1] checking for nawk... no
> [zeromq-4.0.5.p1] checking for awk... awk
> [zeromq-4.0.5.p1] checking whether make sets $(MAKE)... yes
> [zeromq-4.0.5.p1] checking how to create a ustar tar archive... gnutar
> [zeromq-4.0.5.p1] checking whether make supports nested variables... yes
> [zeromq-4.0.5.p1] checking for gcc... gcc
> [zeromq-4.0.5.p1] checking whether the C compiler works... yes
> [zeromq-4.0.5.p1] checking for C compiler default output file name... a.out
> [zeromq-4.0.5.p1] checking for suffix of executables...
> [zeromq-4.0.5.p1] checking whether we are cross compiling... no
> [zeromq-4.0.5.p1] checking for suffix of object files... o
> [zeromq-4.0.5.p1] checking whether we are using the GNU C compiler... yes
> [zeromq-4.0.5.p1] checking whether gcc accepts -g... yes
> [zeromq-4.0.5.p1] checking for gcc option to accept ISO C89... none needed
> [zeromq-4.0.5.p1] checking for style of include used by make... GNU
> [zeromq-4.0.5.p1] checking dependency style of gcc... gcc3
> [zeromq-4.0.5.p1] checking for gcc option to accept ISO C99... none needed
> [zeromq-4.0.5.p1] checking whether we are using the GNU C++ compiler... yes
> [zeromq-4.0.5.p1] checking whether g++ accepts -g... yes
> [zeromq-4.0.5.p1] checking dependency style of g++... gcc3
> [zeromq-4.0.5.p1] checking whether gcc and cc understand -c and -o 
> together... yes
> [zeromq-4.0.5.p1] checking for a sed that does not truncate output... 
> /usr/local/bin/gsed
> [zeromq-4.0.5.p1] checking for gawk... (cached) awk
> [zeromq-4.0.5.p1] checking for xmlto... no
> [zeromq-4.0.5.p1] checking for asciidoc... no
> [zeromq-4.0.5.p1] checking build system type... x86_64-apple-darwin17.4.0
> [zeromq-4.0.5.p1] checking host system type... x86_64-apple-darwin17.4.0
> [zeromq-4.0.5.p1] checking how to print strings... printf
> [zeromq-4.0.5.p1] checking for a sed that does not truncate output... 
> (cached) /usr/local/bin/gsed
> [zeromq-4.0.5.p1] checking for grep that handles long lines and -e... 
> /usr/bin/grep
> [zeromq-4.0.5.p1] checking for egrep... /usr/bin/grep -E
> [zeromq-4.0.5.p1] checking for fgrep... /usr/bin/grep -F
> [zeromq-4.0.5.p1] checking for ld used by gcc... ld
> [zeromq-4.0.5.p1] checking if the linker (ld) is GNU ld... no
> [zeromq-4.0.5.p1] checking for BSD- or MS-compatible name lister (nm)... 
> /usr/bin/nm -B
> [zeromq-4.0.5.p1] checking the name lister (/usr/bin/nm -B) interface... 
> BSD nm
> [zeromq-4.0.5.p1] checking whether ln -s works... yes
> [zeromq-4.0.5.p1] checking the maximum length of command line arguments... 
> 196608
> [zeromq-4.0.5.p1] checking whether the shell understands some XSI 
> constructs... yes
> [zeromq-4.0.5.p1] checking whether the shell understands "+="... yes
> [zeromq-4.0.5.p1] checking how to convert x86_64-apple-darwin17.4.0 file 
> names to x86_64-apple-darwin17.4.0 format... func_convert_file_noop
> [zeromq-4.0.5.p1] checking how to convert x86_64-apple-darwin17.4.0 file 
> names to toolchain format... func_convert_file_noop
> [zeromq-4.0.5.p1] checking for ld option to reload object files... -r
> [zeromq-4.0.5.p1] checking for objdump... objdump
> [zeromq-4.0.5.p1] checking how to recognize dependent libraries... pass_all
> [zeromq-4.0.5.p1] checking for dlltool... dlltool
> [zeromq-4.0.5.p1] checking how to associate runtime and link libraries... 
> printf %s\n
> [zeromq-4.0.5.p1] checking for archiver @FILE support... no
> [zeromq-4.0.5.p1] checking for strip... strip
> [zeromq-4.0.5.p1] checking for ranlib... ranlib
> [zeromq-4.0.5.p1] checking command to parse /usr/bin/nm -B output from gcc 
> object... ok
> [zeromq-4.0.5.p1] checking for sysroot... no
> [zeromq-4.0.5.p1] checking for mt... no
> [zeromq-4.0.5.p1] checking if : is a manifest tool... no
> [zeromq-4.0.5.p1] checking for dsymutil... dsymutil
> [zeromq-4.0.5.p1] checking for nmedit... nmedit
> [zeromq-4.0.5.p1] checking for lipo... lipo
> [zeromq-4.0.5.p1] checking for otool... otool
> [zeromq-4.0.5.p1] checking for otool64... no
> [zeromq-4.0.5.p1] checking for -single_module linker flag... yes
> [zeromq-4.0.5.p1] checking for -exported_symbols_list linker flag... yes
> [zeromq-4.0.5.p1] checking for -force_load linker flag... yes
> [zeromq-4.0.5.p1] checking how to run the C preprocessor... gcc -E
> [zeromq-4.0.5.p1] checking for ANSI C header files... yes
> [zeromq-4.0.5.p1] checking for sys/types.h... yes
> [zeromq-4.0.5.p1] checking for sys/stat.h... yes
> [zeromq-4.0.5.p1] checking for stdlib.h... yes
> [zeromq-4.0.5.p1] checking for string.h... yes
> [zeromq-4.0.5.p1] checking for memory.h... yes
> [zeromq-4.0.5.p1] checking for strings.h... yes
> [zeromq-4.0.5.p1] checking for inttypes.h... yes
> [zeromq-4.0.5.p1] checking for stdint.h... yes
> [zeromq-4.0.5.p1] checking for unistd.h... yes
> [zeromq-4.0.5.p1] checking for dlfcn.h... yes
> [zeromq-4.0.5.p1] checking for objdir... .libs
> [zeromq-4.0.5.p1] checking if gcc supports -fno-rtti -fno-exceptions... no
> [zeromq-4.0.5.p1] checking for gcc option to produce PIC... -fno-common 
> -DPIC
> [zeromq-4.0.5.p1] checking if gcc PIC flag -fno-common -DPIC works... yes
> [zeromq-4.0.5.p1] checking if gcc static flag -static works... no
> [zeromq-4.0.5.p1] checking if gcc supports -c -o file.o... yes
> [zeromq-4.0.5.p1] checking if gcc supports -c -o file.o... (cached) yes
> [zeromq-4.0.5.p1] checking whether the gcc linker (ld) supports shared 
> libraries... yes
> [zeromq-4.0.5.p1] checking dynamic linker characteristics... darwin17.4.0 
> dyld
> [zeromq-4.0.5.p1] checking how to hardcode library paths into programs... 
> immediate
> [zeromq-4.0.5.p1] checking whether stripping libraries is possible... yes
> [zeromq-4.0.5.p1] checking if libtool supports shared libraries... yes
> [zeromq-4.0.5.p1] checking whether to build shared libraries... yes
> [zeromq-4.0.5.p1] checking whether to build static libraries... yes
> [zeromq-4.0.5.p1] checking how to run the C++ preprocessor... g++ -E
> [zeromq-4.0.5.p1] checking for ld used by g++... ld
> [zeromq-4.0.5.p1] checking if the linker (ld) is GNU ld... no
> [zeromq-4.0.5.p1] checking whether the g++ linker (ld) supports shared 
> libraries... yes
> [zeromq-4.0.5.p1] checking for g++ option to produce PIC... -fno-common 
> -DPIC
> [zeromq-4.0.5.p1] checking if g++ PIC flag -fno-common -DPIC works... yes
> [zeromq-4.0.5.p1] checking if g++ static flag -static works... no
> [zeromq-4.0.5.p1] checking if g++ supports -c -o file.o... yes
> [zeromq-4.0.5.p1] checking if g++ supports -c -o file.o... (cached) yes
> [zeromq-4.0.5.p1] checking whether the g++ linker (ld) supports shared 
> libraries... yes
> [zeromq-4.0.5.p1] checking dynamic linker characteristics... darwin17.4.0 
> dyld
> [zeromq-4.0.5.p1] checking how to hardcode library paths into programs... 
> immediate
> [zeromq-4.0.5.p1] checking whether the C compiler works... yes
> [zeromq-4.0.5.p1] checking whether we are using Intel C compiler... no
> [zeromq-4.0.5.p1] checking whether we are using Sun Studio C compiler... no
> [zeromq-4.0.5.p1] checking whether we are using clang C compiler... no
> [zeromq-4.0.5.p1] checking whether we are using gcc >= 4 C compiler... yes
> [zeromq-4.0.5.p1] checking whether the C++ compiler works... yes
> [zeromq-4.0.5.p1] checking whether we are using Intel C++ compiler... no
> [zeromq-4.0.5.p1] checking whether we are using Sun Studio C++ compiler... 
> no
> [zeromq-4.0.5.p1] checking whether we are using clang C++ compiler... no
> [zeromq-4.0.5.p1] checking whether we are using gcc >= 4 C++ compiler... 
> yes
> [zeromq-4.0.5.p1] checking whether to enable debugging information... no
> [zeromq-4.0.5.p1] checking whether to enable code coverage... no
> [zeromq-4.0.5.p1] checking whether C++ compiler supports 
> -Wno-uninitialized... yes
> [zeromq-4.0.5.p1] checking for pthread_create in -lpthread... yes
> [zeromq-4.0.5.p1] checking for clock_gettime in -lrt... no
> [zeromq-4.0.5.p1] checking for sodium_init in -lsodium... yes
> [zeromq-4.0.5.p1] checking whether C++ compiler supports 
> -fvisibility=hidden... yes
> [zeromq-4.0.5.p1] checking whether C++ compiler supports dso visibility... 
> yes
> [zeromq-4.0.5.p1] checking for asciidoc... no
> [zeromq-4.0.5.p1] checking for xmlto... no
> [zeromq-4.0.5.p1] checking whether to build documentation... no
> [zeromq-4.0.5.p1] checking whether to install manpages... yes
> [zeromq-4.0.5.p1] checking for suitable polling system... using kqueue
> [zeromq-4.0.5.p1] checking for ANSI C header files... (cached) yes
> [zeromq-4.0.5.p1] checking errno.h usability... yes
> [zeromq-4.0.5.p1] checking errno.h presence... yes
> [zeromq-4.0.5.p1] checking for errno.h... yes
> [zeromq-4.0.5.p1] checking arpa/inet.h usability... yes
> [zeromq-4.0.5.p1] checking arpa/inet.h presence... yes
> [zeromq-4.0.5.p1] checking for arpa/inet.h... yes
> [zeromq-4.0.5.p1] checking netinet/tcp.h usability... yes
> [zeromq-4.0.5.p1] checking netinet/tcp.h presence... yes
> [zeromq-4.0.5.p1] checking for netinet/tcp.h... yes
> [zeromq-4.0.5.p1] checking netinet/in.h usability... yes
> [zeromq-4.0.5.p1] checking netinet/in.h presence... yes
> [zeromq-4.0.5.p1] checking for netinet/in.h... yes
> [zeromq-4.0.5.p1] checking stddef.h usability... yes
> [zeromq-4.0.5.p1] checking stddef.h presence... yes
> [zeromq-4.0.5.p1] checking for stddef.h... yes
> [zeromq-4.0.5.p1] checking for stdlib.h... (cached) yes
> [zeromq-4.0.5.p1] checking for string.h... (cached) yes
> [zeromq-4.0.5.p1] checking sys/socket.h usability... yes
> [zeromq-4.0.5.p1] checking sys/socket.h presence... yes
> [zeromq-4.0.5.p1] checking for sys/socket.h... yes
> [zeromq-4.0.5.p1] checking sys/time.h usability... yes
> [zeromq-4.0.5.p1] checking sys/time.h presence... yes
> [zeromq-4.0.5.p1] checking for sys/time.h... yes
> [zeromq-4.0.5.p1] checking time.h usability... yes
> [zeromq-4.0.5.p1] checking time.h presence... yes
> [zeromq-4.0.5.p1] checking for time.h... yes
> [zeromq-4.0.5.p1] checking for unistd.h... (cached) yes
> [zeromq-4.0.5.p1] checking limits.h usability... yes
> [zeromq-4.0.5.p1] checking limits.h presence... yes
> [zeromq-4.0.5.p1] checking for limits.h... yes
> [zeromq-4.0.5.p1] checking ifaddrs.h usability... yes
> [zeromq-4.0.5.p1] checking ifaddrs.h presence... yes
> [zeromq-4.0.5.p1] checking for ifaddrs.h... yes
> [zeromq-4.0.5.p1] checking sys/uio.h usability... yes
> [zeromq-4.0.5.p1] checking sys/uio.h presence... yes
> [zeromq-4.0.5.p1] checking for sys/uio.h... yes
> [zeromq-4.0.5.p1] checking sys/eventfd.h usability... no
> [zeromq-4.0.5.p1] checking sys/eventfd.h presence... no
> [zeromq-4.0.5.p1] checking for sys/eventfd.h... no
> [zeromq-4.0.5.p1] checking for stdbool.h that conforms to C99... no
> [zeromq-4.0.5.p1] checking for _Bool... no
> [zeromq-4.0.5.p1] checking for an ANSI C-conforming const... yes
> [zeromq-4.0.5.p1] checking for inline... inline
> [zeromq-4.0.5.p1] checking for size_t... yes
> [zeromq-4.0.5.p1] checking for ssize_t... yes
> [zeromq-4.0.5.p1] checking whether time.h and sys/time.h may both be 
> included... yes
> [zeromq-4.0.5.p1] checking for uint32_t... yes
> [zeromq-4.0.5.p1] checking for working volatile... yes
> [zeromq-4.0.5.p1] checking how to enable additional warnings for C++ 
> compiler... -Wall
> [zeromq-4.0.5.p1] checking return type of signal handlers... void
> [zeromq-4.0.5.p1] checking for perror... yes
> [zeromq-4.0.5.p1] checking for gettimeofday... yes
> [zeromq-4.0.5.p1] checking for clock_gettime... yes
> [zeromq-4.0.5.p1] checking for memset... yes
> [zeromq-4.0.5.p1] checking for socket... yes
> [zeromq-4.0.5.p1] checking for getifaddrs... yes
> [zeromq-4.0.5.p1] checking for freeifaddrs... yes
> [zeromq-4.0.5.p1] checking for fork... yes
> [zeromq-4.0.5.p1] checking alloca.h usability... yes
> [zeromq-4.0.5.p1] checking alloca.h presence... yes
> [zeromq-4.0.5.p1] checking for alloca.h... yes
> [zeromq-4.0.5.p1] checking whether SOCK_CLOEXEC is supported... no
> [zeromq-4.0.5.p1] checking whether SO_KEEPALIVE is supported... yes
> [zeromq-4.0.5.p1] checking whether TCP_KEEPCNT is supported... yes
> [zeromq-4.0.5.p1] checking whether TCP_KEEPIDLE is supported... no
> [zeromq-4.0.5.p1] checking whether TCP_KEEPINTVL is supported... yes
> [zeromq-4.0.5.p1] checking whether TCP_KEEPALIVE is supported... yes
> [zeromq-4.0.5.p1] configure: creating ./config.status
> [zeromq-4.0.5.p1] config.status: creating Makefile
> [zeromq-4.0.5.p1] config.status: creating src/Makefile
> [zeromq-4.0.5.p1] config.status: creating src/libzmq.pc
> [zeromq-4.0.5.p1] config.status: creating doc/Makefile
> [zeromq-4.0.5.p1] config.status: creating perf/Makefile
> [zeromq-4.0.5.p1] config.status: creating tests/Makefile
> [zeromq-4.0.5.p1] config.status: creating tools/Makefile
> [zeromq-4.0.5.p1] config.status: creating builds/msvc/Makefile
> [zeromq-4.0.5.p1] config.status: creating foreign/openpgm/Makefile
> [zeromq-4.0.5.p1] config.status: creating builds/redhat/zeromq.spec
> [zeromq-4.0.5.p1] config.status: creating src/platform.hpp
> [zeromq-4.0.5.p1] config.status: executing depfiles commands
> [zeromq-4.0.5.p1] config.status: executing libtool commands
> [zeromq-4.0.5.p1] Making all in src
> [zeromq-4.0.5.p1] make  all-am
> [zeromq-4.0.5.p1] /bin/sh ../libtool  --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I.   -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE 
> -D_REENTRANT -D_THREAD_SAFE  -Wno-error -DZMQ_FORCE_KQUEUE 
> -fvisibility=hidden  -g -O2 -MT libzmq_la-address.lo -MD -MP -MF 
> .deps/libzmq_la-address.Tpo -c -o libzmq_la-address.lo `test -f 
> 'address.cpp' || echo './'`address.cpp
> [zeromq-4.0.5.p1] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall 
> -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE 
> -Wno-error -DZMQ_FORCE_KQUEUE -fvisibility=hidden -g -O2 -MT 
> libzmq_la-address.lo -MD -MP -MF .deps/libzmq_la-address.Tpo -c 
> address.cpp  -fno-common -DPIC -o .libs/libzmq_la-address.o
> [zeromq-4.0.5.p1] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall 
> -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE 
> -Wno-error -DZMQ_FORCE_KQUEUE -fvisibility=hidden -g -O2 -MT 
> libzmq_la-address.lo -MD -MP -MF .deps/libzmq_la-address.Tpo -c address.cpp 
> -o libzmq_la-address.o >/dev/null 2>&1
> [zeromq-4.0.5.p1] mv -f .deps/libzmq_la-address.Tpo 
> .deps/libzmq_la-address.Plo
> [zeromq-4.0.5.p1] /bin/sh ../libtool  --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I.   -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE 
> -D_REENTRANT -D_THREAD_SAFE  -Wno-error -DZMQ_FORCE_KQUEUE 
> -fvisibility=hidden  -g -O2 -MT libzmq_la-clock.lo -MD -MP -MF 
> .deps/libzmq_la-clock.Tpo -c -o libzmq_la-clock.lo `test -f 'clock.cpp' || 
> echo './'`clock.cpp
> [zeromq-4.0.5.p1] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall 
> -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE 
> -Wno-error -DZMQ_FORCE_KQUEUE -fvisibility=hidden -g -O2 -MT 
> libzmq_la-clock.lo -MD -MP -MF .deps/libzmq_la-clock.Tpo -c clock.cpp  
> -fno-common -DPIC -o .libs/libzmq_la-clock.o
> [zeromq-4.0.5.p1] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall 
> -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE 
> -Wno-error -DZMQ_FORCE_KQUEUE -fvisibility=hidden -g -O2 -MT 
> libzmq_la-clock.lo -MD -MP -MF .deps/libzmq_la-clock.Tpo -c clock.cpp -o 
> libzmq_la-clock.o >/dev/null 2>&1
> [zeromq-4.0.5.p1] mv -f .deps/libzmq_la-clock.Tpo .deps/libzmq_la-clock.Plo
> [zeromq-4.0.5.p1] /bin/sh ../libtool  --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I.   -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE 
> -D_REENTRANT -D_THREAD_SAFE  -Wno-error -DZMQ_FORCE_KQUEUE 
> -fvisibility=hidden  -g -O2 -MT libzmq_la-ctx.lo -MD -MP -MF 
> .deps/libzmq_la-ctx.Tpo -c -o libzmq_la-ctx.lo `test -f 'ctx.cpp' || echo 
> './'`ctx.cpp
> [zeromq-4.0.5.p1] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall 
> -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE 
> -Wno-error -DZMQ_FORCE_KQUEUE -fvisibility=hidden -g -O2 -MT 
> libzmq_la-ctx.lo -MD -MP -MF .deps/libzmq_la-ctx.Tpo -c ctx.cpp  
> -fno-common -DPIC -o .libs/libzmq_la-ctx.o
> [zeromq-4.0.5.p1] ctx.cpp:39:10: fatal error: sodium.h: No such file or 
> directory
> [zeromq-4.0.5.p1]  #include <sodium.h>
> [zeromq-4.0.5.p1]           ^~~~~~~~~~
> [zeromq-4.0.5.p1] compilation terminated.
> [zeromq-4.0.5.p1] make[5]: *** [libzmq_la-ctx.lo] Error 1
> [zeromq-4.0.5.p1] make[4]: *** [all] Error 2
> [zeromq-4.0.5.p1] make[3]: *** [all-recursive] Error 1
> [zeromq-4.0.5.p1] Failed to build zeromq
> [zeromq-4.0.5.p1]
> [zeromq-4.0.5.p1] real    0m28.927s
> [zeromq-4.0.5.p1] user    0m11.875s
> [zeromq-4.0.5.p1] sys    0m11.237s
> [zeromq-4.0.5.p1] 
> ************************************************************************
> [zeromq-4.0.5.p1] Error installing package zeromq-4.0.5.p1
> [zeromq-4.0.5.p1] 
> ************************************************************************
> [zeromq-4.0.5.p1] Please email sage-devel (
> http://groups.google.com/group/sage-devel)
> [zeromq-4.0.5.p1] explaining the problem and including the log file
> [zeromq-4.0.5.p1]   /Volumes/Passport/sage/logs/pkgs/zeromq-4.0.5.p1.log
> [zeromq-4.0.5.p1] Describe your computer, operating system, etc.
> [zeromq-4.0.5.p1] If you want to try to fix the problem yourself, *don't* 
> just cd to
> [zeromq-4.0.5.p1] 
> /Volumes/Passport/sage/local/var/tmp/sage/build/zeromq-4.0.5.p1 and type 
> 'make' or whatever is appropriate.
> [zeromq-4.0.5.p1] Instead, the following commands setup all environment 
> variables
> [zeromq-4.0.5.p1] correctly and load a subshell for you to debug the error:
> [zeromq-4.0.5.p1]   (cd 
> '/Volumes/Passport/sage/local/var/tmp/sage/build/zeromq-4.0.5.p1' && 
> '/Volumes/Passport/sage/sage' --sh)
> [zeromq-4.0.5.p1] When you are done debugging, you can type "exit" to 
> leave the subshell.
> [zeromq-4.0.5.p1] 
> ************************************************************************
> make[2]: *** 
> [/Volumes/Passport/sage/local/var/lib/sage/installed/zeromq-4.0.5.p1] Error 
> 1
> make[1]: *** [all] Error 2
>
> real    0m45.473s
> user    0m18.850s
> sys    0m13.802s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all'):
>
> * package: zeromq-4.0.5.p1
>   log file: /Volumes/Passport/sage/logs/pkgs/zeromq-4.0.5.p1.log
>   build directory: 
> /Volumes/Passport/sage/local/var/tmp/sage/build/zeromq-4.0.5.p1
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> make: *** [all] Error 1
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to