Created
March 14, 2012 20:40
-
-
Save lasombra/2039351 to your computer and use it in GitHub Desktop.
Weechat on Lion with Xcode 4.3.1 complains about libintl.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% brew install -v weechat | |
==> Downloading http://www.weechat.org/files/src/weechat-0.3.7.tar.bz2 | |
File already downloaded in /Users/lasombra/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/lasombra/Library/Caches/Homebrew/weechat-0.3.7.tar.bz2 | |
==> cmake -DPREFIX=/Users/lasombra/homebrew/Cellar/weechat/0.3.7 -DENABLE_RUBY=OFF -DENABLE_PERL=OFF -DENABLE_PYTHON=OFF -DCMAKE_INSTALL_PREFIX='/Users/lasombra/homebrew/Cellar/weechat/0.3.7' -DCMAKE_BUILD_TYPE=None -Wno-dev . | |
cmake -DPREFIX=/Users/lasombra/homebrew/Cellar/weechat/0.3.7 -DENABLE_RUBY=OFF -DENABLE_PERL=OFF -DENABLE_PYTHON=OFF -DCMAKE_INSTALL_PREFIX='/Users/lasombra/homebrew/Cellar/weechat/0.3.7' -DCMAKE_BUILD_TYPE=None -Wno-dev . | |
-- The C compiler identification is Clang | |
-- Check for working C compiler: /usr/bin/clang | |
-- Check for working C compiler: /usr/bin/clang -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Looking for include files HAVE_ARPA_INET_H | |
-- Looking for include files HAVE_ARPA_INET_H - found | |
-- Looking for include files HAVE_LIMITS_H | |
-- Looking for include files HAVE_LIMITS_H - found | |
-- Looking for include files HAVE_LOCALE_H | |
-- Looking for include files HAVE_LOCALE_H - found | |
-- Looking for include files HAVE_NETDB_H | |
-- Looking for include files HAVE_NETDB_H - found | |
-- Looking for include files HAVE_NETINET_IN_H | |
-- Looking for include files HAVE_NETINET_IN_H - found | |
-- Looking for include files HAVE_STDLIB_H | |
-- Looking for include files HAVE_STDLIB_H - found | |
-- Looking for include files HAVE_STRING_H | |
-- Looking for include files HAVE_STRING_H - found | |
-- Looking for include files HAVE_SYS_SOCKET_H | |
-- Looking for include files HAVE_SYS_SOCKET_H - found | |
-- Looking for include files HAVE_SYS_TIME_H | |
-- Looking for include files HAVE_SYS_TIME_H - found | |
-- Looking for include files HAVE_SYS_TYPES_H | |
-- Looking for include files HAVE_SYS_TYPES_H - found | |
-- Looking for include files HAVE_UNISTD_H | |
-- Looking for include files HAVE_UNISTD_H - found | |
-- Looking for include files HAVE_PWD_H | |
-- Looking for include files HAVE_PWD_H - found | |
-- Looking for include files HAVE_ERRNO_H | |
-- Looking for include files HAVE_ERRNO_H - found | |
-- Looking for include files HAVE_WCHAR_H | |
-- Looking for include files HAVE_WCHAR_H - found | |
-- Looking for include files HAVE_LANGINFO_CODESET | |
-- Looking for include files HAVE_LANGINFO_CODESET - found | |
-- Looking for gethostbyname | |
-- Looking for gethostbyname - found | |
-- Looking for gethostname | |
-- Looking for gethostname - found | |
-- Looking for getsockname | |
-- Looking for getsockname - found | |
-- Looking for gettimeofday | |
-- Looking for gettimeofday - found | |
-- Looking for inet_ntoa | |
-- Looking for inet_ntoa - found | |
-- Looking for memset | |
-- Looking for memset - found | |
-- Looking for mkdir | |
-- Looking for mkdir - found | |
-- Looking for select | |
-- Looking for select - found | |
-- Looking for setlocale | |
-- Looking for setlocale - found | |
-- Looking for socket | |
-- Looking for socket - found | |
-- Looking for strcasecmp | |
-- Looking for strcasecmp - found | |
-- Looking for strchr | |
-- Looking for strchr - found | |
-- Looking for strdup | |
-- Looking for strdup - found | |
-- Looking for strndup | |
-- Looking for strndup - found | |
-- Looking for strncasecmp | |
-- Looking for strncasecmp - found | |
-- Looking for strpbrk | |
-- Looking for strpbrk - found | |
-- Looking for strrchr | |
-- Looking for strrchr - found | |
-- Looking for strstr | |
-- Looking for strstr - found | |
-- Looking for mallinfo | |
-- Looking for mallinfo - not found | |
-- Looking for include files HAVE_REGEX_H | |
-- Looking for include files HAVE_REGEX_H - found | |
-- Looking for regexec | |
-- Looking for regexec - found | |
-- Looking for eat_newline_glitch | |
-- Looking for eat_newline_glitch - found | |
-- Looking for include files HAVE_LIBINTL_H | |
-- Looking for include files HAVE_LIBINTL_H - found | |
-- Looking for dgettext | |
-- Looking for dgettext - not found | |
-- Looking for dgettext in /opt/local/lib/libintl.dylib | |
-- Looking for dgettext in /opt/local/lib/libintl.dylib - found | |
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") | |
-- Looking for libiconv_open in iconv | |
-- Looking for libiconv_open in iconv - not found | |
-- Performing Test ICONV_2ARG_IS_CONST | |
-- Performing Test ICONV_2ARG_IS_CONST - Success | |
-- Found CURL: /usr/lib/libcurl.dylib | |
-- Looking for include files HAVE_SYS_FILE_H | |
-- Looking for include files HAVE_SYS_FILE_H - found | |
-- Looking for flock | |
-- Looking for flock - found | |
-- Looking for backtrace | |
-- Looking for backtrace - found | |
-- Found Tclsh: /usr/bin/tclsh | |
-- Looking for include files NCURSESW_HEADERS | |
-- Looking for include files NCURSESW_HEADERS - not found. | |
-- Looking for include files NCURSES_HEADERS | |
-- Looking for include files NCURSES_HEADERS - found | |
-- Configuring done | |
CMake Warning (dev) at src/plugins/irc/CMakeLists.txt:20 (ADD_LIBRARY): | |
Policy CMP0003 should be set before this line. Add code such as | |
if(COMMAND cmake_policy) | |
cmake_policy(SET CMP0003 NEW) | |
endif(COMMAND cmake_policy) | |
as early as possible but after the most recent call to | |
cmake_minimum_required or cmake_policy(VERSION). This warning appears | |
because target "irc" links to some libraries for which the linker must | |
search: | |
gcrypt | |
and other libraries with known full path: | |
/Users/lasombra/homebrew/lib/libgnutls.dylib | |
CMake is adding directories in the second list to the linker search path in | |
case they are needed to find libraries from the first list (for backwards | |
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable | |
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for | |
more information. | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- Generating done | |
-- Build files have been written to: /tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7 | |
==> make install | |
make install | |
Scanning dependencies of target translations | |
Scanning dependencies of target weechat_core | |
Scanning dependencies of target weechat_plugins | |
Scanning dependencies of target alias | |
Scanning dependencies of target aspell | |
Scanning dependencies of target fifo | |
Scanning dependencies of target irc | |
Scanning dependencies of target logger | |
[ 0%] [ 0%] [ 0%] Building C object src/plugins/alias/CMakeFiles/alias.dir/alias.o | |
[ 7%] Built target translations | |
Building C object src/plugins/fifo/CMakeFiles/fifo.dir/fifo.o | |
Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell.o | |
[ 7%] [ 7%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger.o | |
Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin.o | |
Scanning dependencies of target relay | |
[ 8%] [ 9%] In file included from /tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/plugins/plugin.c:40: | |
/tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/plugins/../core/weechat.h:35:18: fatal error: | |
'libintl.h' file not found | |
#include <libintl.h> | |
^ | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc.o | |
Building C object src/core/CMakeFiles/weechat_core.dir/weechat.o | |
[ 10%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay.o | |
1 error generated. | |
make[2]: *** [src/plugins/CMakeFiles/weechat_plugins.dir/plugin.o] Error 1 | |
make[1]: *** [src/plugins/CMakeFiles/weechat_plugins.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
In file included from /tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/core/weechat.c:56: | |
/tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/core/weechat.h:35:18: fatal error: | |
'libintl.h' file not found | |
#include <libintl.h> | |
^ | |
[ 11%] [ 11%] Building C object src/plugins/fifo/CMakeFiles/fifo.dir/fifo-info.o | |
Building C object src/core/CMakeFiles/weechat_core.dir/wee-backtrace.o | |
1 error generated. | |
make[2]: *** [src/core/CMakeFiles/weechat_core.dir/weechat.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
[ 12%] [ 12%] In file included from /tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/core/wee-backtrace.c:43: | |
/tmp/homebrew-weechat-0.3.7-MIsK/weechat-0.3.7/src/core/weechat.h:35:18: fatal error: | |
'libintl.h' file not found | |
#include <libintl.h> | |
^ | |
[ 12%] Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell-config.o | |
1 error generated. | |
make[2]: *** [src/core/CMakeFiles/weechat_core.dir/wee-backtrace.o] Error 1 | |
make[1]: *** [src/core/CMakeFiles/weechat_core.dir/all] Error 2 | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-buffer.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-bar-item.o | |
Linking C shared module fifo.so | |
[ 13%] [ 14%] [ 15%] Building C object src/plugins/alias/CMakeFiles/alias.dir/alias-config.o | |
Building C object src/plugins/alias/CMakeFiles/alias.dir/alias-info.o | |
Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell-speller.o | |
[ 15%] Built target fifo | |
[ 17%] [ 17%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-client.o | |
Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-buffer.o | |
[ 18%] [ 18%] [ 19%] Building C object src/plugins/relay/CMakeFiles/relay.dir/irc/relay-irc.o | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/weechat/relay-weechat.o | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/weechat/relay-weechat-msg.o | |
Linking C shared module aspell.so | |
Linking C shared module alias.so | |
[ 20%] [ 21%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-config.o | |
[ 21%] Built target alias | |
[ 21%] Built target aspell | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-buffer.o | |
[ 22%] [ 22%] Building C object src/plugins/relay/CMakeFiles/relay.dir/weechat/relay-weechat-protocol.o | |
Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-info.o | |
[ 23%] [ 23%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-command.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-channel.o | |
[ 24%] [ 25%] [ 26%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-tail.o | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-completion.o | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-config.o | |
[ 27%] [ 27%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-info.o | |
[ 28%] Linking C shared module logger.so | |
Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-raw.o | |
[ 29%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-server.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-color.o | |
[ 30%] [ 30%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-upgrade.o | |
[ 30%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-command.o | |
[ 31%] Built target logger | |
[ 32%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-completion.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-config.o | |
[ 32%] [ 33%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-ctcp.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-debug.o | |
[ 34%] [ 34%] Linking C shared module relay.so | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-display.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-ignore.o | |
[ 34%] Built target relay | |
[ 35%] [ 36%] [ 37%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-info.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-input.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-message.o | |
[ 37%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-mode.o | |
[ 38%] [ 39%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-msgbuffer.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-nick.o | |
[ 39%] [ 40%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-notify.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-protocol.o | |
[ 41%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-raw.o | |
[ 41%] [ 42%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-redirect.o | |
Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-sasl.o | |
[ 43%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-server.o | |
[ 44%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-upgrade.o | |
Linking C shared module irc.so | |
[ 44%] Built target irc | |
make: *** [all] Error 2 | |
==> CMakeCache.txt was copied to /Users/lasombra/Library/Logs/Homebrew | |
==> Exit Status: 2 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/weechat.rb#L58 | |
==> Environment | |
HOMEBREW_VERSION: 0.8.1 | |
HEAD: e21e2ac10e715b066f2a8a5d7fb43ed23d839ef5 | |
HOMEBREW_PREFIX: /Users/lasombra/homebrew | |
HOMEBREW_CELLAR: /Users/lasombra/homebrew/Cellar | |
Hardware: 8-core 64-bit sandybridge | |
OS X: 10.7.3 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3.1 | |
GCC-4.0: N/A | |
GCC-4.2: N/A | |
LLVM: build 2336 | |
Clang: 3.1 build 318 | |
MacPorts or Fink? /opt/local/bin/port | |
X11: /usr/X11 | |
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: /usr/bin/python | |
Which Ruby: /Users/lasombra/.rvm/bin/ruby | |
==> Build Flags | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ => /usr/bin/clang | |
LD: /usr/bin/clang | |
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
CPPFLAGS: -isystem /Users/lasombra/homebrew/include | |
LDFLAGS: -L/Users/lasombra/homebrew/lib | |
MAKEFLAGS: -j8 | |
Error: Failed executing: make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment