From users-return-2189-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Sat Nov 14 20:12:49 2009 Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 2455 invoked from network); 14 Nov 2009 20:12:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Nov 2009 20:12:49 -0000 Received: (qmail 51999 invoked by uid 500); 14 Nov 2009 20:12:49 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 51960 invoked by uid 500); 14 Nov 2009 20:12:49 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 51950 invoked by uid 99); 14 Nov 2009 20:12:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 20:12:49 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeff.laughlin@gmail.com designates 209.85.220.215 as permitted sender) Received: from [209.85.220.215] (HELO mail-fx0-f215.google.com) (209.85.220.215) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 20:12:45 +0000 Received: by fxm7 with SMTP id 7so4605296fxm.9 for ; Sat, 14 Nov 2009 12:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sd2z1mgWR0UNaAMMKl/I/C55mjPWUwCrv2T5ry11QZ0=; b=oT8CxjmU89sJ4tHyBMSu8Nx9ERR9CzOecd5HdUpl/F5Ki0XFvCB3DvjWr8AePu078b Gt4vQMxgzM4v+eHalhTHaaPK/R92tPPg16gVB/1KNmTmENL05TklkZPYfPRLSeAYHF+a dmDMrvPDS4KCGfM2GmXr2qdfaBdovjuFAFmBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PzzJVqj9NJ+Q6HQS83xmbXMV7uLPgD83y42TkcS+r99akrtKtqZe92VFTa5EqCnXNj 4VQb2zKz1UPO4YA5kHlVC3oecikhSJIZEghGBtQDTAYLczteS55ajgUOxqmozL73fQbV KkGRBKF997yEvahIGsX630gZx5/ycSZaL+bf8= MIME-Version: 1.0 Received: by 10.239.139.76 with SMTP id s12mr574937hbs.78.1258229542680; Sat, 14 Nov 2009 12:12:22 -0800 (PST) In-Reply-To: <8ea83f40911141043m49d692b3yb48a6ee9708e9788@mail.gmail.com> References: <8ea83f40911140847h4ab6aa9fq95708d80822c4414@mail.gmail.com> <557630A92E314DF6983837D849B77D16@hope> <8ea83f40911141043m49d692b3yb48a6ee9708e9788@mail.gmail.com> Date: Sat, 14 Nov 2009 15:12:22 -0500 Message-ID: <8ea83f40911141212m131078b3x25f0841849a4e3fd@mail.gmail.com> Subject: Re: compiling c++ broker trunk on windows: Cannot find source file "documents" From: Jeff Laughlin To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=001485f5cfbaeff94704785a642c --001485f5cfbaeff94704785a642c Content-Type: text/plain; charset=ISO-8859-1 Eureka! THe problem is somewhere in the build system it's not properly handling paths with space characters, probably a quoting issue. The tipoff was when I started grepping for "documents" through the build dir and I noticed lots of case matching instances in both "documents and settings" and "my documents". As a workaround I moved my stuff to c:\tmp\qpid and the configuration step completed successfully!! (and there was much rejoicing) The build failed because I didn't have "boost system" installed; cmake should probably check for this. I installed and it built successfully. I'm not able to use the 0.5 qpid-route tool to set up a link; it returns "Failed: ('Timed out waiting for broker to synchronize',)"; Do I need the trunk version of that tool to command the trunk broker? Thanks Jeff On Sat, Nov 14, 2009 at 1:43 PM, Jeff Laughlin wrote: > Sounds like a reasonable next step. I deleted my build directory. > > First config run: > Check for working C compiler: cl > > Check for working C compiler: cl -- works > > Detecting C compiler ABI info > > Detecting C compiler ABI info - done > > Check for working CXX compiler: cl > > Check for working CXX compiler: cl -- works > > Detecting CXX compiler ABI info > > Detecting CXX compiler ABI info - done > > Boost version: 1.37.0 > > Found the following Boost libraries: > > Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) > > Found PythonInterp: C:/Python25/python.exe > > Regenerating AMQP protocol sources > > C:/Documents and Settings/jlaughlin.NWVT/My > Documents/qpid/trunk/qpid/cpp/../specs/management-schema.xml is newer > > C:/Documents and Settings/jlaughlin.NWVT/My > Documents/qpid/trunk/qpid/cpp/src/qpid/acl/management-schema.xml is newer > > C:/Documents and Settings/jlaughlin.NWVT/My > Documents/qpid/trunk/qpid/cpp/src/qpid/cluster/management-schema.xml is > newer > > Regenerating Qpid Management Framework sources > > Can't locate the help2man command; man pages will not be generated > > Can't locate the valgrind command; no run-time error detection > > Boost version: 1.37.0 > > Found the following Boost libraries: > > filesystem > > program_options > > date_time > > thread > > regex > > unit_test_framework > > Looking for clock_gettime in rt > > Looking for clock_gettime in rt - not found > > Looking for clock_gettime > > Looking for clock_gettime - not found > > Looking for sasl_checkpass in sasl2 > > Looking for sasl_checkpass in sasl2 - not found > > Looking for include files HAVE_SASL_H > > Looking for include files HAVE_SASL_H - not found. > > Looking for _init in xerces-c > > Looking for _init in xerces-c - not found > > Looking for C++ include xercesc/framework/MemBufInputSource.hpp > > Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not found > > Looking for C++ include xqilla/xqilla-simple.hpp > > Looking for C++ include xqilla/xqilla-simple.hpp - not found > > Looking for ibv_create_qp in ibverbs > > Looking for ibv_create_qp in ibverbs - not found > > Looking for rdma_create_id in rdmacm > > Looking for rdma_create_id in rdmacm - not found > > Looking for include files HAVE_IBVERBS_H > > Looking for include files HAVE_IBVERBS_H - not found. > > Looking for include files HAVE_RDMACM_H > > Looking for include files HAVE_RDMACM_H - not found. > > Looking for LOG_AUTHPRIV > > Looking for LOG_AUTHPRIV - not found. > > Looking for LOG_FTP > > Looking for LOG_FTP - not found. > > Configuring done > > > Config again to fix red things: > > Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) > > No need to generate AMQP protocol sources > > No need to generate Qpid Management Framework sources > > Can't locate the help2man command; man pages will not be generated > > Can't locate the valgrind command; no run-time error detection > > Configuring done > > > OK nothing is read, I click generate: > > --------------------------- > Error > --------------------------- > Error in generation process, project files may be invalid > --------------------------- > OK > --------------------------- > CMake Error in src/CMakeLists.txt: > > Cannot find source file "documents". Tried extensions .c .C .c++ .cc .cpp > > .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx > > > > So same deal. BTW I also downgraded boost to 1.37 > > > > On Sat, Nov 14, 2009 at 12:18 PM, Steve Huston wrote: > >> I hate to sound like a level 1 cable tech support rep, but could you >> delete the build directory and retry? If it's still saying it doesn't >> need to generate files, something is wrong. >> >> Thanks, >> -Steve >> >> -- >> Steve Huston, Riverace Corporation >> Total Lifecycle Support for Your Networked Applications >> http://www.riverace.com >> >> >> > -----Original Message----- >> > From: Jeff Laughlin [mailto:jeff.laughlin@gmail.com] >> > Sent: Saturday, November 14, 2009 11:48 AM >> > To: users@qpid.apache.org >> > Subject: Re: compiling c++ broker trunk on windows: Cannot >> > find source file "documents" >> > >> > >> > Done and done. I set the ruby_library variable which >> > eliminated the ruby >> > message, and I downgraded to cmake 2.6 patch 4. No change. >> > >> > When I click generate, I do get a dialog box with this error, >> > as well as the >> > console output I previously pasted: >> > >> > --------------------------- >> > Error >> > --------------------------- >> > Error in generation process, project files may be invalid >> > --------------------------- >> > OK >> > --------------------------- >> > >> > Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) >> > >> > No need to generate AMQP protocol sources >> > >> > No need to generate Qpid Management Framework sources >> > >> > Can't locate the help2man command; man pages will not be generated >> > >> > Can't locate the valgrind command; no run-time error detection >> > >> > Configuring done >> > >> > CMake Error in src/CMakeLists.txt: >> > >> > Cannot find source file "documents". Tried extensions .c .C >> > .c++ .cc .cpp >> > >> > .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx >> > >> > >> > >> > >> > >> > On Sat, Nov 14, 2009 at 11:33 AM, Steve Huston >> > wrote: >> > >> > > Another idea... If you can't find ruby, it can't generate all the >> > > files. It may be complaining that it can't include the >> > generated list >> > > of source file names. Before doing the cmake downgrade, see >> > if you can >> > > resolve the ruby location. >> > > >> > > Thanks, >> > > -Steve >> > > >> > > -- >> > > Steve Huston, Riverace Corporation >> > > Total Lifecycle Support for Your Networked Applications >> > > http://www.riverace.com >> > > >> > > >> > > > -----Original Message----- >> > > > From: Jeff Laughlin [mailto:jeff.laughlin@gmail.com] >> > > > Sent: Saturday, November 14, 2009 10:38 AM >> > > > To: users@qpid.apache.org >> > > > Subject: Re: compiling c++ broker trunk on windows: Cannot >> > > > find source file "documents" >> > > > >> > > > >> > > > Configure output: >> > > > Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) >> > > > >> > > > lookign for config.h >> > > > >> > > > Could NOT find Ruby (missing: RUBY_LIBRARY) >> > > > >> > > > No need to generate AMQP protocol sources >> > > > >> > > > No need to generate Qpid Management Framework sources >> > > > >> > > > Can't locate the help2man command; man pages will not be >> generated >> > > > >> > > > Can't locate the valgrind command; no run-time error detection >> > > > >> > > > Configuring done >> > > > >> > > > >> > > > Generate output (I guess it also includes the config out): >> > > > >> > > > Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) >> > > > >> > > > lookign for config.h >> > > > >> > > > Could NOT find Ruby (missing: RUBY_LIBRARY) >> > > > >> > > > No need to generate AMQP protocol sources >> > > > >> > > > No need to generate Qpid Management Framework sources >> > > > >> > > > Can't locate the help2man command; man pages will not be >> generated >> > > > >> > > > Can't locate the valgrind command; no run-time error detection >> > > > >> > > > Configuring done >> > > > >> > > > CMake Error in src/CMakeLists.txt: >> > > > >> > > > Cannot find source file "documents". Tried extensions .c .C >> > > > .c++ .cc .cpp >> > > > >> > > > .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx >> > > > >> > > > >> > > > That's all it says. >> > > > >> > > > CMake 2.8.0 >> > > > >> > > > Boost 1.40.0 from source using VC9 and I have no idea if >> > I built it >> > > > correctly. I think I'll write up a how-to, once I get this >> > > > all working. >> > > > >> > > > Python 2.5 (will this work? do I really need python 2.6 to >> build? >> > > the >> > > > management commands only seem to work with python 2.5) >> > > > >> > > > Latest Ruby 186.27, not sure why it says it can't find it, >> > > > it's in my path. >> > > > I may not have installed >> > > > the headers though. >> > > > >> > > > Thanks, >> > > > Jeff >> > > > >> > > > On Sat, Nov 14, 2009 at 9:11 AM, Steve Huston >> > > > wrote: >> > > > >> > > > > Hi Jeff, >> > > > > >> > > > > > Checked out the head today, r836084. Got boost built. Got >> > > > > > CMake "configured" >> > > > > > successfully. When I try to "generate", cmake throws >> > this error: >> > > > > > >> > > > > > CMake Error in src/CMakeLists.txt: >> > > > > > >> > > > > > Cannot find source file "documents". Tried extensions .c .C >> > > > > > .c++ .cc .cpp >> > > > > > >> > > > > > .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx >> > > > > > >> > > > > > >> > > > > > I don't see the word "documents" in src/CMakeLists.txt at >> > > > > > all, but I'm a >> > > > > > cmake newb. I'm kind of banging my head on the wall at >> > > > this point... >> > > > > >> > > > > Can you post the complete error please? >> > > > > Also, what version of CMake are you using? >> > > > > >> > > > > Thanks, >> > > > > -Steve >> > > > > >> > > > > -- >> > > > > Steve Huston, Riverace Corporation >> > > > > Total Lifecycle Support for Your Networked Applications >> > > > > http://www.riverace.com >> > > > > >> > > > > >> > > > > >> > > > >> > > >> > >> --------------------------------------------------------------------- >> > > > > Apache Qpid - AMQP Messaging Implementation >> > > > > Project: http://qpid.apache.org >> > > > > Use/Interact: mailto:users-subscribe@qpid.apache.org >> > > > > >> > > > > >> > > > >> > > > >> > > > -- >> > > > 73 de n1ywb >> > > > >> > > >> > > >> > > >> > >> --------------------------------------------------------------------- >> > > Apache Qpid - AMQP Messaging Implementation >> > > Project: http://qpid.apache.org >> > > Use/Interact: mailto:users-subscribe@qpid.apache.org >> > > >> > > >> > >> > >> > -- >> > 73 de n1ywb >> > >> >> >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:users-subscribe@qpid.apache.org >> >> > > > -- > 73 de n1ywb > > -- 73 de n1ywb --001485f5cfbaeff94704785a642c--