MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.57k stars 289 forks source link

Fresh Fedora 22 installed, installed listed dependencies, "configure: error: C compiler cannot create executables" #401

Open agentshmith opened 8 years ago

agentshmith commented 8 years ago

This is a fresh Fedora 22 install.

I started with installling everything listed in the guide:

sudo yum install ffmpeg-devel qt4-devel alsa-lib-devel pulseaudio-libs-devel jack-audio-connection-kit-devel \
gcc make gcc-c++ glibc-devel.i686 libgcc.i686 libX11-devel libX11-devel.i686 libXext-devel libXext-devel.i686 \
libXfixes-devel libXfixes-devel.i686 mesa-libGL-devel mesa-libGL-devel.i686 mesa-libGLU-devel mesa-libGLU-devel.i686

When I run ./simple-build-and-install I get errors

Detecting x86/x64 ...
x86/x64 = --enable-x86-asm
Detecting ffmpeg/libav ...
Detected ffmpeg.
Configuring ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/sean/ssr/build':
configure: error: C compiler cannot create executables
See `config.log' for more details

The results of my build/config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by simplescreenrecorder configure 0.3.6, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../configure --prefix=/usr --libdir=/usr/lib64 --disable-assert --enable-x86-asm --enable-ffmpeg-versions

## --------- ##
## Platform. ##
## --------- ##

hostname = star.myhost.name
uname -m = x86_64
uname -r = 4.0.4-301.fc22.x86_64
uname -s = Linux
uname -v = #1 SMP Thu May 21 13:10:33 UTC 2015

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/sean/bin
PATH: /home/sean/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /sbin
PATH: /home/sean/.local/bin
PATH: /home/sean/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2479: checking for a BSD-compatible install
configure:2547: result: /usr/bin/install -c
configure:2558: checking whether build environment is sane
configure:2613: result: yes
configure:2764: checking for a thread-safe mkdir -p
configure:2803: result: /usr/bin/mkdir -p
configure:2810: checking for gawk
configure:2826: found /usr/bin/gawk
configure:2837: result: gawk
configure:2848: checking whether make sets $(MAKE)
configure:2870: result: yes
configure:2899: checking whether make supports nested variables
configure:2916: result: yes
configure:3043: checking whether to enable maintainer-specific portions of Makefiles
configure:3052: result: no
configure:3077: checking for style of include used by make
configure:3105: result: GNU
configure:3176: checking for gcc
configure:3192: found /usr/bin/gcc
configure:3203: result: gcc
configure:3432: checking for C compiler version
configure:3441: gcc --version >&5
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3452: $? = 0
configure:3441: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC) 
configure:3452: $? = 0
configure:3441: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3452: $? = 1
configure:3441: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3452: $? = 1
configure:3472: checking whether the C compiler works
configure:3494: gcc -Wall -O2 -pipe   conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
configure:3498: $? = 1
configure:3536: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "simplescreenrecorder"
| #define PACKAGE_TARNAME "simplescreenrecorder"
| #define PACKAGE_VERSION "0.3.6"
| #define PACKAGE_STRING "simplescreenrecorder 0.3.6"
| #define PACKAGE_BUGREPORT "maarten-baert@hotmail.com"
| #define PACKAGE_URL "http://www.maartenbaert.be/simplescreenrecorder/"
| #define PACKAGE "simplescreenrecorder"
| #define VERSION "0.3.6"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3541: error: in `/home/sean/ssr/build':
configure:3543: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Wall -O2 -pipe'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-Wall -O2 -pipe'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FFMPEG_CFLAGS_set=
ac_cv_env_FFMPEG_CFLAGS_value=
ac_cv_env_FFMPEG_LIBS_set=
ac_cv_env_FFMPEG_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_QT4_CFLAGS_set=
ac_cv_env_QT4_CFLAGS_value=
ac_cv_env_QT4_LIBS_set=
ac_cv_env_QT4_LIBS_value=
ac_cv_env_QT5_CFLAGS_set=
ac_cv_env_QT5_CFLAGS_value=
ac_cv_env_QT5_LIBS_set=
ac_cv_env_QT5_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/sean/ssr/build-aux/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /home/sean/ssr/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/sean/ssr/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/sean/ssr/build-aux/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-Wall -O2 -pipe'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-Wall -O2 -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_ASSERT_FALSE=''
ENABLE_ASSERT_TRUE=''
ENABLE_FFMPEG_VERSIONS_FALSE=''
ENABLE_FFMPEG_VERSIONS_TRUE=''
ENABLE_GLINJECTLIB_FALSE=''
ENABLE_GLINJECTLIB_TRUE=''
ENABLE_SSRPROGRAM_FALSE=''
ENABLE_SSRPROGRAM_TRUE=''
ENABLE_X86_ASM_FALSE=''
ENABLE_X86_ASM_TRUE=''
EXEEXT=''
FFMPEG_CFLAGS=''
FFMPEG_LIBS=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIPO=''
LN_S=''
LRELEASE=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
LUPDATE=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/sean/ssr/build-aux/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
MOC=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='simplescreenrecorder'
PACKAGE_BUGREPORT='maarten-baert@hotmail.com'
PACKAGE_NAME='simplescreenrecorder'
PACKAGE_STRING='simplescreenrecorder 0.3.6'
PACKAGE_TARNAME='simplescreenrecorder'
PACKAGE_URL='http://www.maartenbaert.be/simplescreenrecorder/'
PACKAGE_VERSION='0.3.6'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
QT4_CFLAGS=''
QT4_LIBS=''
QT5_CFLAGS=''
QT5_LIBS=''
RANLIB=''
RCC=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
UIC=''
VERSION='0.3.6'
WITH_JACK_FALSE=''
WITH_JACK_TRUE=''
WITH_PULSEAUDIO_FALSE=''
WITH_PULSEAUDIO_TRUE=''
WITH_QT5_FALSE=''
WITH_QT5_TRUE=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/sean/ssr/build-aux/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "simplescreenrecorder"
#define PACKAGE_TARNAME "simplescreenrecorder"
#define PACKAGE_VERSION "0.3.6"
#define PACKAGE_STRING "simplescreenrecorder 0.3.6"
#define PACKAGE_BUGREPORT "maarten-baert@hotmail.com"
#define PACKAGE_URL "http://www.maartenbaert.be/simplescreenrecorder/"
#define PACKAGE "simplescreenrecorder"
#define VERSION "0.3.6"

configure: exit 77

GCC is installed which gcc /usr/bin/gcc

dnf list installed | grep gcc

gcc.x86_64                                 5.1.1-4.fc22                 @updates
gcc-c++.i686                               5.1.1-4.fc22                 @updates
gcc-c++.x86_64                             5.1.1-4.fc22                 @updates
libgcc.i686                                5.1.1-4.fc22                 @updates
libgcc.x86_64                              5.1.1-4.fc22                 @updates

I don't know what to do from here.

ghost commented 8 years ago

This happened to me aswell, install the glibc-devel.x86_64 package, and everything will be fine. This happened to me in Fedora 23 "Michael Jordan", though, however it should work, right?