Skip to content

Instantly share code, notes, and snippets.

@dhaley
Created January 22, 2014 19:40
Show Gist options
  • Save dhaley/8565894 to your computer and use it in GitHub Desktop.
Save dhaley/8565894 to your computer and use it in GitHub Desktop.
Error: Compiling dovecot 2.2.10 with clucene 2.3.3.4
libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -I/usr/local/Cellar/clucene/2.3.3.4/lib -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -c fts-backend-lucene.c -o fts-backend-lucene.o >/dev/null 2>&1
/bin/sh ../../../libtool --tag=CC --mode=link clang -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -module -avoid-version -o lib20_doveadm_fts_lucene_plugin.la -rpath /usr/local/Cellar/dovecot/2.2.10/lib/dovecot/doveadm doveadm-fts-lucene.lo
libtool: link: clang -Wl,-undefined -Wl,dynamic_lookup -o .libs/lib20_doveadm_fts_lucene_plugin.so -bundle .libs/doveadm-fts-lucene.o -O2
libtool: link: ar cru .libs/lib20_doveadm_fts_lucene_plugin.a doveadm-fts-lucene.o
libtool: link: ranlib .libs/lib20_doveadm_fts_lucene_plugin.a
libtool: link: ( cd ".libs" && rm -f "lib20_doveadm_fts_lucene_plugin.la" && ln -s "../lib20_doveadm_fts_lucene_plugin.la" "lib20_doveadm_fts_lucene_plugin.la" )
In file included from lucene-wrapper.cc:28:
In file included from /usr/local/include/CLucene.h:38:
In file included from /usr/local/include/CLucene/store/RAMDirectory.h:11:
/usr/local/include/CLucene/util/VoidMap.h:14:11: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
^
1 error generated.
make[3]: *** [lucene-wrapper.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 07a23cc016c06fdf2698e7e1de0013b36aaa1844
CPU: 8-core 64-bit ivybridge
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CPPFLAGS: -I/usr/local/Cellar/clucene/2.3.3.4/lib
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: dovecot did not build
Logs:
/Users/daha1836/Library/Logs/Homebrew/dovecot/01.configure
/Users/daha1836/Library/Logs/Homebrew/dovecot/01.configure.cc
/Users/daha1836/Library/Logs/Homebrew/dovecot/02.make
/Users/daha1836/Library/Logs/Homebrew/dovecot/02.make.cc
/Users/daha1836/Library/Logs/Homebrew/dovecot/config.log
These open issues may also help:
dovecot 2.2.5 (https://github.com/Homebrew/homebrew/pull/21712)
dovecot 2.2.4 (https://github.com/Homebrew/homebrew/pull/20804)
dovecot 2.2.1 (https://github.com/Homebrew/homebrew/pull/19903)
dovecot 2.2.2 (https://github.com/Homebrew/homebrew/pull/20009)
dovecot 2.1.6 (https://github.com/Homebrew/homebrew/pull/12734)
Updated formula: dovecot 1.2.16 (https://github.com/Homebrew/homebrew/issues/3220)
Updated formula: dovecot (https://github.com/Homebrew/homebrew/issues/1804)
Updated formula: dovecot (https://github.com/Homebrew/homebrew/issues/1841)
Updated formula: dovecot (https://github.com/Homebrew/homebrew/issues/698)
Upgrade dovecot to 2.1.3 (https://github.com/Homebrew/homebrew/pull/10990)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment