qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Laughlin <jeff.laugh...@gmail.com>
Subject Re: compiling c++ broker trunk on windows: Cannot find source file "documents"
Date Sat, 14 Nov 2009 20:12:22 GMT
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 <jeff.laughlin@gmail.com>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 <shuston@riverace.com>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
>> > <shuston@riverace.com> 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
>> > > > <shuston@riverace.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message