Skip to content

Instantly share code, notes, and snippets.

View gnzlbg's full-sized avatar

gnzlbg gnzlbg

View GitHub Profile
@gnzlbg
gnzlbg / alt_gist_issue_16231.sh
Created December 3, 2012 16:25
homebrew alternative gist to Issue #16231
//////////////////////////////////////////////////////////////////////
Issue #16231
brew install -v wget
brew doctor
brew config
//////////////////////////////////////////////////////////////////////
@gnzlbg
gnzlbg / boost_ompi_fail
Created December 3, 2012 17:45
Open mpi fails to build when boost is installed - Homebrew
Issue #16374
///////////////////////////////////////////////////////////
doctor:
brew doctor
Your system is raring to brew.
///////////////////////////////////////////////////////////
@gnzlbg
gnzlbg / my_brew_config
Created December 12, 2012 17:22
homebrew issue #16492
HOMEBREW_VERSION: 0.9.3
HEAD: 2b6b8a7abc0c38291234a6728c31fbd830e71d9d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
GCC-4.2: build 5666
LLVM-GCC: build 2336
./
../
INSTALL_RECEIPT.json
include/
lib/
/usr/local/Cellar/boost/1.52.0/./include:
./
../
boost/
@gnzlbg
gnzlbg / gist:5536032
Last active December 17, 2015 02:29
brew doctor && brew --config && brew install graphviz -v ERROR: ld: library not found for -ltclstub8.5
########################################################################################
brew doctor:
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
@gnzlbg
gnzlbg / gist:5547905
Created May 9, 2013 14:45
variadic zip and join function extensions to boost range
#include <iostream>
#include <array>
#include <vector>
#include <list>
#include <deque>
#include "tupleit.hh" // http://pastebin.com/LFkTHdQk
#include <stdio.h>
#include <boost/range.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/range/adaptors.hpp>
@gnzlbg
gnzlbg / hdf5 install error homebrew mpich
Created May 15, 2013 08:42
hdf5 install error homebrew mpich
////////////////////////////////////////////////////////////////////////////////
01.configure:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... bin/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
@gnzlbg
gnzlbg / gist:6447208
Created September 5, 2013 07:57
Homebrew-versions llvm34 errors while linking googletest
/usr/local/Cellar/cmake/2.8.11.2/bin/cmake -H/Users/gnzlbg/projects/hom3 -B/Users/gnzlbg/projects/hom3 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/2.8.11.2/bin/cmake -E cmake_progress_start /Users/gnzlbg/projects/hom3/CMakeFiles /Users/gnzlbg/projects/hom3/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f ext/gtest/CMakeFiles/googletest.dir/build.make ext/gtest/CMakeFiles/googletest.dir/depend
cd /Users/gnzlbg/projects/hom3 && /usr/local/Cellar/cmake/2.8.11.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/gnzlbg/projects/hom3 /Users/gnzlbg/projects/hom3/ext/gtest /Users/gnzlbg/projects/hom3 /Users/gnzlbg/projects/hom3/ext/gtest /Users/gnzlbg/projects/hom3/ext/gtest/CMakeFiles/googletest.dir/DependInfo.cmake --color=
Dependee "/Users/gnzlbg/projects/hom3/ext/gtest/CMakeFiles/googletest.dir/DependInfo.cmake" is newer than depender "/Users/gnzlbg/projects/hom3/ext/gtest/CMakeFiles/googletest.dir/depend.internal".
Dependee "/Users/gnzlbg/projects/hom3/ext/gtest/CM
In file included from /Users/gnzlbg/projects/scattered/tests/vector_test.cpp:1:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/iostream:38:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/ios:216:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/__locale:15:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/string:439:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/algorithm:627:
In file included from /usr/local/lib/llvm-3.4/lib/c++/v1/memory:600:
/usr/local/lib/llvm-3.4/lib/c++/v1/iterator:794:28: error: invalid operands to binary expression ('ostream_type' (aka 'basic_ostream<char, std::__1::char_traits<char> >') and 'const TestType')
*__out_stream_ << __value_;
~~~~~~~~~~~~~~ ^ ~~~~~~~~
@gnzlbg
gnzlbg / gist:7641761
Created November 25, 2013 14:11
llvm34 fails to reinstall in 10.8
This file has been truncated, but you can view the full file.
01.configure (search for [01.configure] tag)
01.configure.cc (search for [01.configure.cc] tag)
02.make (search for [02.make] tag)
02.make.cc (search for [02.make.cc] tag)
config.log (search for [config.log] tag)
[01.configure]:
checking for C compiler default output file name... a.out