[CMake] Configure never ends when changing compiler

Benjamin Eikel cmake at eikel.org
Mon Jun 3 06:41:39 EDT 2013


Am Montag, 3. Juni 2013, 12:08:19 schrieb David Demelier:
> Hi there,
> 
> After doing a CMake generation, if I try to change the C compiler by
> doing cmake -DCMAKE_C_COMPILER=/usr/bin/clang it configures again but
> never ends, see :
> 
> Installation directories:
>         PREFIX          /usr/local
>         MANDIR          /usr/local/share/man
>         DOCDIR          /usr/local/share/doc/irccd
>         MODDIR          /usr/local/share/irccd/modules
> 
> Compiling irccd with following options:
>         Lua support:    enabled
>         Unit tests:     disabled
>         Default config: /usr/local/etc/irccd.conf
> 
> -- Configuring done
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /usr/bin/clang
> 
> -- Looking for getopt
> -- Looking for getopt - found
> -- Looking for setprogname
> -- Looking for setprogname - found
> -- Looking for unistd.h
> -- Looking for unistd.h - found
> -- Found XDG: /usr/local/include
> -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
> version "0.9.8x")
> -- Found LIBIRCCLIENT: /usr/local/include
> Installation directories:
>         PREFIX          /usr/local
>         MANDIR          /usr/local/share/man
>         DOCDIR          /usr/local/share/doc/irccd
>         MODDIR          /usr/local/share/irccd/modules
> 
> Compiling irccd with following options:
>         Lua support:    enabled
>         Unit tests:     disabled
>         Default config: /usr/local/etc/irccd.conf
> 
> -- Configuring done
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /usr/bin/clang
> 
> -- Looking for getopt
> -- Looking for getopt - found
> -- Looking for setprogname
> -- Looking for setprogname - found
> -- Looking for unistd.h
> -- Looking for unistd.h - found
> -- Found XDG: /usr/local/include
> -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
> version "0.9.8x")
> -- Found LIBIRCCLIENT: /usr/local/include
> Installation directories:
>         PREFIX          /usr/local
>         MANDIR          /usr/local/share/man
>         DOCDIR          /usr/local/share/doc/irccd
>         MODDIR          /usr/local/share/irccd/modules
> 
> Compiling irccd with following options:
>         Lua support:    enabled
>         Unit tests:     disabled
>         Default config: /usr/local/etc/irccd.conf
> 
> -- Configuring done
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /usr/bin/clang
> 
> -- Looking for getopt
> ^C
> 
> Is this a known issue?

Yes, this sound like:
http://public.kitware.com/Bug/view.php?id=13756

> 
> Cheers,
> 
> --
> Demelier David
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list