Skip to content

Instantly share code, notes, and snippets.

@mistydemeo
Created April 13, 2013 04:37
Show Gist options
  • Save mistydemeo/5376950 to your computer and use it in GitHub Desktop.
Save mistydemeo/5376950 to your computer and use it in GitHub Desktop.
tokyo-cabinet 1.4.47 build failure on Tiger/PPC/gcc-4.0
#================================================================
# Configuring Tokyo Cabinet version 1.4.47.
#================================================================
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lrt... no
checking for main in -lz... yes
checking for main in -lbz2... yes
checking for main in -ltokyocabinet... no
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tokyocabinet.pc
#================================================================
# Ready to make.
#================================================================
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tcutil.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tchdb.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tcbdb.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tcfdb.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tctdb.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 tcadb.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 myconf.c
/usr/bin/gcc-4.0 -c -isystem /usr/X11R6/include -I. -I/usr/local/Cellar/tokyo-cabinet/1.4.47/include -I/Users/vlcice/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND -D_TC_PREFIX="\"/usr/local/Cellar/tokyo-cabinet/1.4.47\"" -D_TC_INCLUDEDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_LIBDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/lib\"" -D_TC_BINDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/bin\"" -D_TC_LIBEXECDIR="\"/usr/local/Cellar/tokyo-cabinet/1.4.47/libexec\"" -D_TC_APPINC="\"-I/usr/local/Cellar/tokyo-cabinet/1.4.47/include\"" -D_TC_APPLIBS="\"-L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 md5.c
ar rv libtokyocabinet.a tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o
ar: creating archive libtokyocabinet.a
a - tcutil.o
a - tchdb.o
a - tcbdb.o
a - tcfdb.o
a - tctdb.o
a - tcadb.o
a - myconf.o
a - md5.o
/usr/bin/gcc-4.0 -Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4 -std=c99 -Wall -fPIC -fsigned-char -O2 -dynamiclib -o libtokyocabinet.9.10.0.dylib \
-install_name /usr/local/Cellar/tokyo-cabinet/1.4.47/lib/libtokyocabinet.9.dylib \
-current_version 9.10.0 -compatibility_version 9 \
tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o -L/usr/local/lib -L/usr/X11R6/lib -L. -L/usr/local/Cellar/tokyo-cabinet/1.4.47/lib -L/Users/vlcice/lib -L/usr/local/lib -lbz2 -lz -lpthread -lm -lc
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: unknown option character `w' in: -w
Usage: /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make: *** [libtokyocabinet.9.10.0.dylib] Error 1
HOMEBREW_VERSION: 0.9.4
HEAD: 6fd46d09db3eb89d3554bfac50525122ec5a3740
CPU: single-core 32-bit g4e
OS X: 10.4.11-Power Macintosh
Xcode: 2.5
X11: 1.1.3 => /usr/X11R6
export CC="/usr/bin/gcc-4.0"
export CXX="/usr/bin/g++-4.0"
export CFLAGS="-Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4"
export CXXFLAGS="-Os -w -pipe -mcpu=7450 -faltivec -isystem /usr/X11R6/include -mmacosx-version-min=10.4"
export CPPFLAGS="-isystem /usr/X11R6/include"
export LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib"
export MAKEFLAGS="-j1"
export MACOSX_DEPLOYMENT_TARGET="10.4"
export PKG_CONFIG_LIBDIR="/usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.4:/usr/lib/pkgconfig"
export ACLOCAL_PATH="/usr/local/share/aclocal"
export OBJC="/usr/bin/gcc-4.0"
export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/usr/local/opt/ruby/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/Library/Contributions/cmd"
export HOMEBREW_BREW_FILE="/usr/local/bin/brew"
export HOMEBREW_SDKROOT=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment