From: tad.bochan@externe.bnpparibas.com
To: ruby.posix.mq@librelist.com
Subject: posix_mq : Problem installing on HPUX
Date: Wed, 23 Feb 2011 13:40:11 +0100 [thread overview]
Message-ID: <OFBC1A4CB7.CBC5045B-ONC1257840.004384BA-C1257840.0045990D@bnpparibas.com> (raw)
In-Reply-To: <OFBC1A4CB7.CBC5045B-ONC1257840.004384BA-C1257840.0045990D@bnpparibas.com>
Hi Eric,
I tried a 'gem install posix_mq --pre' as you suggested, and the compile
failed as indicated below.
Regards,
Tad
This is my log of installing posix_mq on HPUX :
//*
u91134@tiths303>/home/acore/workarea/tb/www# gem install --pre posix_mq
Building native extensions. This could take a while...
ERROR: Error installing posix_mq:
ERROR: Failed to build gem native extension.
/home/acore/ruby/bin/ruby extconf.rb
checking for sys/select.h... no
checking for signal.h... yes
checking for mqueue.h... yes
checking for __mq_oshandle()... no
checking for pthread.h... yes
checking for rb_str_set_len()... no
checking for rb_thread_blocking_region()... no
checking for main() in -lm... yes
checking for main() in -lrt... yes
checking for main() in -lpthread... yes
checking for mq_timedsend()... no
checking for mq_timedreceive()... no
creating Makefile
make
Make: Don't know how to make ruby.h. Stop.
Gem files will remain installed
in /home/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0.7.g3a8a for
inspection.
Results logged
to /mtitres/rec/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0.7.g3a8a/ext/posix_mq/gem_make.out
u91134@tiths303>/home/acore/workarea/tb/www#
*//
@@@ At this stage I copied ruby.h & defines.h (I don't understand why I
have to do this)
from /home/acore/ruby/lib/ruby/1.8/hppa2.0w-hpux11.1
to /mtitres/rec/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0.7.g3a8a/ext/posix_mq
and followed with a gmake.
//*
u91134@tiths303>/mtitres/rec/acore/ruby/lib/ruby/gems/1.8/gems/posix_mq-0.6.0.7.g3a8a/ext/posix_mq#
gmake
cc -I. -I /home/acore/ruby/lib/ruby/1.8/hppa2.0w-hpux11.11 -DHAVE_SIGNAL_H
-DHAVE_MQUEUE_H -DHAVE_PTHREAD_H
-I /home/acore/ruby/lib/ruby/1.8/hppa2.0w-hpux11.11 -I /usr/include
-I /usr/local/include +Z -g +Z -c posix_mq.c
cc: "posix_mq.c", line 284: error 1547: "&&" operator requires scalar
operands.
cc: "posix_mq.c", line 284: error 1563: Expression in if must be scalar.
cc: "posix_mq.c", line 737: error 1558: The ! operator takes a scalar
operand.
gmake: *** [posix_mq.o] Error 1
*//
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
Do not print this message unless it is necessary,
consider the environment.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.
next parent reply other threads:[~2011-02-23 12:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 12:40 tad.bochan [this message]
2011-02-23 12:56 ` posix_mq : Problem installing on HPUX Iñaki Baz Castillo
2011-02-23 19:58 ` Eric Wong
2011-02-23 20:13 ` Iñaki Baz Castillo
2011-02-23 19:53 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/ruby_posix_mq/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OFBC1A4CB7.CBC5045B-ONC1257840.004384BA-C1257840.0045990D@bnpparibas.com \
--to=tad.bochan@externe.bnpparibas.com \
--cc=ruby.posix.mq@librelist.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/ruby_posix_mq.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).