cannot install

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Feb 12 08:41:53 EST 2009


On Thu, Feb 12, 2009 at 3:41 AM, Vladimír Župka <vzupka at volny.cz> wrote:

> Here is 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 python configure 3.0, which was
> generated by GNU Autoconf 2.61.  Invocation command line was
>
>   $ ./configure --enable-framework
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = Macintosh.local
> uname -m = i386
> uname -r = 9.6.0
> uname -s = Darwin
> uname -v = Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
> root:xnu-1228.9.59~1/RELEASE_I386
>
> /usr/bin/uname -p = i386
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = Mach kernel version:
>  Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
> root:xnu-1228.9.59~1/RELEASE_I386
> Kernel configured for up to 2 processors.
> 2 processors are physically available.
> 2 processors are logically available.
> Processor type: i486 (Intel 80486)
> Processors active: 0 1
> Primary memory available: 4.00 gigabytes
> Default processor set: 101 tasks, 414 threads, 2 processors
> Load average: 1.02, Mach factor: 0.99
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /opt/local/bin
> PATH: /opt/local/sbin
> PATH: /Developer/usr/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/sbin
> PATH: /sbin
> PATH: /Users/admin
> PATH: /usr/local/bin
> PATH: /usr/X11/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1900: checking for --with-universal-archs
> configure:1912: result: 32-bit
> configure:2033: checking MACHDEP
> configure:2197: result: darwin
> configure:2208: checking machine type as reported by uname -m
> configure:2211: result: i386
> configure:2224: checking for --without-gcc
> configure:2250: result: no
> configure:2311: checking for gcc
> configure:2327: found /Developer/usr/bin/gcc
> configure:2338: result: gcc
> configure:2576: checking for C compiler version
> configure:2583: gcc --version >&5
> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
> Copyright (C) 2005 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:2586: $? = 0
> configure:2593: gcc -v >&5
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable-checking
> -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5490)
> configure:2596: $? = 0
> configure:2603: gcc -V >&5
> gcc-4.0: argument to `-V' is missing
> configure:2606: $? = 1
> configure:2629: checking for C compiler default output file name
> configure:2656: gcc    conftest.c  >&5
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
> configure:2659: $? = 1
> configure:2697: result:
> configure: failed program was:
> | /* confdefs.h.  */
> | #define _GNU_SOURCE 1
> | #define _NETBSD_SOURCE 1
> | #define __BSD_VISIBLE 1
> | #define _BSD_TYPES 1
> | #define _DARWIN_C_SOURCE 1
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2704: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> 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_LIBS_set=
> ac_cv_env_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_prog_ac_ct_CC=gcc
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> AR=''
> ARCH_RUN_32BIT=''
> BASECFLAGS=''
> BLDLIBRARY=''
> BLDSHARED=''
> BUILDEXEEXT=''
> CC='gcc'
> CCSHARED=''
> CFLAGS=''
> CFLAGSFORSHARED=''
> CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
> CONFIG_ARGS=' '\''--enable-framework'\'''
> CPP=''
> CPPFLAGS=''
> CXX=''
> DEFS=''
> DLINCLDIR=''
> DLLLIBRARY=''
> DYNLOADFILE=''
> ECHO_C='ECHO_N=''
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
> FRAMEWORKALTINSTALLFIRST='frameworkinstallstructure bininstall maninstall'
> FRAMEWORKALTINSTALLLAST='frameworkinstallmaclib frameworkinstallapps
> frameworkaltinstallunixtools'
> FRAMEWORKINSTALLFIRST='frameworkinstallstructure'
> FRAMEWORKINSTALLLAST=''
> FRAMEWORKUNIXTOOLSPREFIX='/usr/local'
> GREP=''
> HAVE_GETHOSTBYNAME=''
> HAVE_GETHOSTBYNAME_R=''
> HAVE_GETHOSTBYNAME_R_3_ARG=''
> HAVE_GETHOSTBYNAME_R_5_ARG=''
> HAVE_GETHOSTBYNAME_R_6_ARG=''
> INSTALL_DATA=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> INSTSONAME=''
> LDFLAGS=''
> LDLAST=''
> LDLIBRARY=''
> LDLIBRARYDIR=''
> LDSHARED=''
> LIBC=''
> LIBM=''
> LIBOBJS=''
> LIBRARY=''
> LIBS=''
> LIBTOOL_CRUFT=''
> LINKCC=''
> LINKFORSHARED=''
> LN=''
> LTLIBOBJS=''
> MACHDEP='darwin'
> MACHDEP_OBJS=''
> MAINCC=''
> OBJEXT=''
> OPT=''
> OTHER_LIBTOOL_OPT=''
> PACKAGE_BUGREPORT='http://www.python.org/python-bugs'<http://www.python.org/python-bugs%27>
> PACKAGE_NAME='python'
> PACKAGE_STRING='python 3.0'
> PACKAGE_TARNAME='python'
> PACKAGE_VERSION='3.0'
> PATH_SEPARATOR=':'
> PYTHONFRAMEWORK='Python'
> PYTHONFRAMEWORKDIR='Python.framework'
> PYTHONFRAMEWORKIDENTIFIER='org.python.python'
> PYTHONFRAMEWORKINSTALLDIR='/Library/Frameworks/Python.framework'
> PYTHONFRAMEWORKPREFIX='/Library/Frameworks'
> RANLIB=''
> RUNSHARED=''
> SGI_ABI=''
> SHELL='/bin/sh'
> SHLIBS=''
> SIGNAL_OBJS=''
> SO=''
> SOVERSION='1.0'
> SRCDIRS=''
> SVNVERSION=''
> THREADHEADERS=''
> THREADOBJ=''
> TRUE=''
> UNIVERSALSDK=''
> UNIVERSAL_ARCH_FLAGS=''
> USE_SIGNAL_MODULE=''
> USE_THREAD_MODULE=''
> VERSION='3.0'
> ac_ct_CC='gcc'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/Library/Frameworks/Python.framework/Versions/3.0'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define _GNU_SOURCE 1
> #define _NETBSD_SOURCE 1
> #define __BSD_VISIBLE 1
> #define _BSD_TYPES 1
> #define _DARWIN_C_SOURCE 1
>
> configure: exit 77
>
> On 11.2.2009, at 14:23, Benjamin Kaplan wrote:
>
>
>
> 2009/2/11 administrator <vzupka at volny.cz>
>
>> I tried as admin with Python-3.0 in my home directory but no success yet.
>> Is there another help?
>>
>> Macintosh:~ admin$ export
>> PATH=/opt/local/bin:/opt/local/sbin:/Developer/usr/bin:$PATH
>> Macintosh:~ admin$ echo $PATH
>>
>> /opt/local/bin:/opt/local/sbin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/admin:/usr/local/bin:/usr/X11/bin
>> Macintosh:~ admin$ cd ~/Python-3.0
>> Macintosh:Python-3.0 admin$ pwd
>> /Users/admin/Python-3.0
>> Macintosh:Python-3.0 admin$ sudo ./configure --enable-framework
>> checking for --with-universal-archs... 32-bit
>> checking MACHDEP... darwin
>> checking machine type as reported by uname -m... i386
>> checking for --without-gcc... no
>> 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.
>> Macintosh:Python-3.0 admin$
>>
>
>
>
> What does config.log say?
>
>
>>
>> Hmm. Not much useful there. Do you have XCode installed? Maybe someone
else has seen this before and can help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090212/2c0fb087/attachment-0001.html>


More information about the Python-list mailing list