Storm tests failed

441 views
Skip to first unread message

Christian Müller

unread,
Oct 25, 2013, 5:12:22 PM10/25/13
to storm...@googlegroups.com
Also cross posted on the d...@storm.incubator.apache.org mailing list:

I tried to execute the unit test but it failed with:

$cd storm/storm-core
$ lein clean
$ lein test
...
16050 [Thread-435] ERROR backtype.storm.daemon.worker - Error on initialization of server mk-worker
org.zeromq.ZMQException: Invalid argument
    at org.zeromq.ZMQ$Socket.setLongSockopt(Native Method) ~[jzmq-2.1.0.jar:na]
    at org.zeromq.ZMQ$Socket.setLinger(ZMQ.java:601) ~[jzmq-2.1.0.jar:na]
    at zilch.mq$set_linger.invoke(mq.clj:57) ~[classes/:na]
    at backtype.storm.messaging.zmq.ZMQContext.connect(zmq.clj:78) ~[classes/:na]
    at backtype.storm.daemon.worker$mk_refresh_connections$this__5891$iter__5898__5902$fn__5903.invoke(worker.clj:250) ~[classes/:na]
    at clojure.lang.LazySeq.sval(LazySeq.java:42) [clojure-1.4.0.jar:na]
    at clojure.lang.LazySeq.seq(LazySeq.java:60) [clojure-1.4.0.jar:na]
    at clojure.lang.RT.seq(RT.java:473) [clojure-1.4.0.jar:na]
    at clojure.core$seq.invoke(core.clj:133) [clojure-1.4.0.jar:na]
    at clojure.core$dorun.invoke(core.clj:2725) [clojure-1.4.0.jar:na]
    at clojure.core$doall.invoke(core.clj:2741) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.worker$mk_refresh_connections$this__5891.invoke(worker.clj:244) ~[classes/:na]
    at backtype.storm.daemon.worker$fn__5946$exec_fn__1299__auto____5947.invoke(worker.clj:357) ~[classes/:na]
    at clojure.lang.AFn.applyToHelper(AFn.java:185) [clojure-1.4.0.jar:na]
    at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.4.0.jar:na]
    at clojure.core$apply.invoke(core.clj:601) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.worker$fn__5946$mk_worker__6002.doInvoke(worker.clj:329) [classes/:na]
    at clojure.lang.RestFn.invoke(RestFn.java:512) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$fn__6406.invoke(supervisor.clj:466) [classes/:na]
    at clojure.lang.MultiFn.invoke(MultiFn.java:177) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$sync_processes$iter__6283__6287$fn__6288.invoke(supervisor.clj:244) [classes/:na]
    at clojure.lang.LazySeq.sval(LazySeq.java:42) [clojure-1.4.0.jar:na]
    at clojure.lang.LazySeq.seq(LazySeq.java:60) [clojure-1.4.0.jar:na]
    at clojure.lang.RT.seq(RT.java:473) [clojure-1.4.0.jar:na]
    at clojure.core$seq.invoke(core.clj:133) [clojure-1.4.0.jar:na]
    at clojure.core$dorun.invoke(core.clj:2725) [clojure-1.4.0.jar:na]
    at clojure.core$doall.invoke(core.clj:2741) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:232) [classes/:na]
    at clojure.lang.AFn.applyToHelper(AFn.java:161) [clojure-1.4.0.jar:na]
    at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.4.0.jar:na]
    at clojure.core$apply.invoke(core.clj:603) [clojure-1.4.0.jar:na]
    at clojure.core$partial$fn__4070.doInvoke(core.clj:2343) [clojure-1.4.0.jar:na]
    at clojure.lang.RestFn.invoke(RestFn.java:397) [clojure-1.4.0.jar:na]
    at backtype.storm.event$event_manager$fn__3142.invoke(event.clj:24) [classes/:na]
    at clojure.lang.AFn.run(AFn.java:24) [clojure-1.4.0.jar:na]
    at java.lang.Thread.run(Thread.java:680) [na:1.6.0_43]
16050 [Thread-441] ERROR backtype.storm.daemon.worker - Error on initialization of server mk-worker
org.zeromq.ZMQException: Invalid argument
    at org.zeromq.ZMQ$Socket.setLongSockopt(Native Method) ~[jzmq-2.1.0.jar:na]
    at org.zeromq.ZMQ$Socket.setLinger(ZMQ.java:601) ~[jzmq-2.1.0.jar:na]
    at zilch.mq$set_linger.invoke(mq.clj:57) ~[classes/:na]
    at backtype.storm.messaging.zmq.ZMQContext.connect(zmq.clj:78) ~[classes/:na]
    at backtype.storm.daemon.worker$mk_refresh_connections$this__5891$iter__5898__5902$fn__5903.invoke(worker.clj:250) ~[classes/:na]
    at clojure.lang.LazySeq.sval(LazySeq.java:42) [clojure-1.4.0.jar:na]
    at clojure.lang.LazySeq.seq(LazySeq.java:60) [clojure-1.4.0.jar:na]
    at clojure.lang.RT.seq(RT.java:473) [clojure-1.4.0.jar:na]
    at clojure.core$seq.invoke(core.clj:133) [clojure-1.4.0.jar:na]
    at clojure.core$dorun.invoke(core.clj:2725) [clojure-1.4.0.jar:na]
    at clojure.core$doall.invoke(core.clj:2741) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.worker$mk_refresh_connections$this__5891.invoke(worker.clj:244) ~[classes/:na]
    at backtype.storm.daemon.worker$fn__5946$exec_fn__1299__auto____5947.invoke(worker.clj:357) ~[classes/:na]
    at clojure.lang.AFn.applyToHelper(AFn.java:185) [clojure-1.4.0.jar:na]
    at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.4.0.jar:na]
    at clojure.core$apply.invoke(core.clj:601) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.worker$fn__5946$mk_worker__6002.doInvoke(worker.clj:329) [classes/:na]
    at clojure.lang.RestFn.invoke(RestFn.java:512) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$fn__6406.invoke(supervisor.clj:466) [classes/:na]
    at clojure.lang.MultiFn.invoke(MultiFn.java:177) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$sync_processes$iter__6283__6287$fn__6288.invoke(supervisor.clj:244) [classes/:na]
    at clojure.lang.LazySeq.sval(LazySeq.java:42) [clojure-1.4.0.jar:na]
    at clojure.lang.LazySeq.seq(LazySeq.java:60) [clojure-1.4.0.jar:na]
    at clojure.lang.RT.seq(RT.java:473) [clojure-1.4.0.jar:na]
    at clojure.core$seq.invoke(core.clj:133) [clojure-1.4.0.jar:na]
    at clojure.core$dorun.invoke(core.clj:2725) [clojure-1.4.0.jar:na]
    at clojure.core$doall.invoke(core.clj:2741) [clojure-1.4.0.jar:na]
    at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:232) [classes/:na]
    at clojure.lang.AFn.applyToHelper(AFn.java:161) [clojure-1.4.0.jar:na]
    at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.4.0.jar:na]
    at clojure.core$apply.invoke(core.clj:603) [clojure-1.4.0.jar:na]
    at clojure.core$partial$fn__4070.doInvoke(core.clj:2343) [clojure-1.4.0.jar:na]
    at clojure.lang.RestFn.invoke(RestFn.java:397) [clojure-1.4.0.jar:na]
    at backtype.storm.event$event_manager$fn__3142.invoke(event.clj:24) [classes/:na]
    at clojure.lang.AFn.run(AFn.java:24) [clojure-1.4.0.jar:na]
    at java.lang.Thread.run(Thread.java:680) [na:1.6.0_43]
16053 [Thread-441] INFO  backtype.storm.util - Halting process: ("Error on initialization")
16053 [Thread-435] INFO  backtype.storm.util - Halting process: ("Error on initialization")
Tests failed.

Is this a known issue? Did I something wrong?

Best,
Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel Committer
Apache Incubator PMC Member

Nathan Marz

unread,
Oct 25, 2013, 5:16:28 PM10/25/13
to storm-user
Did you install the right version of 0mq? You should make sure to install 2.1.7.


--
You received this message because you are subscribed to the Google Groups "storm-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to storm-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Twitter: @nathanmarz
http://nathanmarz.com

Christian Müller

unread,
Oct 26, 2013, 8:59:50 AM10/26/13
to storm...@googlegroups.com
I was using a newer version, installed via "brew install zeromq"...

I uninstalled this version and did the following (using XCode 5.0.1, Mac OSX 10.9, Java 1.6.0_65):
$ cd storm
$ ./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-26 14:55:36--  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    679KB/s   in 2.7s

2013-10-26 14:55:38 (679 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... none needed
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 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-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.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... /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 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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/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 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 -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 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... darwin13.0.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++... /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 whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.0.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... yes
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... yes
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: src/platform.hpp is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  CXX    libzmq_la-ctx.lo
In file included from ctx.cpp:24:
In file included from ./ctx.hpp:32:
./semaphore.hpp:102:22: error: use of undeclared identifier 'pthread_mutex_init'
            int rc = pthread_mutex_init (&mutex, NULL);
                     ^
./semaphore.hpp:104:18: error: use of undeclared identifier 'pthread_mutex_lock'
            rc = pthread_mutex_lock (&mutex);
                 ^
./semaphore.hpp:111:22: error: use of undeclared identifier 'pthread_mutex_unlock'
            int rc = pthread_mutex_unlock (&mutex);
                     ^
./semaphore.hpp:113:18: error: use of undeclared identifier 'pthread_mutex_destroy'
            rc = pthread_mutex_destroy (&mutex);
                 ^
./semaphore.hpp:120:23: error: use of undeclared identifier 'pthread_mutex_lock'
             int rc = pthread_mutex_lock (&mutex);
                      ^
./semaphore.hpp:127:22: error: use of undeclared identifier 'pthread_mutex_unlock'
            int rc = pthread_mutex_unlock (&mutex);
                     ^
6 errors generated.
make[2]: *** [libzmq_la-ctx.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Password:
Making install in src
  CXX    libzmq_la-ctx.lo
In file included from ctx.cpp:24:
In file included from ./ctx.hpp:32:
./semaphore.hpp:102:22: error: use of undeclared identifier 'pthread_mutex_init'
            int rc = pthread_mutex_init (&mutex, NULL);
                     ^
./semaphore.hpp:104:18: error: use of undeclared identifier 'pthread_mutex_lock'
            rc = pthread_mutex_lock (&mutex);
                 ^
./semaphore.hpp:111:22: error: use of undeclared identifier 'pthread_mutex_unlock'
            int rc = pthread_mutex_unlock (&mutex);
                     ^
./semaphore.hpp:113:18: error: use of undeclared identifier 'pthread_mutex_destroy'
            rc = pthread_mutex_destroy (&mutex);
                 ^
./semaphore.hpp:120:23: error: use of undeclared identifier 'pthread_mutex_lock'
             int rc = pthread_mutex_lock (&mutex);
                      ^
./semaphore.hpp:127:22: error: use of undeclared identifier 'pthread_mutex_unlock'
            int rc = pthread_mutex_unlock (&mutex);
                     ^
6 errors generated.
make[1]: *** [libzmq_la-ctx.lo] Error 1
make: *** [install-recursive] Error 1
fatal: destination path 'jzmq' already exists and is not an empty directory.
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'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
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-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.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... /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 whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.0.0 file names to x86_64-apple-darwin13.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.0.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 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... 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... darwin13.0.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++... /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 whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.0.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... no
checking zmq.h usability... no
checking zmq.h presence... no
checking for zmq.h... no
configure: error: cannot find zmq.h
make: *** No targets specified and no makefile found.  Stop.
make: Nothing to be done for `install'.

Thanks in advance for any help,

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

robert towne

unread,
Nov 14, 2013, 12:02:02 AM11/14/13
to storm...@googlegroups.com
Christian, did you ever resolve this?
I am trying to install 2.1.7 on mavericks and ran into something similar when I 'install' after a 'configure'

Making install in src

  CXX      libzmq_la-clock.lo

  CXX      libzmq_la-command.lo

  CXX      libzmq_la-ctx.lo

In file included from ctx.cpp:24:

In file included from ./ctx.hpp:32:

./semaphore.hpp:102:22: error: use of undeclared identifier 'pthread_mutex_init'

            int rc = pthread_mutex_init (&mutex, NULL);

I tried to download the latest xcode & command line tools along with pkg-config as others have hinted..  all to no avail.

any help appreciated - thanks

Robert




P. Taylor Goetz

unread,
Nov 26, 2013, 11:03:09 PM11/26/13
to storm...@googlegroups.com
Robert,

If you are just trying to *build* storm on OSX and don’t intend to use OSX in a production cluster, you can get by with installing zeromq 2.1.9, which will build with homebrew on OSX 10.9.


Hope that helps.

- Taylor

Reply all
Reply to author
Forward
0 new messages