[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Trouble installing R igraph 0.6 on Mac OS X Lion
From: |
Marcel Salathé |
Subject: |
Re: [igraph] Trouble installing R igraph 0.6 on Mac OS X Lion |
Date: |
Tue, 17 Jan 2012 17:17:41 -0500 |
Gabor, here's the output in the log file. Slightly verbose but hopefully
helpful. There's seems to be some issue with a library (-lcrt1.10.6.o) but I
couldn't find anything helpful on the web.
I still have Xcode 3.2 btw.
Thanks
Marcel
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by igraph configure 0.6, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = client-75-102-84-107.mobility-up.psu.edu
uname -m = x86_64
uname -r = 11.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011;
root:xnu-1699.24.8~1/RELEASE_X86_64
/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 11.2.0: Tue Aug 9 20:54:00 PDT 2011;
root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 133 tasks, 595 threads, 4 processors
Load average: 0.96, Mach factor: 3.03
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin
PATH: /Library/Frameworks/Python.framework/Versions/Current/bin
PATH: /Library/Frameworks/Python.framework/Versions/2.6/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /Developer/usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1762: checking for gcc
configure:1778: found /Developer/usr/bin/gcc
configure:1789: result: gcc
configure:2027: checking for C compiler version
configure:2034: gcc --version >&5
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 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:2037: $? = 0
configure:2044: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:2047: $? = 0
configure:2054: gcc -V >&5
gcc-4.2: argument to `-V' is missing
configure:2057: $? = 1
configure:2080: checking for C compiler default output file name
configure:2107: gcc conftest.c >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:2110: $? = 1
configure:2148: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "igraph"
| #define PACKAGE_TARNAME "igraph"
| #define PACKAGE_VERSION "0.6"
| #define PACKAGE_STRING "igraph 0.6"
| #define PACKAGE_BUGREPORT "address@hidden"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2155: 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=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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. ##
## ----------------- ##
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GMP_LIBS=''
GREP=''
HAVE_FMEMOPEN=''
HAVE_GMP=''
HAVE_LIBXML=''
HAVE_OPEN_MEMSTREAM=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='address@hidden'
PACKAGE_NAME='igraph'
PACKAGE_STRING='igraph 0.6'
PACKAGE_TARNAME='igraph'
PACKAGE_VERSION='0.6'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
XML2CONFIG=''
XML2_CFLAGS=''
XML2_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
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='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "igraph"
#define PACKAGE_TARNAME "igraph"
#define PACKAGE_VERSION "0.6"
#define PACKAGE_STRING "igraph 0.6"
#define PACKAGE_BUGREPORT "address@hidden"
configure: exit 77
On Jan 17, 2012, at 4:58 PM, Gábor Csárdi wrote:
> Marcel,
>
> uncompress the .tar.gz and try to install the uncompressed directory:
>
> R CMD INSTALL igraph
>
> and then look at the config.log file.
>
> G.
>
> On Tue, Jan 17, 2012 at 4:54 PM, Marcel Salathé
> <address@hidden> wrote:
>> Hi all
>>
>> I have some igraph R code that used to work one year ago. Since then I've
>> upgraded to Lion, uninstalled igraph 0.6, and now I'm trying to reinstall it.
>>
>> I run
>> R CMD INSTALL /Users/marcel/Desktop/igraph_nightly_0.6-1825-20100330.tar.gz
>>
>> (because that was my last version of 0.6 that I used)
>>
>> At first, I get the complaint that no C compiler can be found. This is
>> apparently quite common since the compilers got moved around during the Lion
>> upgrade process. A workaround is to put
>>
>> export PATH=${PATH}:/Developer/usr/bin
>>
>> in the ~./bash_profile file.
>>
>> Now it DOES find the compiler but gives me the following error message:
>>
>> * installing to library
>> ‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library’
>> * installing *source* package ‘igraph’ ...
>> 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.
>> ERROR: configuration failed for package ‘igraph’
>> * removing
>> ‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library/igraph’
>> * restoring previous
>> ‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library/igraph’
>>
>> I don't understand why it can't create executables. There is also no
>> config.log file that I could consult for more details.
>>
>> Anyone any idea of what's going on?
>>
>> Thanks!
>> Marcel
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> --
> Gabor Csardi <address@hidden> MTA KFKI RMKI
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help