richoH/vimpc — Issue #5: brew build fails on osx 10.5
Author: richoH
Created: 2012-01-05 00:35:15+00:00
State: open

```
==> ./configure --disable-debug --prefix=/usr/local/Cellar/vimpc/0.04
==> make install
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-algorithm.o `test -f 'src/algorithm.cpp' || echo './'`src/algorithm.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-buffers.o `test -f 'src/buffers.cpp' || echo './'`src/buffers.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-mpdclient.o `test -f 'src/mpdclient.cpp' || echo './'`src/mpdclient.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-output.o `test -f 'src/output.cpp' || echo './'`src/output.cpp
src/settings.hpp: In member function ‘bool Main::Settings::Get(std::string) const’:
src/settings.hpp:117: error: ‘const class std::map*, std::less, std::allocator*> > >’ has no member named ‘at’
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./src -I/usr/local/include -DHELP_DIRECTORY='"/usr/local/Cellar/vimpc/0.04/share/doc/vimpc"' -I/usr/local/Cellar/pcre/8.20/include -O3 -w -pipe -march=prescott -c -o src/vimpc-player.o `test -f 'src/player.cpp' || echo './'`src/player.cpp
make: *** [src/vimpc-mpdclient.o] Error 1
make: *** Waiting for unfinished jobs....
src/settings.hpp: In member function ‘bool Main::Settings::Get(std::string) const’:
src/settings.hpp:117: error: ‘const class std::map*, std::less, std::allocator*> > >’ has no member named ‘at’
make: *** [src/vimpc-player.o] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/vimpc.rb#L22
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 8a10e6f1a045922f56d4eb4efb390587e72c1232
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 32-bit core
OS X: 10.5.8
Kernel Architecture: i386
Ruby: 1.8.6-369
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.1.0
GCC-4.0: build 5465
GCC-4.2: build 5465
LLVM: N/A
Clang: N/A
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/gcc-4.2 => /usr/bin/gcc-4.0
CXX: /usr/bin/g++-4.2 => /usr/bin/g++-4.0
LD: /usr/bin/gcc-4.2 => /usr/bin/gcc-4.0
CFLAGS: -O3 -w -pipe -march=prescott
CXXFLAGS: -O3 -w -pipe -march=prescott
MAKEFLAGS: -j2
```