[GCC-XML] Unknown CMake command "ELSEIF"

Peter Hackett peter at icmanage.com
Mon Jan 7 18:46:09 EST 2008


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:anoncvs at www.gccxml.org:/cvsroot/GCC_XML login
>
> cvs -d :pserver:anoncvs at www.gccxml.org:/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
> gccxml at gccxml.org
> http://www.gccxml.org/mailman/listinfo/gccxml



More information about the gccxml mailing list