On 24/10/2012 05:40, Marc Heiler wrote:
> Can we confirm that it fails on PC-BSD but works on Freebsd?
>
> Because PC-BSD, as far as I know, builds on Freebsd, so this would be
> strange.
>
It works for me on:
     FreeBSD xxx 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3: Sat Sep 15 
12:52:19 EST 2012     gfm@xxx:/usr/obj/usr/src/sys/starker  amd64


% tar jxvf ruby-1.9.3-p286.tar.bz2
...
% cd ruby-1.9.3-p286
% ./configure
...
checking for pthread.h... yes
checking for if make is GNU make... no
checking for safe null command for make... :
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-freebsd9.1/ruby/config.h updated
ruby library version = 1.9.1
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-1.9.pc
% make
         CC = gcc
         LD = ld
         LDSHARED = gcc -shared
         CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter 
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers 
-Werror=pointer-arith -Werror=write-strings 
-Werror=declaration-after-statement -Werror=implicit-function-declaration
         XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-fvisibility=hidden -DRUBY_EXPORT
         CPPFLAGS = -I/usr/local/include   -I. 
-I.ext/include/x86_64-freebsd9.1 -I./include -I.
         DLDFLAGS = -L/usr/local/lib -Wl,-soname,showflags
         SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
compiling array.c
...

Graham