Re: OSX gcc binary (no Xcode)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Tobler wrote:

> Guillaume Khayat wrote:
>
>> Hi
>> After numerous issues with gcc, I've come to the point where it seems
>> impossible to have it run properly.
>>
>> I keep getting error msgs like this one:
>>
>> ...
>> checking for gcc... gcc
>> checking whether the C compiler (gcc
>> -L/sw/src/gettext-0.10.40-19/gettext-0.10.40/intl/.libs -L/sw/lib)
>> works... no
>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
>> ### execution of ./configure failed, exit code 1
>>
>> It seems many people get these.
>>
>> I already re-installed both Xcode (w/ proper patches) & Fink. I am now
>> therefore looking for a clean gcc binary to install on my system. Does
>> anyone know where I could one?
>>
>> I am running OSX 10.3.9 w/ Fink O.71 + FinkCommander 0.53 & XCode
>> 1.5 +
>> latest patches.
>
>
> Sorry, but how about "rm -rf /sw" and retry ?
>
> We're working here with gcc-3.3 to gcc-4.1 without problems. But we
> do _not_ have fink installed.
>
> Andreas
>
>
Now, you must first understand I am really completely new to the unix
world. Hey, I'm no Mac user for nothing ;).

I just tried the command you suggested. What is it supposed to do? All
it did apparently was erase Fink. No improvements apart from that.





Here is the kind of error I get when trying to compile source (in this
case ./configure from gnupg-1.4.1)

...
checking for gcc... gcc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.





Here is the 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 gnupg configure 1.4.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

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

hostname = Meego.local
uname -m = Power Macintosh
uname -r = 7.9.0
uname -s = Darwin
uname -v = Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
     Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 512.00 megabytes.
Default processor set: 68 tasks, 205 threads, 1 processors
Load average: 2.17, Mach factor: 0.45
unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sw/bin
PATH: /sw/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin


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

configure:1417: checking build system type
configure:1435: result: powerpc-apple-darwin7.9.0
configure:1443: checking host system type
configure:1457: result: powerpc-apple-darwin7.9.0
configure:1479: checking for a BSD-compatible install
configure:1534: result: /usr/bin/install -c
configure:1545: checking whether build environment is sane
configure:1588: result: yes
configure:1653: checking for gawk
configure:1682: result: no
configure:1653: checking for mawk
configure:1682: result: no
configure:1653: checking for nawk
configure:1682: result: no
configure:1653: checking for awk
configure:1669: found /usr/bin/awk
configure:1679: result: awk
configure:1689: checking whether make sets $(MAKE)
configure:1709: result: yes
configure:1887: checking which random module to use
configure:1903: result: default
configure:1935: checking whether use of /dev/random is requested
configure:1944: result: yes
configure:1949: checking whether assembler modules are requested
configure:1958: result: yes
configure:1961: checking whether memory guard is requested
configure:1970: result: no
configure:1983: checking whether non excutable stack support is requested
configure:1992: result: no
configure:1997: checking whether SELinux support is requested
configure:2006: result: no
configure:2010: checking whether OpenPGP card support is requested
configure:2019: result: yes
configure:2022: checking whether the new iconv based code is requested
configure:2031: result: yes
configure:2034: checking whether to enable the experimental backsigs code
configure:2043: result: no
configure:2075: checking whether to enable the RSA public key algorithm
configure:2082: result: yes
configure:2092: checking whether to enable the IDEA cipher
configure:2099: result: yes
configure:2113: checking for idea cipher module
configure:2125: result: no
configure:2129: checking whether to enable the CAST5 cipher
configure:2136: result: yes
configure:2146: checking whether to enable the BLOWFISH cipher
configure:2153: result: yes
configure:2163: checking whether to enable the AES ciphers
configure:2170: result: yes
configure:2180: checking whether to enable the TWOFISH cipher
configure:2187: result: yes
configure:2197: checking whether to enable the SHA-256 digest
configure:2204: result: yes
configure:2214: checking whether to enable the SHA-384 and SHA-512 digests
configure:2221: result: yes
configure:2224: checking whether to enable the BZIP2 compression algorithm
configure:2231: result: yes
configure:2234: checking whether to enable external program execution
configure:2241: result: yes
configure:2252: checking whether to enable photo ID viewing
configure:2268: result: yes
configure:2272: checking whether to use a fixed photo ID viewer
configure:2290: result: no
configure:2294: checking whether to enable external keyserver helpers
configure:2310: result: yes
configure:2314: checking whether LDAP keyserver support is requested
configure:2323: result: yes
configure:2326: checking whether HKP keyserver support is requested
configure:2335: result: yes
configure:2338: checking whether HTTP key fetching support is requested
configure:2347: result: yes
configure:2350: checking whether finger key fetching support is requested
configure:2359: result: yes
configure:2362: checking whether ftp key fetching support is requested
configure:2371: result: yes
configure:2374: checking whether email keyserver support is requested
configure:2383: result: no
configure:2387: checking whether keyserver exec-path is enabled
configure:2402: result: yes
configure:2406: checking whether the included zlib is requested
configure:2416: result: no
configure:2419: checking for the size of the key and uid cache
configure:2443: result: 4096
configure:2451: checking whether use of capabilities is requested
configure:2461: result: no
configure:2473: checking whether to enable maintainer-specific
portions of Makefiles
configure:2482: result: no
configure:2499: checking whether make sets $(MAKE)
configure:2519: result: yes
configure:2528: checking whether build environment is sane
configure:2571: result: yes
configure:2635: checking for gcc
configure:2651: found /usr/bin/gcc
configure:2661: result: gcc
configure:2905: checking for C compiler version
configure:2908: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
Copyright (C) 2002 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:2911: $? = 0
configure:2913: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
configure:2916: $? = 0
configure:2918: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2921: $? = 1
configure:2944: checking for C compiler default output file name
configure:2947: gcc    conftest.c  >&5
ld: can't locate file for: -lcrt1.o
configure:2950: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gnupg"
| #define PACKAGE_TARNAME "gnupg"
| #define PACKAGE_VERSION "1.4.1"
| #define PACKAGE_STRING "gnupg 1.4.1"
| #define PACKAGE_BUGREPORT "bug-gnupg@xxxxxxx"
| #define PACKAGE "gnupg"
| #define VERSION "1.4.1"
| #define _GNU_SOURCE 1
| #define EGD_SOCKET_NAME ""
| #define USE_RSA 1
| #define USE_IDEA 1
| #define USE_CAST5 1
| #define USE_BLOWFISH 1
| #define USE_AES 1
| #define USE_TWOFISH 1
| #define USE_SHA256 1
| #define PK_UID_CACHE_SIZE 4096
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2989: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=powerpc-apple-darwin7.9.0
ac_cv_build_alias=powerpc-apple-darwin7.9.0
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_host=powerpc-apple-darwin7.9.0
ac_cv_host_alias=powerpc-apple-darwin7.9.0
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
gnupg_cv_enable_keyserver_helpers=yes
gnupg_cv_enable_photo_viewers=yes

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

ACLOCAL='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run
aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run tar'
AR=''
AUTOCONF='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run autoconf'
AUTOHEADER='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run
autoheader'
AUTOMAKE='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run
automake-1.9'
AWK='awk'
BUILD_INCLUDED_LIBINTL=''
CAPLIBS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DLLIBS=''
DOCBOOK_TO_MAN=''
DOCBOOK_TO_TEXI=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_BZIP2_SUPPORT_FALSE=''
ENABLE_BZIP2_SUPPORT_TRUE=''
ENABLE_CARD_SUPPORT_FALSE=''
ENABLE_CARD_SUPPORT_TRUE=''
ENABLE_LOCAL_ZLIB_FALSE=''
ENABLE_LOCAL_ZLIB_TRUE=''
EXEEXT=''
FAKE_CURL_FALSE=''
FAKE_CURL_TRUE=''
FAQPROG=''
GENCAT=''
GETOPT=''
GLIBC21=''
GMSGFMT=''
GPGKEYS_CURL=''
GPGKEYS_FINGER=''
GPGKEYS_HKP=''
GPGKEYS_HTTP=''
GPGKEYS_LDAP=''
GPGKEYS_LDAP_FALSE=''
GPGKEYS_LDAP_TRUE=''
GPGKEYS_MAILTO=''
HAVE_ASPRINTF=''
HAVE_DOCBOOK_TO_MAN_FALSE=''
HAVE_DOCBOOK_TO_MAN_TRUE=''
HAVE_DOCBOOK_TO_TEXI_FALSE=''
HAVE_DOCBOOK_TO_TEXI_TRUE=''
HAVE_DOSISH_SYSTEM_FALSE=''
HAVE_DOSISH_SYSTEM_TRUE=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
IDEA_O='idea-stub.o'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LDAPLIBS=''
LDFLAGS=''
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBUSB=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL}
/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/missing --run makeinfo'
MKINSTALLDIRS=''
MPI_EXTRA_ASM_OBJS=''
MPI_OPT_FLAGS=''
MPI_SFLAGS=''
MSGFMT=''
MSGMERGE=''
NETLIBS=''
NM=''
NOEXECSTACK_FLAGS=''
OBJEXT=''
PACKAGE='gnupg'
PACKAGE_BUGREPORT='bug-gnupg@xxxxxxx'
PACKAGE_NAME='gnupg'
PACKAGE_STRING='gnupg 1.4.1'
PACKAGE_TARNAME='gnupg'
PACKAGE_VERSION='1.4.1'
PATH_SEPARATOR=':'
PERL=''
POSUB=''
RANLIB=''
REGEX_O=''
SENDMAIL=''
SET_MAKE=''
SHA512_O=''
SHELL='/bin/sh'
SRVLIBS=''
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='1.4.1'
W32LIBS=''
WORKING_FAQPROG_FALSE=''
WORKING_FAQPROG_TRUE=''
XGETTEXT=''
ZLIBS=''
_libcurl_config=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin7.9.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin7.9.0'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='powerpc-apple-darwin7.9.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin7.9.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/guillaumekhayat/Desktop/gnupg-1.4.1/scripts/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define EGD_SOCKET_NAME ""
#define PACKAGE "gnupg"
#define PACKAGE_BUGREPORT "bug-gnupg@xxxxxxx"
#define PACKAGE_NAME "gnupg"
#define PACKAGE_STRING "gnupg 1.4.1"
#define PACKAGE_TARNAME "gnupg"
#define PACKAGE_VERSION "1.4.1"
#define PK_UID_CACHE_SIZE 4096
#define USE_AES 1
#define USE_BLOWFISH 1
#define USE_CAST5 1
#define USE_IDEA 1
#define USE_RSA 1
#define USE_SHA256 1
#define USE_TWOFISH 1
#define VERSION "1.4.1"
#define _GNU_SOURCE 1

configure: exit 77




I hope this is of any help. Otherwise, do you think getting another
binary package would solve these issues?

Thanks for your help

Guillaume Khayat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCYvLZeGQrS1qLBRERAkseAKC91MJiYQjWn8cPV9C4yZ8CSKZpOwCg0gHe
PRy3TLG0XSK/vfQhIZLc5fw=
=9kBw
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux