macでGPS将棋 インストール失敗(コンパイル失敗)2009/06/20 08:40

MACにGPS将棋入れようと

まず OSLを入れようとしたが

boost は fuegoをインストールしたときの1.39 を利用

makefile.localは
#--- makefile.local start ---
# tcmalloc を使わない場合 (defalut は1 で使う)
USE_TCMALLOC = 0
# intel threading building blocks の scalable_allocatorを使う場合 (別途libtbbmalloc.soのインストールが必要)
#USE_TBB_SCALABLE_ALLOCATOR = 1
# for MacOSX 64bit
RPATH=-L
USE_GPL_POOL_ALLOCATOR = 0
CXXOPTFLAGS = -O2
INCLUDES += -I/usr/local/include/boost-1_39 -I/sw/include
CPUOPTION = -m64 -D__WORDSIZE=64 -DNEED_EXTRA_TEMPLATE_INSTANTIATION -DOSL_SMP -DOSL_NCPUS=8
LDFLAGS += -m64 -L/usr/local/lib64 -L/usr/local/lib
#--- makefile.local end

make したら
初っぱなのコンパイルで以下のエラーがでて 頓挫している

g++ -DOSL_HOME=\"/path/GPS_shougi/osl\" -O2 -g -pipe -m64 -D__WORDSIZE=64 -DNEED_EXTRA_TEMPLATE_INSTANTIATION -DOSL_SMP -DOSL_NCPUS=8 -Wall -Wwrite-strings -Wextra -Wstrict-aliasing=2 -Woverloaded-virtual -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-unused-parameter -Wno-missing-field-initializers -Werror -I/usr/local/include/boost-1_39 -I/sw/include -I../include -D_REENTRANT -c -o move_generator/open.o move_generator/open.cc
../include/osl/state/numEffectState.h: In member function ‘void osl::state::NumEffectState::forEachOnBoard(F&) const’:
../include/osl/state/numEffectState.h:69: error: expected primary-expression before ‘)’ token
../include/osl/state/numEffectState.h: In member function ‘const osl::misc::mask_t osl::state::NumEffectState::effectBit(osl::Player, osl::Position) const’:
../include/osl/state/numEffectState.h:144: error: expected primary-expression before ‘)’ token
../include/osl/state/numEffectState.h:144: error: expected primary-expression before ‘)’ token
make[2]: *** [move_generator/open.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2