From: Ollivier Robert Date: 2008-07-15T21:39:40+09:00 Subject: [ruby-core:17785] [Ruby 1.9 - Bug #277] (Open) 1.9/trunk: build broken in ruby/ruby.h Issue #277 has been reported by Ollivier Robert. ---------------------------------------- Bug #277: 1.9/trunk: build broken in ruby/ruby.h http://redmine.ruby-lang.org/issues/show/277 Author: Ollivier Robert Status: Open Priority: Normal Assigned to: Category: Target version: MacOS X 10.4.11 / Ruby 1.9 from trunk/#18072 / gcc 4.2 from macports Since the latest commits to ruby/ruby.h, build is broken in transcode.c: checking whether ELF binaries are produced... no checking whether OS depend dynamic link works... yes checking for nroff... /usr/bin/nroff config.h unchanged configure: creating ./config.status MAKE=make /bin/sh ./config.status config.status: creating Makefile gcc-mp-4.2 -O -pipe -I/opt/local/include -pipe -fno-common -I. -I.ext/include/i686-darwin8.11.1 -I../include -I.. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o transcode.o -c ../transcode.c ../transcode.c: In function 'str_transcode': ../transcode.c:405: error: expected ')' before 'PRI_PTRDIFF_PREFIX' ../transcode.c:420: error: expected ')' before 'PRI_PTRDIFF_PREFIX' ../transcode.c:435: error: expected ')' before 'PRI_PTRDIFF_PREFIX' make: *** [transcode.o] Error 1 I include my Makefile below. ---------------------------------------- http://redmine.ruby-lang.org