From: Pokkai Dokkai Date: 2007-11-13T17:29:41+09:00 Subject: Re: how to install ruby in home folder ?. M. Edward (Ed) Borasky wrote: > There will be a file named "config.log" in the source directory. It will > tell you what went wrong. If it isn't obvious to you, post it here and > we'll have a look at it. What flavor of Linux are you running, and if > it's one of those "user friendly" ones like Fedora, have you installed > all the "development tools?" thanks for your reply. i am using linux ubuntu 7.04. how to install all "development tools"? (without root permission) actually i am a student and working in a Linux Server ,i don't have "root" access this is my "config.log" file contents in "/home/username/packages/ruby-1.8.6" ================================================================================ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --prefix=/home/thani/ruby ## --------- ## ## Platform. ## ## --------- ## hostname = sumi-desktop uname -m = i686 uname -r = 2.6.20-15-generic uname -s = Linux uname -v = #2 SMP Sun Apr 15 07:36:31 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/thani/packages/jruby/bin PATH: /home/thani/packages/jdk1.6.0/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1892: checking build system type configure:1910: result: i686-pc-linux-gnulibc1 configure:1932: checking host system type configure:1947: result: i686-pc-linux-gnulibc1 configure:1969: checking target system type configure:1984: result: i686-pc-linux-gnulibc1 configure:2245: checking for gcc configure:2261: found /usr/bin/gcc configure:2272: result: gcc configure:2510: checking for C compiler version configure:2517: 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:2520: $? = 0 configure:2527: 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:2530: $? = 0 configure:2537: gcc -V >&5 gcc: '-V' option must have argument configure:2540: $? = 1 configure:2563: checking for C compiler default output file name configure:2590: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2593: $? = 1 configure:2631: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_BUILTIN_FRAME_ADDRESS 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2638: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnulibc1 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_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_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=i686-pc-linux-gnulibc1 ac_cv_prog_ac_ct_CC=gcc ac_cv_target=i686-pc-linux-gnulibc1 ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' AR='' ARCHFILE='' ARCH_FLAG='' AS='' ASFLAGS='' CC='gcc' CCDLFLAGS='' CFLAGS='' COMMON_HEADERS='' COMMON_LIBS='' COMMON_MACROS='' CP='' CPP='' CPPFLAGS='' CPPOUTFILE='' DEFS='' DLDFLAGS='' DLDLIBS='' DLEXT2='' DLEXT='' DLLWRAP='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_SHARED='' EXEEXT='' EXPORT_PREFIX='' EXTOUT='' EXTSTATIC='' GNU_LD='' GREP='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='' LDSHARED='' LIBEXT='' LIBOBJS='' LIBPATHENV='' LIBPATHFLAG='' LIBRUBY='' LIBRUBYARG='' LIBRUBYARG_SHARED='' LIBRUBYARG_STATIC='' LIBRUBY_A='' LIBRUBY_ALIASES='' LIBRUBY_DLDFLAGS='' LIBRUBY_LDSHARED='' LIBRUBY_SO='' LIBS='' LINK_SO='' LN_S='' LTLIBOBJS='' MAINLIBS='' MAJOR='1' MAKEDIRS='' MAKEFILES='' MANTYPE='' MINIOBJS='' MINIRUBY='' MINOR='8' NM='' NROFF='' OBJDUMP='' OBJEXT='' OUTFLAG='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PREP='' RANLIB='' RDOCTARGET='' RM='' RPATHFLAG='' RUBYW_INSTALL_NAME='' RUBY_INSTALL_NAME='' RUBY_SO_NAME='' RUNRUBY='' SET_MAKE='' SHELL='/bin/bash' SOLIBS='' STATIC='' STRIP='' TEENY='6' TRY_LINK='' WINDRES='' XCFLAGS='' XLDFLAGS='' YACC='' YFLAGS='' ac_ct_CC='gcc' arch='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnulibc1' build_alias='' build_cpu='i686' build_os='linux-gnulibc1' build_vendor='pc' configure_args='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='i686-pc-linux-gnulibc1' host_alias='' host_cpu='i686' host_os='linux-gnulibc1' host_vendor='pc' 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='/home/thani/ruby' program_transform_name='s&^&&' psdir='${docdir}' rubyw_install_name='' sbindir='${exec_prefix}/sbin' setup='' sharedstatedir='${prefix}/com' sitearch='' sitedir='' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnulibc1' target_alias='' target_cpu='i686' target_os='linux-libc1' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define USE_BUILTIN_FRAME_ADDRESS 1 configure: exit 77 ================================================================================ -- Posted via http://www.ruby-forum.com/.