From users-return-13517-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Apr 09 05:18:31 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 72113 invoked from network); 9 Apr 2008 05:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 05:18:29 -0000 Received: (qmail 4367 invoked by uid 500); 9 Apr 2008 05:18:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 4236 invoked by uid 500); 9 Apr 2008 05:18:28 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 4226 invoked by uid 99); 9 Apr 2008 05:18:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 22:18:28 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 05:17:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JjSh1-0000XS-5h for users@activemq.apache.org; Tue, 08 Apr 2008 22:17:55 -0700 Message-ID: <16579670.post@talk.nabble.com> Date: Tue, 8 Apr 2008 22:17:55 -0700 (PDT) From: vschrader To: users@activemq.apache.org Subject: Re: Building 32-bit In-Reply-To: <16520277.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: victor@schrader.org References: <16520277.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Fred, you don't mention it, but of course you need to have cppunit compiled as a prerequisite. As far as autogen.sh, you just run it or say './autogen.sh', and generate an executable rwxr-xr-x shell script called configure. If you just say ./configure with no options, it will generate a Makefile for you, which you then just say 'make' or 'make -f Makefile' and that should be the whole deal, except for the fact that you may need to put the libccpunit.a on the LD_LIBRARY_PATH, or the .so version depending on how the Makefile is generated. On the cppunit project I did ./configure; make; make install; and that puts libcppunit.a and libccpunit.so, etc. in /usr/local/lib Subsequent to that you will have executables for 3 separate executables call something like: activemq activemq-examples activemq-integration-tests If you run the examples, it starts up the producer and then the consumer in sequence, they would normally be split apart in to separate run units, perhaps running against different brokers even. This is pretty much standard Linux fare, if there is a file named 'configure' make sure it is 'chmod 755 configure' and execute it to produce the Makefile, then just say 'make' and make install'. These steps will get you to the place were you have an execuble that should run. Vic. sfred wrote: > > How do I build a 32-bit ActiveMQ-CPP for Linux for AMD (x86) platform? > I've tried various combinations to get it built, but I keep running into > roadblocks. > > The most obvious thing for me to try was: > > ./configure CXXFLAGS=-m32 > > That seemed to compile it for 32-bit, but when it came to liniking, the > libtools had been build to use the lib64 libraries and so I was getting > incompatible ELF messages. > > I looked into modifications for ./autgen.sh, but I couldn't figure out > what options to give it to tell it to build a 32-bit binary. > > Any help would be appreciated. > > Scott > ----- Senior Software Engineer "Get the message" http://www.ttmsolutions.com/ -- View this message in context: http://www.nabble.com/Building-32-bit-tp16520277s2354p16579670.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.