[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Install error in R (Ubuntu)
From: |
Giuseppe Pagnoni |
Subject: |
[igraph] Install error in R (Ubuntu) |
Date: |
Wed, 27 Jun 2007 15:41:40 -0400 |
Dear igraph developers,
I am trying to install igraph as a package in R 2.4.1 under Ubuntu
Feisty (7.04). The usual command:
install.packages("igraph",dep=T)
gives the following error messages:
Warning in install.packages("igraph", dep = T) :
argument 'lib' is missing: using /usr/local/lib/R/site-library
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://www.stathy.com/cran/src/contrib/igraph_0.4.2.tar.gz'
Content type 'application/x-tar' length 590278 bytes
opened URL
==================================================
downloaded 576Kb
* 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 '/usr/local/lib/R/site-library/igraph'
The downloaded packages are in
/tmp/RtmpJWpN9s/downloaded_packages
Warning message:
installation of package 'igraph' had non-zero exit status in:
install.packages("igraph", dep = T)
My version of gcc is gcc-4.1. I also tried to unpack the R package
igraph_0.4.2.tar.gz and configure it manually with:
./configure
and this is what I get:
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.
Now, 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 igraph configure 0.4.2, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = grosrat
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Thu Jun 7 20:19:32 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/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/giuseppe/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/afni
PATH: /usr/local/IHMC_CmapTools/bin
PATH: /home/giuseppe/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1729: checking for gcc
configure:1745: found /usr/bin/gcc
configure:1756: result: gcc
configure:1994: checking for C compiler version
configure:2001: gcc --version >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 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:2004: $? = 0
configure:2011: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c
++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:2014: $? = 0
configure:2021: gcc -V >&5
gcc: '-V' option must have argument
configure:2024: $? = 1
configure:2047: checking for C compiler default output file name
configure:2074: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "igraph"
| #define PACKAGE_TARNAME "igraph"
| #define PACKAGE_VERSION "0.4.2"
| #define PACKAGE_STRING "igraph 0.4.2"
| #define PACKAGE_BUGREPORT "address@hidden"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2116: 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_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=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_FMEMOPEN=''
HAVE_LIBXML=''
HAVE_OPEN_MEMSTREAM=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='address@hidden'
PACKAGE_NAME='igraph'
PACKAGE_STRING='igraph 0.4.2'
PACKAGE_TARNAME='igraph'
PACKAGE_VERSION='0.4.2'
PATH_SEPARATOR=':'
SHELL='/bin/bash'
XML2CONFIG=''
XML2_CFLAGS=''
XML2_LIBS=''
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='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.4.2"
#define PACKAGE_STRING "igraph 0.4.2"
#define PACKAGE_BUGREPORT "address@hidden"
configure: exit 77
------------------------------------
Any idea or suggestion on how to fix this?
thank you very much
giuseppe
P.S.
Could you please CC the replies to this address,
since I am not currently subscribed to the list.
--
---------------------------------
Giuseppe Pagnoni
Psychiatry and Behavioral Sciences
Emory University School of Medicine
101 Woodruff Circle, Suite 4000
Atlanta, GA, 30322
tel: 404-712-9582
fax: 404-727-3233
- [igraph] Install error in R (Ubuntu),
Giuseppe Pagnoni <=