T
Tadeusz Bochan
Hello,
I'm trying to gem install posix_mq on :
HP-UX tiths303 B.11.11 U 9000/800 4162012158 unlimited-user license
ruby 1.8.6 (2007-09-24 patchlevel 111)
I am not in any way C-literate and generally try to muddle through as
best I can. (read: don't know what the hell I'm doing!)
Installing any Ruby stuff on HPUX is pretty much hit & miss, and there
does not seem to be much expertise out there with Ruby on HPUX.
So ANY help would be very much appreciated.
After a gem install posix_mq I got an error about not knowing about
ruby.h & defines.h.
So I copied these from somewhere else into the posix_mq directory. Ok.
Then I did a gmake,
and got the error indicated below.
Could you please suggest a workaround so that I can get to the next
problem ?
The HPUX C compiler seems to be ultra conservative or just plain
rubbish!
u91134@tiths303>/mtitres/rec/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0/gmake
cc -I. -I. -I/home/acore/ruby/lib/ruby/1.8/hppa2.0w-hpux11.11 -I.
-DHAVE_SIGNAL_H -DHAVE_MQUEUE_H -DHAVE_PTHREAD_H -I /home/fcux_dev
/cengiza/include -I /usr/include -I /usr/local/include +Z -g +Z -c
posix_mq.c
cc: "posix_mq.c", line 712: error 1558: The ! operator takes a scalar
operand.
gmake: *** [posix_mq.o] Error 1
static VALUE _close(VALUE self)
{
struct posix_mq *mq = get(self, 1);
if ( ! MQ_IO_CLOSE(mq) ) { /* line 712 */
if (mq_close(mq->des) == -1)
rb_sys_fail("mq_close");
}
mq->des = MQD_INVALID;
return Qnil;
}
I'm trying to gem install posix_mq on :
HP-UX tiths303 B.11.11 U 9000/800 4162012158 unlimited-user license
ruby 1.8.6 (2007-09-24 patchlevel 111)
I am not in any way C-literate and generally try to muddle through as
best I can. (read: don't know what the hell I'm doing!)
Installing any Ruby stuff on HPUX is pretty much hit & miss, and there
does not seem to be much expertise out there with Ruby on HPUX.
So ANY help would be very much appreciated.
After a gem install posix_mq I got an error about not knowing about
ruby.h & defines.h.
So I copied these from somewhere else into the posix_mq directory. Ok.
Then I did a gmake,
and got the error indicated below.
Could you please suggest a workaround so that I can get to the next
problem ?
The HPUX C compiler seems to be ultra conservative or just plain
rubbish!
u91134@tiths303>/mtitres/rec/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0/gmake
cc -I. -I. -I/home/acore/ruby/lib/ruby/1.8/hppa2.0w-hpux11.11 -I.
-DHAVE_SIGNAL_H -DHAVE_MQUEUE_H -DHAVE_PTHREAD_H -I /home/fcux_dev
/cengiza/include -I /usr/include -I /usr/local/include +Z -g +Z -c
posix_mq.c
cc: "posix_mq.c", line 712: error 1558: The ! operator takes a scalar
operand.
gmake: *** [posix_mq.o] Error 1
static VALUE _close(VALUE self)
{
struct posix_mq *mq = get(self, 1);
if ( ! MQ_IO_CLOSE(mq) ) { /* line 712 */
if (mq_close(mq->des) == -1)
rb_sys_fail("mq_close");
}
mq->des = MQD_INVALID;
return Qnil;
}