Witam!

Zwracam się do Was z problemem z wyższej półki, z którym ja niestetynie mogę sobie poradzić... Google również mi nie pomógł i jestem skazany na Waszą wiedzę i doświadczenie. Mam nadzieję, że znajdzie się osoba, która będzie w stanie mi pomóc.

Mam problem z zainstalowaniem na Mac OS X gem-a o nazwie SysVIPC. Pod Ubuntu na tej samej wersji Ruby wszystko jest OK, nie ma żadnych problemów. Używam Ruby w wersji: 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.3.0]. Z tym, że na Mac-u Ruby zainstalowałem poprzez RVM (Ruby Version Manager).

Wykonuję:

Kod php:
gem install SysVIPC 
i otrzymuję komunikat takiej treści:

Kod php:
Building native extensions.  This could take a while...
ERROR:  Error installing SysVIPC:
    
ERRORFailed to build gem native extension.

/
Users/bbmmog/.rvm/rubies/ruby-1.9.1-p243/bin/ruby extconf.rb
checking 
for sys/types.h... yes
checking 
for sys/ipc.h... yes
checking 
for sys/msg.h... yes
checking 
for msgget()... yes
checking 
for sys/sem.h... yes
checking 
for semget()... yes
checking 
for sys/shm.h... yes
checking 
for shmget()... yes
creating Makefile

make
gcc 
-I. -I/Users/bbmmog/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1/i386-darwin10.3.0 -I/Users/bbmmog/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/backward -I/Users/bbmmog/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1 -I. -DHAVE_SYS_TYPES_H -DHAVE_SYS_IPC_H -DHAVE_SYS_MSG_H -DHAVE_MSGGET -DHAVE_SYS_SEM_H -DHAVE_SEMGET -DHAVE_SYS_SHM_H -DHAVE_SHMGET  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common  -O2 --Wall -Wno-parentheses -pipe -fno-common  -o SysVIPC.-c SysVIPC.c
SysVIPC
.c:1850errorredefinition of ‘union semun’
In file included from SysVIPC
.c:1865:
/
Users/bbmmog/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/backward/rubyio.h:2:2warning#warning use "ruby/io.h" instead of "rubyio.h"
SysVIPC.cIn function ‘_wrap_ipc_perm_uid_set’:
SysVIPC.c:2371warningformat not a string literal and no format arguments
SysVIPC
.c:2376warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_uid_get’:
SysVIPC.c:2399warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_gid_set’:
SysVIPC.c:2424warningformat not a string literal and no format arguments
SysVIPC
.c:2429warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_gid_get’:
SysVIPC.c:2452warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_cuid_set’:
SysVIPC.c:2477warningformat not a string literal and no format arguments
SysVIPC
.c:2482warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_cuid_get’:
SysVIPC.c:2505warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_cgid_set’:
SysVIPC.c:2530warningformat not a string literal and no format arguments
SysVIPC
.c:2535warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_cgid_get’:
SysVIPC.c:2558warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_mode_set’:
SysVIPC.c:2583warningformat not a string literal and no format arguments
SysVIPC
.c:2588warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ipc_perm_mode_get’:
SysVIPC.c:2611warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_ftok’:
SysVIPC.c:2676warningformat not a string literal and no format arguments
SysVIPC
.c:2681warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_perm_set’:
SysVIPC.c:2710warningformat not a string literal and no format arguments
SysVIPC
.c:2715warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_perm_get’:
SysVIPC.c:2738warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_qnum_set’:
SysVIPC.c:2763warningformat not a string literal and no format arguments
SysVIPC
.c:2768warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_qnum_get’:
SysVIPC.c:2791warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_qbytes_set’:
SysVIPC.c:2816warningformat not a string literal and no format arguments
SysVIPC
.c:2821warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_qbytes_get’:
SysVIPC.c:2844warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_lspid_set’:
SysVIPC.c:2869warningformat not a string literal and no format arguments
SysVIPC
.c:2874warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_lspid_get’:
SysVIPC.c:2897warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_lrpid_set’:
SysVIPC.c:2922warningformat not a string literal and no format arguments
SysVIPC
.c:2927warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_lrpid_get’:
SysVIPC.c:2950warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_stime_set’:
SysVIPC.c:2973warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_stime_get’:
SysVIPC.c:3002warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_rtime_set’:
SysVIPC.c:3027warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_rtime_get’:
SysVIPC.c:3056warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_ctime_set’:
SysVIPC.c:3081warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msqid_ds_msg_ctime_get’:
SysVIPC.c:3110warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msgctl’:
SysVIPC.c:3182warningformat not a string literal and no format arguments
SysVIPC
.c:3187warningformat not a string literal and no format arguments
SysVIPC
.c:3193warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msgget’:
SysVIPC.c:3221warningformat not a string literal and no format arguments
SysVIPC
.c:3226warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msgrcv’:
SysVIPC.c:3259warningformat not a string literal and no format arguments
SysVIPC
.c:3264warningformat not a string literal and no format arguments
SysVIPC
.c:3269warningformat not a string literal and no format arguments
SysVIPC
.c:3274warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_msgsnd’:
SysVIPC.c:3305warningformat not a string literal and no format arguments
SysVIPC
.c:3310warningformat not a string literal and no format arguments
SysVIPC
.c:3316warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_perm_set’:
SysVIPC.c:3343warningformat not a string literal and no format arguments
SysVIPC
.c:3348warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_perm_get’:
SysVIPC.c:3371warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_nsems_set’:
SysVIPC.c:3396warningformat not a string literal and no format arguments
SysVIPC
.c:3401warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_nsems_get’:
SysVIPC.c:3424warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_otime_set’:
SysVIPC.c:3447warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_otime_get’:
SysVIPC.c:3476warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_ctime_set’:
SysVIPC.c:3501warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semid_ds_sem_ctime_get’:
SysVIPC.c:3530warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_num_set’:
SysVIPC.c:3596warningformat not a string literal and no format arguments
SysVIPC
.c:3601warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_num_get’:
SysVIPC.c:3624warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_op_set’:
SysVIPC.c:3649warningformat not a string literal and no format arguments
SysVIPC
.c:3654warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_op_get’:
SysVIPC.c:3677warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_flg_set’:
SysVIPC.c:3702warningformat not a string literal and no format arguments
SysVIPC
.c:3707warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_sembuf_sem_flg_get’:
SysVIPC.c:3730warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semctl’:
SysVIPC.c:3801warningformat not a string literal and no format arguments
SysVIPC
.c:3806warningformat not a string literal and no format arguments
SysVIPC
.c:3811warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semget’:
SysVIPC.c:3844warningformat not a string literal and no format arguments
SysVIPC
.c:3849warningformat not a string literal and no format arguments
SysVIPC
.c:3854warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_semop’:
SysVIPC.c:3882warningformat not a string literal and no format arguments
SysVIPC
.c:3899warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_perm_set’:
SysVIPC.c:3926warningformat not a string literal and no format arguments
SysVIPC
.c:3931warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_perm_get’:
SysVIPC.c:3954warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_segsz_set’:
SysVIPC.c:3979warningformat not a string literal and no format arguments
SysVIPC
.c:3984warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_segsz_get’:
SysVIPC.c:4007warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_lpid_set’:
SysVIPC.c:4032warningformat not a string literal and no format arguments
SysVIPC
.c:4037warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_lpid_get’:
SysVIPC.c:4060warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_cpid_set’:
SysVIPC.c:4085warningformat not a string literal and no format arguments
SysVIPC
.c:4090warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_cpid_get’:
SysVIPC.c:4113warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_nattch_set’:
SysVIPC.c:4138warningformat not a string literal and no format arguments
SysVIPC
.c:4143warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_nattch_get’:
SysVIPC.c:4166warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_atime_set’:
SysVIPC.c:4189warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_atime_get’:
SysVIPC.c:4218warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_dtime_set’:
SysVIPC.c:4243warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_dtime_get’:
SysVIPC.c:4272warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_ctime_set’:
SysVIPC.c:4297warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmid_ds_shm_ctime_get’:
SysVIPC.c:4326warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmat’:
SysVIPC.c:4434warningformat not a string literal and no format arguments
SysVIPC
.c:4439warningformat not a string literal and no format arguments
SysVIPC
.c:4444warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmctl’:
SysVIPC.c:4477warningformat not a string literal and no format arguments
SysVIPC
.c:4482warningformat not a string literal and no format arguments
SysVIPC
.c:4488warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmdt’:
SysVIPC.c:4513warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmget’:
SysVIPC.c:4543warningformat not a string literal and no format arguments
SysVIPC
.c:4548warningformat not a string literal and no format arguments
SysVIPC
.c:4553warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmread’:
SysVIPC.c:4583warningformat not a string literal and no format arguments
SysVIPC
.c:4588warningformat not a string literal and no format arguments
SysVIPC
.c:4593warningformat not a string literal and no format arguments
SysVIPC
.cIn function ‘_wrap_shmwrite’:
SysVIPC.c:4624warningformat not a string literal and no format arguments
SysVIPC
.c:4633warningformat not a string literal and no format arguments
make
: *** [SysVIPC.oError 1

Gem files will remain installed in 
/Users/bbmmog/.rvm/gems/ruby-1.9.1-p243/gems/SysVIPC-0.9 for inspection.
Results logged to /Users/bbmmog/.rvm/gems/ruby-1.9.1-p243/gems/SysVIPC-0.9/ext/gem_make.out 
Z góry dziękuję za wszelką pomoc!