Skip to content

Instantly share code, notes, and snippets.

@a5sk4s
Created August 23, 2012 15:18
Show Gist options
  • Save a5sk4s/3437669 to your computer and use it in GitHub Desktop.
Save a5sk4s/3437669 to your computer and use it in GitHub Desktop.
gearman 0.36 install issue
Your system is raring to brew.
==> Downloading https://launchpad.net/gearmand/0.0/0.36/+download/gearmand-0.36.tar.gz
Already downloaded: /Users/akrubic/Library/Caches/Homebrew/gearman-0.36.tar.gz
/usr/bin/tar xf /Users/akrubic/Library/Caches/Homebrew/gearman-0.36.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gearman/0.36 --without-mysql
./configure --prefix=/usr/local/Cellar/gearman/0.36 --without-mysql
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for gcc... /usr/bin/gcc-4.2
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 /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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 for style of include used by make... GNU
checking how to create a ustar tar archive... gnutar
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/bin/gcc-4.2
checking if the linker (/usr/bin/gcc-4.2) 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-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/gcc-4.2 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 /usr/bin/gcc-4.2 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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.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... no
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
checking for ld used by /usr/bin/g++-4.2... /usr/bin/gcc-4.2
checking if the linker (/usr/bin/gcc-4.2) is GNU ld... no
checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/g++-4.2 static flag -static works... no
checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
checking if /usr/bin/g++-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether __SUNPRO_C is declared... no
checking whether __ICC is declared... no
checking whether make supports nested variables... yes
checking for ISO C++ 98 include files...
checking for Boost headers version >= 1.39.0... yes
checking for Boost's header version... 1_50
checking for the toolset name used by Boost for /usr/bin/g++-4.2... xgcc42 -xgcc
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
checking for the flags needed to use pthreads...
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... yes
checking the location of cstdint... <tr1/cstdint>
checking the location of cinttypes... <tr1/cinttypes>
checking for mysqld... nocommand
configure: WARNING: mysqld not found in /usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin:/Users/akrubic/.rvm/bin:/usr/local/Library/Contributions/cmds
checking for mysqld... (cached) nocommand
configure: WARNING: mysqld not found in /usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin:/Users/akrubic/.rvm/bin:/usr/local/Library/Contributions/cmds
checking whether memcached executable path has been provided... no
checking for memcached... /usr/local/bin/memcached
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmemcached... no
checking whether memcached_sasl executable path has been provided... no
checking for memcached_sasl... no
checking for curl-config... /usr/bin/curl-config
checking for curl (libcurl 7.19.7) >= 7.21.7... no
checking for perl... perl
checking for dpkg-gensymbols... no
checking for lcov... no
checking for genhtml... no
checking for sphinx-build... no
checking whether drizzled executable path has been provided... no
checking for drizzled... no
checking for libdrizzle... no
checking for SQLite3 library >= 3.0.0... yes
checking for pg_config... /usr/local/bin/pg_config
checking for PostgreSQL libraries... yes
checking usability... no
checking presence... no
checking for ... no
checking tcadb.h usability... no
checking tcadb.h presence... no
checking for tcadb.h... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for MSG_NOSIGNAL...
checking for MSG_DONTWAIT... yes
checking for MSG_MORE...
checking for O_CLOEXEC... no
checking hiredis/hiredis.h usability... no
checking hiredis/hiredis.h presence... no
checking for hiredis/hiredis.h... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking whether to enable assertions... no
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for valgrind... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.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 stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.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 netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stddef.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for strings.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.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 int32_t... yes
checking for pid_t... yes
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 uid_t in sys/types.h... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for error_at_line... no
checking for working alloca.h... yes
checking for alloca... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... (cached) no
checking for vprintf... yes
checking for _doprnt... no
checking for dup2... yes
checking for gettimeofday... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for uname... yes
checking for pipe2... no
checking for select... yes
checking for setenv... yes
checking for strtol... yes
checking for strtoul... yes
checking for dlopen in -ldl... yes
checking for clock_gettime in -lrt... no
checking for floor in -lm... yes
checking for setsockopt... yes
checking for bind... yes
checking event.h usability... yes
checking event.h presence... yes
checking for event.h... yes
checking for main in -levent... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for main in -luuid... yes
checking check for uuid_generate_time_safe... ./configure: line 23739: -L/usr/local/Cellar/gettext/0.18.1.1/lib: No such file or directory
./configure: line 23797: -L/usr/local/Cellar/gettext/0.18.1.1/lib: No such file or directory
checking whether SOCK_CLOEXEC is supported... no
checking whether pthreads work with -pthread... 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 check for pthread_timedjoin_np... ./configure: line 24273: -luuid: command not found
./configure: line 24274: PTHREAD_LIBS: command not found
./configure: line 24329: -L/usr/local/Cellar/gettext/0.18.1.1/lib: No such file or directory
checking whether C++ compiler accepts ... yes
checking whether the linker accepts ... yes
checking whether C++ compiler accepts -O2... yes
checking whether C++ compiler accepts -Werror... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wpragmas... yes
checking whether C++ compiler accepts --paramssp-buffer-size=1... no
checking whether C++ compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C++ compiler accepts -Waddress... yes
checking whether C++ compiler accepts -Warray-bounds... no
checking whether C++ compiler accepts -Wbad-function-cast... no
checking whether C++ compiler accepts -Wchar-subscripts... yes
checking whether C++ compiler accepts -Wcomment... yes
checking whether C++ compiler accepts -Wctor-dtor-privacy... yes
checking whether C++ compiler accepts -Wdeclaration-after-statement... no
checking whether C++ compiler accepts -Wfloat-equal... yes
checking whether C++ compiler accepts -Wformat=2... yes
checking whether C++ compiler accepts -Wlong-long... yes
checking whether C++ compiler accepts -Wmaybe-uninitialized... no
checking whether C++ compiler accepts -Wmissing-field-initializers... yes
checking whether C++ compiler accepts -Wmissing-noreturn... yes
checking whether C++ compiler accepts -Wmissing-prototypes... yes
checking whether C++ compiler accepts -Wnested-externs... no
checking whether C++ compiler accepts -Wnon-virtual-dtor... yes
checking whether C++ compiler accepts -Wnormalized=id... yes
checking whether C++ compiler accepts -Wold-style-definition... no
checking whether C++ compiler accepts -Woverloaded-virtual... yes
checking whether C++ compiler accepts -Woverride-init... no
checking whether C++ compiler accepts -Wpointer-arith... yes
checking whether C++ compiler accepts -Wredundant-decls... yes
checking whether C++ compiler accepts -Wshadow... yes
checking whether C++ compiler accepts -Wshorten-64-to-32... yes
checking whether C++ compiler accepts -Wsign-compare... yes
checking whether C++ compiler accepts -Wstack-protector... yes
checking whether C++ compiler accepts -Wstrict-overflow=1... yes
checking whether C++ compiler accepts -Wstrict-prototypes... no
checking whether C++ compiler accepts -Wswitch-enum... yes
checking whether C++ compiler accepts -Wundef... yes
checking whether C++ compiler accepts -Wunused-result... no
checking whether C++ compiler accepts -Wunused-variable... yes
checking whether C++ compiler accepts -Wwrite-strings... yes
checking whether C++ compiler accepts -floop-parallelize-all... no
checking whether C++ compiler accepts -fstack-protector-all... yes
checking whether C++ compiler accepts -fwrapv... yes
checking whether C++ compiler accepts -ggdb... yes
checking whether the linker accepts -Werror... yes
checking whether the linker accepts -z relro -z now... no
configure: creating ./config.status
config.status: creating libtest/version.h
config.status: creating Makefile
config.status: creating docs/conf.py
config.status: creating libgearman-1.0/version.h
config.status: creating scripts/gearmand
config.status: creating scripts/gearmand-init
config.status: creating scripts/gearmand.xml
config.status: creating scripts/smf_install.sh
config.status: creating support/gearmand.pc
config.status: creating support/gearmand.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary for gearmand version 0.36
* Installation prefix: /usr/local/Cellar/gearman/0.36
* System type: apple-darwin10.8.0
* Host CPU: x86_64
* C++ Compiler: /usr/bin/g++-4.2
* C++ Flags: -Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6 -O2 -Werror -Wall -Wextra -Wpragmas -D_FORTIFY_SOURCE=2 -Waddress -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wlong-long -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstack-protector -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused-variable -Wwrite-strings -fstack-protector-all -fwrapv -ggdb
* Assertions enabled: no
* Debug enabled: no
* Warnings as failure:
* Building with libsqlite3 yes
* Building with libdrizzle no
* Building with libmemcached no
* Building with libpq yes
* Building with tokyocabinet no
* Building with libmysql
---
==> make install
make install
make install-am
CXX libgearman/libgearman_libgearman_la-gearman.lo
CXX libgearman/libgearman_libgearman_la-job.lo
CXX libgearman/libgearman_libgearman_la-kill.lo
CXX libgearman/libgearman_libgearman_la-log.lo
CXX libgearman/libgearman_libgearman_la-packet.lo
libgearman/log.cc: In function 'void gearman_log(gearman_universal_st*, gearman_verbose_t, const char*, __va_list_tag*)':
libgearman/log.cc:57: error: #pragma GCC diagnostic not allowed inside functions
libgearman/log.cc:58: error: #pragma GCC diagnostic not allowed inside functions
libgearman/log.cc:60: error: #pragma GCC diagnostic not allowed inside functions
make[1]: *** [libgearman/libgearman_libgearman_la-log.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
config.log was copied to /Users/akrubic/Library/Logs/Homebrew
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/gearman.rb#L15
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: ae7e547411edeafc3cf0946689e24d2e72e87f09
CPU: dual-core 64-bit penryn
OS X: 10.6.8-i386
Xcode: 3.2.6
X11: 2.3.6 in /usr/X11
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6
CXXFLAGS: -Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MAKEFLAGS: -j2
MACOSX_DEPLOYMENT_TARGET: 10.6
ACLOCAL_PATH: /usr/local/Cellar/gettext/0.18.1.1/share/aclocal:/usr/local/share/aclocal
OBJC: /usr/bin/gcc-4.2
PATH: /usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin:/Users/akrubic/.rvm/bin:/usr/local/Library/Contributions/cmds
Error: Failed executing: make install (gearman.rb:15)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment