Hi Jonathan,

Can you please try this for me... In the qpid/cpp/src/CMakeLists.txt
file, near line 20, there's:

include(CheckIncludeFile)

Please change this to:

include(CheckIncludeFileCXX)

Also, locate the two lines (at or near line 206):

  CHECK_INCLUDE_FILE (xercesc/framework/MemBufInputSource.hpp
HAVE_XERCES_H)
  CHECK_INCLUDE_FILE (xqilla/xqilla-simple.hpp HAVE_XQILLA_H)

And change CHECK_INCLUDE_FILE to CHECK_INCLUDE_FILE_CXX

Then delete the CMakeCache.txt file in your build directory and rerun
ccmake.

Thanks,
-Steve

> -----Original Message-----
> From: Steve Huston [mailto:[email protected]] 
> Sent: Tuesday, April 28, 2009 9:49 AM
> To: [email protected]
> Subject: RE: Cmake buildable on trunk
> 
> 
> > Steve Huston wrote:
> > > Ok, can you please try this:
> > >
> > > cd <your build dir>
> > > rm CMakeCache.txt
> > > ccmake .. (or wherever your qpid/cpp dir is)
> > >   
> > 
> > 
> > CMake Error at src/CMakeLists.txt:209 (message):
> > XML Exchange support requested but Xerces-C headers not found
> 
> Grrrrrrrr.....
> 
> One more idea... If you run ccmake and get the screen with the
options
> displayed, type 't' to get advanced options, and scroll to find the
> CMAKE_CXX_COMPILER - if it's c++ (and not g++), put the cursor on
it,
> hit return, then type in g++.
> 
> Then reconfigure.
> 
> Meanwhile I'll ask the cmake folks how to get better details on what
> exactly the thing is looking for.
> 
> -Steve
> 
> 
>
---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
> 
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to