Skip to content

Instantly share code, notes, and snippets.

@dieu
Created August 30, 2010 09:20
Show Gist options
  • Save dieu/557209 to your computer and use it in GitHub Desktop.
Save dieu/557209 to your computer and use it in GitHub Desktop.
./configure --with-zeromq=/opt/zeromq-2.0.8-test
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking build system type... x86_64-apple-darwin10.4.0
checking host system type... x86_64-apple-darwin10.4.0
configure: Erlang environment
checking for erlc... /opt/local/bin/erlc
checking for erl... /opt/local/bin/erl
checking for Erlang/OTP 'kernel' library subdirectory... /opt/local/lib/erlang/lib/kernel-2.14
checking for Erlang/OTP 'kernel' library version... 2.14
checking for Erlang/OTP 'stdlib' library subdirectory... /opt/local/lib/erlang/lib/stdlib-1.17
checking for Erlang/OTP 'stdlib' library version... 1.17
checking for Erlang/OTP 'erl_interface' library subdirectory... /opt/local/lib/erlang/lib/erl_interface-3.7
checking for Erlang/OTP 'erl_interface' library version... 3.7
checking for erl... /opt/local/bin/erl
checking for erlc... /opt/local/bin/erlc
checking for erlc... /opt/local/bin/erlc
checking for erl... /opt/local/bin/erl
checking for Erlang/OTP root directory... /opt/local/lib/erlang
checking for Erlang/OTP ERTS version... 5.8
checking for Erlang/OTP ERTS directory... /opt/local/lib/erlang/erts-5.8
checking for Erlang/OTP release... R14A
checking for Erlang/OTP ERTS version... (cached) 5.8
checking for gcc... gcc
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 dependency style of gcc... none
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 /opt/local/lib/erlang/usr/include/erl_driver.h usability... yes
checking /opt/local/lib/erlang/usr/include/erl_driver.h presence... yes
checking for /opt/local/lib/erlang/usr/include/erl_driver.h... yes
checking /opt/zeromq-2.0.8-test/include/zmq.h usability... yes
checking /opt/zeromq-2.0.8-test/include/zmq.h presence... yes
checking for /opt/zeromq-2.0.8-test/include/zmq.h... yes
configure: Erlang environment
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c_src/Makefile
config.status: creating src/Makefile
config.status: creating ebin/zmq.app
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: == Package: zmq-0.1 ==
configure: Host OS: darwin10.4.0
configure: Install dir: /opt/local/lib/erlang/lib/zmq-0.1
configure: C++ compiler: g++
configure: CXXFLAGS: -m32 -D_DARWIN_C_SOURCE -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -g -O3 -DNDEBUG -g -O2 -Werror -I/opt/local/lib/erlang/usr/include -I/opt/local/lib/erlang/lib/erl_interface-3.7/include -I/opt/zeromq-2.0.8-test/include
configure: Erlang compiler: /opt/local/bin/erlc
configure: Erlang erts dir: /opt/local/lib/erlang/erts-5.8
configure: Erlang erts ver: 5.8
configure: erl_interface: /opt/local/lib/erlang/lib/erl_interface-3.7
configure: ZeroMQ: /opt/zeromq-2.0.8-test
configure: Debug/warnings: no/yes
configure: Documentation: yes
configure: Examples: yes
home:erl0mq apanasenko$ make
make all-recursive
Making all in c_src
g++ -o ../priv/zmq_drv.dylib zmq_drv.cpp -Wall -m32 -D_DARWIN_C_SOURCE -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -g -O3 -DNDEBUG -g -O2 -Werror -I/opt/local/lib/erlang/usr/include -I/opt/local/lib/erlang/lib/erl_interface-3.7/include -I/opt/zeromq-2.0.8-test/include -shared -fPIC -L/opt/zeromq-2.0.8-test/lib -lzmq -lpthread
zmq_drv.cpp: In function ‘void zmqdrv_ready_input(_erl_drv_data*, _erl_drv_event*)’:
zmq_drv.cpp:342: error: ‘ZMQ_EVENTS’ was not declared in this scope
zmq_drv.cpp: In function ‘void zmqdrv_socket(zmq_drv_t*, ErlIOVec*)’:
zmq_drv.cpp:561: error: ‘ZMQ_FD’ was not declared in this scope
zmq_drv.cpp: In function ‘void zmqdrv_recv(zmq_drv_t*, ErlIOVec*)’:
zmq_drv.cpp:848: error: ‘ZMQ_EVENTS’ was not declared in this scope
make[2]: *** [../priv/zmq_drv.dylib] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
home:erl0mq apanasenko$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment