Quantcast

Configure never ends when changing compiler

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Configure never ends when changing compiler

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?

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Configure never ends when changing compiler

Benjamin Eikel-2
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
--

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Configure never ends when changing compiler

Nils Gladitz-2
In reply to this post by David Demelier
I think this was fixed in 2.8.11:
http://public.kitware.com/Bug/view.php?id=13756

Nils

On 06/03/2013 12:08 PM, David Demelier wrote:

> 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?
>
> 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

--

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Configure never ends when changing compiler

David Demelier
In reply to this post by Benjamin Eikel-2
2013/6/3 Benjamin Eikel <[hidden email]>:

> 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

Okay thank you, I thought I broke something within my lot of subdirectories.

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
Loading...