Hi Christian,

Were you able to fix this error? Did you stumble upon [1] when searching
for this error? It has some useful links at the bottom regarding building
on Mac OS X.

[1] https://github.com/nathanmarz/storm/wiki/Installing-native-dependencies

HTH,
Lasantha


On Thu, Oct 10, 2013 at 8:38 PM, Christian Müller <
[email protected]> wrote:

> Hello fellow Storm developers!
>
> Congrats for this great product!
>
> I really like the idea behind this project and cannot wait diving into it
> to contribute to this project. We plan to use this framework in an
> environment which has to follow the PCI security standards [1]. Because of
> this (and to start working/playing with the source), I plan to start my
> contributions with some third party library updates. This is important for
> us, because we are not allowed to use unsupported third party libraries.
>
> Because I had some trouble building Storm (I still not succeed), I would
> like to start my first contribution with a WIKI page about this topic.
> Something similar we also have for Apache Camel [2]. But first I have to
> succeed with this step..
>
> What I have done so far:
> I'm using brew and updated it to the latest version.
> cmueller$ brew --config
> HOMEBREW_VERSION: 0.9.5
> ORIGIN: https://github.com/mxcl/homebrew
> HEAD: 89b2d0878c61c1cedccc134e65f0daa6c81edbba
> HOMEBREW_PREFIX: /usr/local
> HOMEBREW_CELLAR: /usr/local/Cellar
> CPU: 8-core 64-bit ivybridge
> OS X: 10.8.5-x86_64
> Xcode: 5.0
> CLT: 4.6.0.0.1.1362189000
> LLVM-GCC: build 2336
> Clang: 4.2 build 425
> X11: 2.7.4 => /opt/X11
> System Ruby: 1.8.7-358
> Perl: /usr/bin/perl
> Python: /usr/bin/python
> Ruby: /Users/cmueller/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
>
> I installed leiningen:
> cmueller$ brew install leiningen
> ==> Downloading
> https://github.com/technomancy/leiningen/archive/2.3.2.tar.gz
> Already downloaded: /Library/Caches/Homebrew/leiningen-2.3.2.tar.gz
> ==> Downloading
> https://leiningen.s3.amazonaws.com/downloads/leiningen-2.3.2-standalone.jar
> Already downloaded: /Library/Caches/Homebrew/leiningen--jar-2.3.2.jar
> ==> Caveats
> Dependencies will be installed to:
>   $HOME/.m2/repository
> To play around with Clojure run `lein repl` or `lein help`.
>
> Bash completion has been installed to:
>   /usr/local/etc/bash_completion.d
>
> zsh completion has been installed to:
>   /usr/local/share/zsh/site-functions
> ==> Summary
> 🍺  /usr/local/Cellar/leiningen/2.3.2: 8 files, 13M, built in 2 seconds
>
> I cloned the Storm Git repo:
> git clone https://github.com/nathanmarz/storm.git
> Cloning into 'storm'...
> remote: Counting objects: 20315, done.
> remote: Compressing objects: 100% (5717/5717), done.
> remote: Total 20315 (delta 12845), reused 19470 (delta 12136)
> Receiving objects: 100% (20315/20315), 4.37 MiB | 704.00 KiB/s, done.
> Resolving deltas: 100% (12845/12845), done.
> Checking connectivity... done
>
> I changed the directory and executed the install_zmq.sh script as described
> here [3]:
> cmueller$ cd storm
> cmueller$ bash ./bin/install_zmq.sh
> ./bin/install_zmq.sh: line 2: JAVA_HOME: /usr/libexec/java_home: syntax
> error: operand expected (error token is "/usr/libexec/java_home")
> --2013-10-10 16:06:18--  http://download.zeromq.org/zeromq-2.1.7.tar.gz
> Resolving download.zeromq.org... 95.142.169.98
> Connecting to download.zeromq.org|95.142.169.98|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1877380 (1.8M) [application/x-gzip]
> Saving to: ‘zeromq-2.1.7.tar.gz’
>
>
> 100%[====================================================================================================================================================>]
> 1,877,380    643KB/s   in 2.9s
>
> 2013-10-10 16:06:21 (643 KB/s) - ‘zeromq-2.1.7.tar.gz’ saved
> [1877380/1877380]
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for gcc option to accept ISO C99... -std=gnu99
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for gawk... (cached) awk
> checking for xmlto... no
> checking for asciidoc... no
> checking build system type... x86_64-apple-darwin12.5.0
> checking host system type... x86_64-apple-darwin12.5.0
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc -std=gnu99...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld...
> no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm output from gcc -std=gnu99 object...
> ok
> 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 how to run the C preprocessor... gcc -std=gnu99 -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for objdir... .libs
> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
> checking for gcc -std=gnu99 option to produce PIC... -fno-common -DPIC
> checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... no
> checking if gcc -std=gnu99 supports -c -o file.o... yes
> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
> checking whether the gcc -std=gnu99 linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... darwin12.5.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 ld used by g++...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld...
> no
> checking whether the g++ linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... darwin12.5.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether the C compiler works... yes
> checking whether we are using Intel C compiler... no
> checking whether we are using Sun Studio C compiler... no
> checking whether we are using clang C compiler... no
> checking whether we are using gcc >= 4 C compiler... yes
> checking whether the C++ compiler works... yes
> checking whether we are using Intel C++ compiler... no
> checking whether we are using Sun Studio C++ compiler... no
> checking whether we are using clang C++ compiler... no
> checking whether we are using gcc >= 4 C++ compiler... yes
> checking whether to enable debugging information... no
> checking whether to enable code coverage... no
> checking for pthread_create in -lpthread... yes
> checking whether C++ compiler supports -Wno-uninitialized... yes
> checking whether C++ compiler supports -fvisibility=hidden... yes
> checking whether C++ compiler supports dso visibility... yes
> checking for asciidoc... no
> checking for xmlto... no
> checking whether to build documentation... no
> checking whether to install manpages... yes
> checking for ANSI C header files... (cached) yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking netinet/tcp.h usability... yes
> checking netinet/tcp.h presence... yes
> checking for netinet/tcp.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking ifaddrs.h usability... yes
> checking ifaddrs.h presence... yes
> checking for ifaddrs.h... yes
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... no
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for size_t... yes
> checking for ssize_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for uint32_t... yes
> checking for working volatile... yes
> checking how to enable additional warnings for C++ compiler... -Wall
> checking return type of signal handlers... void
> checking for perror... yes
> checking for gettimeofday... yes
> checking for memset... yes
> checking for socket... yes
> checking for getifaddrs... yes
> checking for freeifaddrs... yes
> checking alloca.h usability... yes
> checking alloca.h presence... yes
> checking for alloca.h... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating doc/Makefile
> config.status: creating perf/Makefile
> config.status: creating src/libzmq.pc
> config.status: creating builds/msvc/Makefile
> config.status: creating tests/Makefile
> config.status: creating foreign/openpgm/Makefile
> config.status: creating builds/redhat/zeromq.spec
> config.status: creating src/platform.hpp
> config.status: executing depfiles commands
> config.status: executing libtool commands
> Making all in src
> make  all-am
>   CXX    libzmq_la-clock.lo
>   CXX    libzmq_la-command.lo
>   CXX    libzmq_la-ctx.lo
>   CXX    libzmq_la-connect_session.lo
>   CXX    libzmq_la-decoder.lo
>   CXX    libzmq_la-device.lo
>   CXX    libzmq_la-devpoll.lo
>   CXX    libzmq_la-dist.lo
>   CXX    libzmq_la-encoder.lo
>   CXX    libzmq_la-epoll.lo
>   CXX    libzmq_la-err.lo
>   CXX    libzmq_la-fq.lo
>   CXX    libzmq_la-io_object.lo
>   CXX    libzmq_la-io_thread.lo
>   CXX    libzmq_la-ip.lo
>   CXX    libzmq_la-kqueue.lo
>   CXX    libzmq_la-lb.lo
>   CXX    libzmq_la-mailbox.lo
>   CXX    libzmq_la-named_session.lo
>   CXX    libzmq_la-object.lo
>   CXX    libzmq_la-options.lo
>   CXX    libzmq_la-own.lo
>   CXX    libzmq_la-pair.lo
>   CXX    libzmq_la-pgm_receiver.lo
>   CXX    libzmq_la-pgm_sender.lo
>   CXX    libzmq_la-pgm_socket.lo
>   CXX    libzmq_la-pipe.lo
>   CXX    libzmq_la-poll.lo
>   CXX    libzmq_la-poller_base.lo
>   CXX    libzmq_la-pull.lo
>   CXX    libzmq_la-push.lo
>   CXX    libzmq_la-reaper.lo
>   CXX    libzmq_la-pub.lo
>   CXX    libzmq_la-rep.lo
>   CXX    libzmq_la-req.lo
>   CXX    libzmq_la-select.lo
>   CXX    libzmq_la-session.lo
>   CXX    libzmq_la-socket_base.lo
>   CXX    libzmq_la-sub.lo
>   CXX    libzmq_la-swap.lo
>   CXX    libzmq_la-tcp_connecter.lo
>   CXX    libzmq_la-tcp_listener.lo
>   CXX    libzmq_la-tcp_socket.lo
>   CXX    libzmq_la-thread.lo
>   CXX    libzmq_la-transient_session.lo
>   CXX    libzmq_la-trie.lo
>   CXX    libzmq_la-uuid.lo
>   CXX    libzmq_la-xpub.lo
>   CXX    libzmq_la-xrep.lo
>   CXX    libzmq_la-xreq.lo
>   CXX    libzmq_la-xsub.lo
>   CXX    libzmq_la-zmq.lo
>   CXX    libzmq_la-zmq_connecter.lo
>   CXX    libzmq_la-zmq_engine.lo
>   CXX    libzmq_la-zmq_init.lo
>   CXX    libzmq_la-zmq_listener.lo
>   CXXLD  libzmq.la
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no
> symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no
> symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no
> symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no symbols
> Making all in doc
> make[1]: Nothing to be done for `all'.
> Making all in perf
>   CXX    local_lat.o
>   CXXLD  local_lat
>   CXX    remote_lat.o
>   CXXLD  remote_lat
>   CXX    local_thr.o
>   CXXLD  local_thr
>   CXX    remote_thr.o
>   CXXLD  remote_thr
>   CXX    inproc_lat.o
>   CXXLD  inproc_lat
>   CXX    inproc_thr.o
>   CXXLD  inproc_thr
> Making all in tests
>   CXX    test_pair_inproc.o
>   CXXLD  test_pair_inproc
>   CXX    test_pair_tcp.o
>   CXXLD  test_pair_tcp
>   CXX    test_reqrep_inproc.o
>   CXXLD  test_reqrep_inproc
>   CXX    test_reqrep_tcp.o
>   CXXLD  test_reqrep_tcp
>   CXX    test_hwm.o
>   CXXLD  test_hwm
>   CXX    test_shutdown_stress.o
>   CXXLD  test_shutdown_stress
>   CXX    test_pair_ipc.o
>   CXXLD  test_pair_ipc
>   CXX    test_reqrep_ipc.o
>   CXXLD  test_reqrep_ipc
> make[1]: Nothing to be done for `all-am'.
> Password:
> Making install in src
> test -z "/usr/local/lib" || ../config/install-sh -c -d "/usr/local/lib"
>  /bin/sh ../libtool   --mode=install /usr/bin/install -c
> libzmq.la'/usr/local/lib'
> libtool: install: /usr/bin/install -c .libs/libzmq.1.dylib
> /usr/local/lib/libzmq.1.dylib
> libtool: install: (cd /usr/local/lib && { ln -s -f libzmq.1.dylib
> libzmq.dylib || { rm -f libzmq.dylib && ln -s libzmq.1.dylib libzmq.dylib;
> }; })
> libtool: install: /usr/bin/install -c .libs/libzmq.lai /usr/local/lib/
> libzmq.la
> libtool: install: /usr/bin/install -c .libs/libzmq.a
> /usr/local/lib/libzmq.a
> libtool: install: chmod 644 /usr/local/lib/libzmq.a
> libtool: install: ranlib /usr/local/lib/libzmq.a
> ranlib: file: /usr/local/lib/libzmq.a(libzmq_la-devpoll.o) has no symbols
> ranlib: file: /usr/local/lib/libzmq.a(libzmq_la-epoll.o) has no symbols
> ranlib: file: /usr/local/lib/libzmq.a(libzmq_la-pgm_receiver.o) has no
> symbols
> ranlib: file: /usr/local/lib/libzmq.a(libzmq_la-pgm_sender.o) has no
> symbols
> ranlib: file: /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o) has no
> symbols
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
>      during execution
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> test -z "/usr/local/include" || ../config/install-sh -c -d
> "/usr/local/include"
>  /usr/bin/install -c -m 644 ../include/zmq.h ../include/zmq.hpp
> ../include/zmq_utils.h '/usr/local/include'
> test -z "/usr/local/lib/pkgconfig" || ../config/install-sh -c -d
> "/usr/local/lib/pkgconfig"
>  /usr/bin/install -c -m 644 libzmq.pc '/usr/local/lib/pkgconfig'
> Making install in doc
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/share/man/man3" || ../config/install-sh -c -d
> "/usr/local/share/man/man3"
>  /usr/bin/install -c -m 644 zmq_bind.3 zmq_close.3 zmq_connect.3
> zmq_device.3 zmq_init.3 zmq_msg_close.3 zmq_msg_copy.3 zmq_msg_data.3
> zmq_msg_init.3 zmq_msg_init_data.3 zmq_msg_init_size.3 zmq_msg_move.3
> zmq_msg_size.3 zmq_poll.3 zmq_recv.3 zmq_send.3 zmq_setsockopt.3
> zmq_socket.3 zmq_strerror.3 zmq_term.3 zmq_version.3 zmq_getsockopt.3
> zmq_errno.3 '/usr/local/share/man/man3'
> test -z "/usr/local/share/man/man7" || ../config/install-sh -c -d
> "/usr/local/share/man/man7"
>  /usr/bin/install -c -m 644 zmq.7 zmq_tcp.7 zmq_pgm.7 zmq_epgm.7
> zmq_inproc.7 zmq_ipc.7 zmq_cpp.7 '/usr/local/share/man/man7'
> Making install in perf
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> Making install in tests
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> Cloning into 'jzmq'...
> remote: Counting objects: 611, done.
> remote: Compressing objects: 100% (291/291), done.
> remote: Total 611 (delta 246), reused 539 (delta 205)
> Receiving objects: 100% (611/611), 345.23 KiB | 479.00 KiB/s, done.
> Resolving deltas: 100% (246/246), done.
> Checking connectivity... done
> autoreconf: Entering directory `.'
> autoreconf: configure.in: not using Gettext
> autoreconf: running: aclocal -I config --force -I config
> aclocal: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> autoreconf: configure.in: tracing
> autoreconf: running: glibtoolize --copy --force
> glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
> glibtoolize: copying file `config/ltmain.sh'
> glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.
> glibtoolize: copying file `config/libtool.m4'
> glibtoolize: copying file `config/ltoptions.m4'
> glibtoolize: copying file `config/ltsugar.m4'
> glibtoolize: copying file `config/ltversion.m4'
> glibtoolize: copying file `config/lt~obsolete.m4'
> aclocal: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf
> --include=config --force
> autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader
> --include=config --force
> autoreconf: running: automake --add-missing --copy --force-missing
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in:28: installing 'config/compile'
> configure.in:28: installing 'config/config.guess'
> configure.in:28: installing 'config/config.sub'
> configure.in:14: installing 'config/install-sh'
> configure.in:14: installing 'config/missing'
> Makefile.am: installing './INSTALL'
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> src/Makefile.am: installing 'config/depcomp'
> autoreconf: Leaving directory `.'
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether 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 build system type... x86_64-apple-darwin12.5.0
> checking host system type... x86_64-apple-darwin12.5.0
> checking how to print strings... printf
> 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 a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld...
> no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert x86_64-apple-darwin12.5.0 file names to
> x86_64-apple-darwin12.5.0 format... func_convert_file_noop
> checking how to convert x86_64-apple-darwin12.5.0 file names to toolchain
> format... func_convert_file_noop
> checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/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 mt... no
> checking if : is a manifest tool... no
> checking for dsymutil... dsymutil
> checking for nmedit... nmedit
> checking for lipo... lipo
> checking for otool... otool
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking for -force_load linker flag... yes
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -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
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... darwin12.5.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 gawk... (cached) awk
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld...
> no
> checking whether the g++ linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... darwin12.5.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking for pkg-config... /usr/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for ZeroMQ... yes
> checking zmq.h usability... yes
> checking zmq.h presence... yes
> checking for zmq.h... yes
> checking for zmq_init in -lzmq... yes
> checking for javac... /usr/bin/javac
> checking for javah... /usr/bin/javah
> checking for jar... /usr/bin/jar
> checking for jni.h in
>
> /Library/Java/JavaVirtualMachines/1.6.0_43-b01-447.jdk/Contents/Home/include...
> yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating perf/Makefile
> config.status: creating src/config.hpp
> config.status: executing depfiles commands
> config.status: executing libtool commands
> Making all in src
> make[1]: *** No rule to make target `classdist_noinst.stamp', needed by
> `org/zeromq/ZMQ.class'.  Stop.
> make: *** [all-recursive] Error 1
> Making install in src
> make[1]: *** No rule to make target `classdist_noinst.stamp', needed by
> `org/zeromq/ZMQ.class'.  Stop.
> make: *** [install-recursive] Error 1
>
> Althought I got the error, I tryied to follow up with the next step:
> cmueller$ lein sub install
> Reading project from storm-console-logging
> Created
>
> /Users/cmueller/workspaceProjectX/storm/storm-console-logging/target/storm-console-logging-0.9.0-rc3.jar
> Wrote /Users/cmueller/workspaceProjectX/storm/storm-console-logging/pom.xml
> Reading project from storm-core
> Compiling 438 source files to
> /Users/cmueller/workspaceProjectX/storm/storm-core/target/classes
> Note:
>
> /Users/cmueller/workspaceProjectX/storm/storm-core/src/jvm/backtype/storm/coordination/CoordinatedBolt.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling backtype.storm.bootstrap
> Compiling backtype.storm.clojure
> Compiling backtype.storm.cluster
> Compiling backtype.storm.command.activate
> Compiling backtype.storm.command.config-value
> Compiling backtype.storm.command.deactivate
> Compiling backtype.storm.command.dev-zookeeper
> Compiling backtype.storm.command.kill-topology
> Compiling backtype.storm.command.list
> Compiling backtype.storm.command.rebalance
> Compiling backtype.storm.command.shell-submission
> Compiling backtype.storm.config
> Compiling backtype.storm.daemon.acker
> Compiling backtype.storm.daemon.builtin-metrics
> Compiling backtype.storm.daemon.common
> Compiling backtype.storm.daemon.drpc
> Compiling backtype.storm.daemon.executor
> Compiling backtype.storm.daemon.logviewer
> Compiling backtype.storm.daemon.nimbus
> Compiling backtype.storm.daemon.supervisor
> Compiling backtype.storm.daemon.task
> Compiling backtype.storm.daemon.worker
> Compiling backtype.storm.disruptor
> Compiling backtype.storm.event
> Compiling backtype.storm.LocalCluster
> Compiling backtype.storm.LocalDRPC
> Compiling backtype.storm.log
> Compiling backtype.storm.messaging.loader
> Compiling backtype.storm.messaging.local
> Compiling backtype.storm.messaging.zmq
> 6789 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread
> Thread[main,5,main] died
> clojure.lang.Compiler$CompilerException: java.lang.UnsatisfiedLinkError: no
> jzmq in java.library.path, compiling:(zmq.clj:1)
>     at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3387)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.compile1(Compiler.java:7035)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.compile1(Compiler.java:7025)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.compile(Compiler.java:7097)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.RT.compile(RT.java:387) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.RT.load(RT.java:427) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.RT.load(RT.java:400) ~[clojure-1.4.0.jar:na]
>     at clojure.core$load$fn__4890.invoke(core.clj:5415)
> ~[clojure-1.4.0.jar:na]
>     at clojure.core$load.doInvoke(core.clj:5414) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.RestFn.invoke(RestFn.java:408) ~[clojure-1.4.0.jar:na]
>     at clojure.core$load_one.invoke(core.clj:5227) ~[clojure-1.4.0.jar:na]
>     at clojure.core$compile$fn__4895.invoke(core.clj:5426)
> ~[clojure-1.4.0.jar:na]
>     at clojure.core$compile.invoke(core.clj:5425) ~[clojure-1.4.0.jar:na]
>     at user$eval9.invoke(form-init7247229328487019774.clj:1) ~[na:na]
>     at clojure.lang.Compiler.eval(Compiler.java:6511)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.eval(Compiler.java:6501)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.load(Compiler.java:6952)
> ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler.loadFile(Compiler.java:6912)
> ~[clojure-1.4.0.jar:na]
>     at clojure.main$load_script.invoke(main.clj:283)
> ~[clojure-1.4.0.jar:na]
>     at clojure.main$init_opt.invoke(main.clj:288) ~[clojure-1.4.0.jar:na]
>     at clojure.main$initialize.invoke(main.clj:316) ~[clojure-1.4.0.jar:na]
>     at clojure.main$null_opt.invoke(main.clj:349) ~[clojure-1.4.0.jar:na]
>     at clojure.main$main.doInvoke(main.clj:427) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.RestFn.invoke(RestFn.java:421) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Var.invoke(Var.java:419) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.AFn.applyToHelper(AFn.java:163) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Var.applyTo(Var.java:532) ~[clojure-1.4.0.jar:na]
>     at clojure.main.main(main.java:37) ~[clojure-1.4.0.jar:na]
> Caused by: java.lang.UnsatisfiedLinkError: no jzmq in java.library.path
>     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
> ~[na:1.6.0_43]
>     at java.lang.Runtime.loadLibrary0(Runtime.java:823) ~[na:1.6.0_43]
>     at java.lang.System.loadLibrary(System.java:1045) ~[na:1.6.0_43]
>     at org.zeromq.ZMQ.<clinit>(ZMQ.java:34) ~[jzmq-2.1.0.jar:na]
>     at java.lang.Class.forName0(Native Method) ~[na:1.6.0_43]
>     at java.lang.Class.forName(Class.java:171) ~[na:1.6.0_43]
>     at backtype.storm.messaging.zmq$loading__4784__auto__.invoke(zmq.clj:1)
> ~[classes/:na]
>     at clojure.lang.AFn.applyToHelper(AFn.java:159) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.AFn.applyTo(AFn.java:151) ~[clojure-1.4.0.jar:na]
>     at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3382)
> ~[clojure-1.4.0.jar:na]
>     ... 27 common frames omitted
> Compilation failed: Subprocess failed
>
> Any suggestion what I can try to get this working?
>
> [1] https://www.pcisecuritystandards.org/
> [2] http://camel.apache.org/building.html
> [3] https://github.com/nathanmarz/storm/wiki/Creating-a-new-Storm-project
>
> Thanks in advance,
> Christian
> -----------------
>
> Software Integration Specialist
>
> Apache Member
> V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
> Apache Incubator PMC Member
>
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>

Reply via email to