Skip to content

Instantly share code, notes, and snippets.

@jeroentbt
Created July 4, 2013 20:14
Show Gist options
  • Save jeroentbt/5929995 to your computer and use it in GitHub Desktop.
Save jeroentbt/5929995 to your computer and use it in GitHub Desktop.
weechat fails to build with python support
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install weechat --with-python
[...]
/usr/bin/make -f src/plugins/python/CMakeFiles/python.dir/build.make src/plugins/python/CMakeFiles/python.dir/depend
cd /tmp/weechat-z5DE/weechat-0.4.1/build && /usr/local/Cellar/cmake/2.8.11.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/weechat-z5DE/weechat-0.4.1 /tmp/weechat-z5DE/weechat-0.4.1/src/plugins/python /tmp/weechat-z5DE/weechat-0.4.1/build /tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python /tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python/CMakeFiles/python.dir/DependInfo.cmake --color=
Dependee "/tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python/CMakeFiles/python.dir/DependInfo.cmake" is newer than depender "/tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python/CMakeFiles/python.dir/depend.internal".
Dependee "/tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python/CMakeFiles/python.dir/depend.internal".
Scanning dependencies of target python
/usr/bin/make -f src/plugins/python/CMakeFiles/python.dir/build.make src/plugins/python/CMakeFiles/python.dir/build
/usr/local/Cellar/cmake/2.8.11.1/bin/cmake -E cmake_progress_report /tmp/weechat-z5DE/weechat-0.4.1/build/CMakeFiles 26
[ 79%] Building C object src/plugins/python/CMakeFiles/python.dir/weechat-python.o
cd /tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python && /usr/local/Library/ENV/4.3/cc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_GNUTLS -DHAVE_ICONV -DHAVE_ZLIB -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"0.4.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dpython_EXPORTS -Wall -W -Werror-implicit-function-declaration -fPIC -I/usr/local/include -I/tmp/weechat-z5DE/weechat-0.4.1/build -I/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers -fPIC -o CMakeFiles/python.dir/weechat-python.o -c /tmp/weechat-z5DE/weechat-0.4.1/src/plugins/python/weechat-python.c
brew: superenv removed: -Wall -W -Werror-implicit-function-declaration -I/usr/local/include
/usr/local/Cellar/cmake/2.8.11.1/bin/cmake -E cmake_progress_report /tmp/weechat-z5DE/weechat-0.4.1/build/CMakeFiles
[ 79%] Building C object src/plugins/python/CMakeFiles/python.dir/weechat-python-api.o
cd /tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python && /usr/local/Library/ENV/4.3/cc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_GNUTLS -DHAVE_ICONV -DHAVE_ZLIB -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"0.4.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dpython_EXPORTS -Wall -W -Werror-implicit-function-declaration -fPIC -I/usr/local/include -I/tmp/weechat-z5DE/weechat-0.4.1/build -I/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers -fPIC -o CMakeFiles/python.dir/weechat-python-api.o -c /tmp/weechat-z5DE/weechat-0.4.1/src/plugins/python/weechat-python-api.c
brew: superenv removed: -Wall -W -Werror-implicit-function-declaration -I/usr/local/include
Linking C shared module python.so
cd /tmp/weechat-z5DE/weechat-0.4.1/build/src/plugins/python && /usr/local/Cellar/cmake/2.8.11.1/bin/cmake -E cmake_link_script CMakeFiles/python.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/cc -Wall -W -Werror-implicit-function-declaration -bundle -Wl,-headerpad_max_install_names -u _PyMac_Error Python.framework/Versions/2.7/Python -o python.so CMakeFiles/python.dir/weechat-python.o CMakeFiles/python.dir/weechat-python-api.o /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib ../libweechat_plugins_scripts.a
brew: superenv removed: -Wall -W -Werror-implicit-function-declaration
clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
make[2]: *** [src/plugins/python/python.so] Error 1
make[1]: *** [src/plugins/python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 6aa54f42d10358544b48c9883c165703eb537be7
CPU: dual-core 64-bit penryn
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
X11: N/A
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libtasn1/lib/pkgconfig:/usr/local/opt/p11-kit/lib/pkgconfig:/usr/local/opt/nettle/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/opt/python/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtasn1/bin:/usr/local/opt/p11-kit/bin:/usr/local/opt/nettle/bin:/usr/local/opt/gnutls/bin:/usr/local/opt/libgpg-error/bin:/usr/local/opt/libgcrypt/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: weechat did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment