Top of GCC_XML/CMakeLists.txt : # We now need at least CMake 2.4.5 to get some custom command fixes # and a working INSTALL(DIRECTORY). CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)
Not sure why it didn't kick in for Peter... Maybe we need one in GCC/CMakeLists.txt, too. On 1/8/08, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: > > Brad, > > Could you change the minimum requirement to 2.4.5 > > CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5) > > Thanks > -Mathieu > > On Jan 8, 2008 12:46 AM, Peter Hackett <[EMAIL PROTECTED]> wrote: > > I solved my own problem by downloading and building the latest cmake: > > > > cmake --version > > cmake version 2.4-patch 7 > > > > Sorry for the fire drill. :-( > > > > > > Peter Hackett wrote: > > > Following the instructions listed on the gccxml web site, I get: > > > > > > running /bin/sh > > > > "/users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/config_cmake/gcc_platform.sh" > > > > "/users/peter/downloads/software/gnu/gccxml/cvs080107.build/GCC/config_cmake/gcc_platform.cmake" > > > "/usr/bin/cmake" 2>&1 > > > CMake Error: Error in cmake code at > > > > /users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/gcc/CMakeLists.txt:64: > > > > > > Unknown CMake command "ELSEIF". > > > > > > Here's exactly what I did: > > > > > > mkdir /users/peter/downloads/software/gnu/gccxml > > > cd /users/peter/downloads/software/gnu/gccxml > > > > > > mkdir cvs080107 > > > cd cvs080107 > > > > > > cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/GCC_XML login > > > > > > cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/GCC_XML co gccxml > > > ~ 3 1/2 minutes > > > ~ 80 Mbytes > > > > > > mv gccxml/* . > > > rmdir gccxml > > > > > > mkdir ../cvs080107.build > > > cd ../cvs080107.build > > > > > > cmake -DCMAKE_INSTALL_PREFIX:PATH=/users/peter/gccxml ../cvs080107 \ > > > |& tee cmake.out > > > > > > I'm running on Suse 10.2 (X86-64) > > > and > > > cmake --version > > > cmake version 2.4-patch 3 > > > > > > I'll continue to poke away, but if anyone has any ideas about what's > > > going wrong ... > > > > > > _______________________________________________ > > > gccxml mailing list > > > [email protected] > > > http://www.gccxml.org/mailman/listinfo/gccxml > > _______________________________________________ > > gccxml mailing list > > [email protected] > > http://www.gccxml.org/mailman/listinfo/gccxml > > > > > > -- > Mathieu > _______________________________________________ > gccxml mailing list > [email protected] > http://www.gccxml.org/mailman/listinfo/gccxml >
_______________________________________________ gccxml mailing list [email protected] http://www.gccxml.org/mailman/listinfo/gccxml
