Ask Your Question

Revision history [back]

Zeromq installing error: C compiler cannot create executables

Hello! I have errors when try to install zeromq:

 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/home/andrei/Programs/Sage/sage-5.9/local/bin/../libexec     /gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
 Target: i686-pc-linux-gnu
 Configured with: ../src/configure --prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-local-prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-gmp=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpfr=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpc=/var/lib/buildbot     /build     /sage/arando-1/arando_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls  
 Thread model: posix
 gcc version 4.7.2 (GCC) 
 ****************************************************
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking how to create a ustar tar archive... gnutar
 checking whether make supports nested variables... yes
 checking for gcc... gcc
 checking whether the C compiler works... no
 configure: error: in `/home/andrei/Programs/Sage/sage-5.9/spkg/build/zeromq-3.2.0.p0/src':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 Failed to configure zeromq!

 real   0m1.498s
 user   0m0.056s
 sys    0m0.044s
 ************************************************************************
 Error installing package zeromq-3.2.0.p0
 ************************************************************************

It's very strange for me that C compiler doesn't work. I decided to try install gcc using sage -i gcc, but I got the same error. What do I wrong? Help me please! Thanks.

P.S. I decided that it is the different bug of zeromq install so I created new question.

[UPD] Zeromq installing error: C compiler cannot create executables

Hello! Hello!

PS: Please see update imformation at the end of this question.

I have errors when try to install zeromq:

 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/home/andrei/Programs/Sage/sage-5.9/local/bin/../libexec     /gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
 Target: i686-pc-linux-gnu
 Configured with: ../src/configure --prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-local-prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-gmp=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpfr=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpc=/var/lib/buildbot     /build     /sage/arando-1/arando_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls  
 Thread model: posix
 gcc version 4.7.2 (GCC) 
 ****************************************************
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking how to create a ustar tar archive... gnutar
 checking whether make supports nested variables... yes
 checking for gcc... gcc
 checking whether the C compiler works... no
 configure: error: in `/home/andrei/Programs/Sage/sage-5.9/spkg/build/zeromq-3.2.0.p0/src':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 Failed to configure zeromq!

 real   0m1.498s
 user   0m0.056s
 sys    0m0.044s
 ************************************************************************
 Error installing package zeromq-3.2.0.p0
 ************************************************************************

It's very strange for me that C compiler doesn't work. I decided to try install gcc using sage -i gcc, but I got the same error. What do I wrong? Help me please! Thanks.

P.S. I decided that it is the different bug of zeromq install so I created new question.

UPD:

 sage --sh
 gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/home/andrei/Programs/Sage/sage-5.9/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
 Target: i686-pc-linux-gnu
 Configured with: ../src/configure --prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-local-prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-gmp=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpfr=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-mpc=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls  
 Thread model: posix
 gcc version 4.7.2 (GCC)

In what could be the problem that c compiler don't work?