[GCC-XML] Unknown CMake command "ELSEIF"

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Jan 8 04:21:46 EST 2008


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 <peter at icmanage.com> 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: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
> _______________________________________________
> gccxml mailing list
> gccxml at gccxml.org
> http://www.gccxml.org/mailman/listinfo/gccxml
>



-- 
Mathieu



More information about the gccxml mailing list