From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-0.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=ham version=3.3.2 Path: news.gmane.org!not-for-mail From: tad.bochan@externe.bnpparibas.com Newsgroups: gmane.comp.lang.ruby.posix-mq.general Subject: posix_mq : Problem installing on HPUX Date: Wed, 23 Feb 2011 13:40:11 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1298464869 21823 80.91.229.12 (23 Feb 2011 12:41:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 12:41:09 +0000 (UTC) To: ruby.posix.mq@librelist.com Original-X-From: ruby.posix.mq@librelist.com Wed Feb 23 13:41:04 2011 Return-path: Envelope-to: gclrpg-ruby.posix.mq@m.gmane.org In-Reply-To: List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: ruby.posix.mq@librelist.com Xref: news.gmane.org gmane.comp.lang.ruby.posix-mq.general:64 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsE1c-0002tU-41 for gclrpg-ruby.posix.mq@m.gmane.org; Wed, 23 Feb 2011 13:41:00 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 0E42A21C31A for ; Wed, 23 Feb 2011 12:40:53 +0000 (UTC) Content-Transfer-Encoding: 7bit X-Content-Filtered-By: PublicInbox::Filter 0.0.1 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.