NewProggie/SparkleShare-Android — Issue #63: Installer fails on gcc
Author: oraclesod
Created: 2011-12-27 18:07:04+00:00
State: open

when installing from git i get the following:

[root@server sparkleshare-0.6.0]# ./configure --prefix=/usr
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 to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/root/sparkleshare-0.6.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

from what i can see in the config.log

configure:3067: gcc --version >&5
gcc (GCC) 4.4.5 20110214 (Foresight Linux 4.4.5-2)
Copyright (C) 2010 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:3071: $? = 0
configure:3078: gcc -v >&5
Using built-in specs.
Target: x86_64-unknown-linux
Configured with: ../configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --target=x86_64-unknown-linux --host=x86_64-unknown-linux --prefix=/usr --enable-shared --enable-threads=posix --with-cpu=generic --enable-__cxa_atexit --enable-languages=c,c++,objc,obj-c++,fortran --disable-libgcj --build=x86_64-unknown-linux --with-system-zlib --enable-checking=release --disable-libunwind-exceptions --enable-gnu-unique-object--with-ppl --with-cloog --enable-bootstrap --with-tune=generic --build=x86_64-unknown-linux --with-arch_32=i686
Thread model: posix
gcc version 4.4.5 20110214 (Foresight Linux 4.4.5-2) (GCC)
configure:3082: $? = 0
configure:3089: gcc -V >&5
gcc: '-V' option must have argument
configure:3093: $? = 1
configure:3116: checking for C compiler default output file name
configure:3138: gcc conftest.c >&5
/usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a
collect2: ld returned 1 exit status
configure:3142: $? = 1
configure:3180: result:
configure: failed program was:
| /* confdefs.h. */

not sure why this is failing...