mxcl/homebrew — Issue #10165: imapfilter has new version
Author: adamv
Created: 2012-02-14 05:38:51+00:00
State: open

imapfilter has a new 2.4.2 version: https://github.com/lefcha/imapfilter

This fails for me though:

````
/usr/bin/gcc-4.2 -o imapfilter auth.o buffer.o cert.o core.o file.o imap.o imapfilter.o list.o log.o lua.o memory.o misc.o namespace.o pcre.o regexp.o request.o response.o session.o signal.o socket.o system.o -lm -llua -lpcre -lssl -lcrypto
Undefined symbols:
"_iconv_close", referenced from:
_reverse_conversion in namespace.o
_apply_conversion in namespace.o
"_iconv_open", referenced from:
_reverse_conversion in namespace.o
_apply_conversion in namespace.o
"_iconv", referenced from:
_reverse_conversion in namespace.o
_reverse_conversion in namespace.o
_apply_conversion in namespace.o
_apply_conversion in namespace.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [imapfilter] Error 1
make: *** [all] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/imapfilter.rb#L12
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 95eb6602c86a33ce626bb45294273ac9eabfde60
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /Users/adamv/homebrew/Cellar
Hardware: dual-core 64-bit core2
OS X: 10.6.8
Kernel Architecture: i386
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
Clang: 1.7 build 77
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /Users/adamv/homebrew/Cellar/python/2.7.2/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2
CXXFLAGS: -O3 -w -pipe -march=core2
MAKEFLAGS: -j2
````