P
Pokkai Dokkai
I don't have root access
Is there any idea to install ruby in home folder(/home/username/) only ?
Is there any idea to install ruby in home folder(/home/username/) only ?
Yes, there is.I don't have root access
Is there any idea to install ruby in home folder(/home/username/)
only ?
Pokkai said:I don't have root access
Is there any idea to install ruby in home folder(/home/username/) only ?
M. Edward (Ed) Borasky said:$ autoconf
$ ./configure --prefix=/home/username/ruby
$ make
$ make install
Pokkai said:when i execute "./configure --prefix=/home/username/ruby"
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
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.
what to do ?
M. Edward (Ed) Borasky said: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?"
Pokkai said: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
M. Edward (Ed) Borasky said:The compiler and loader "gcc" and "ld" appear to be installed and
operating, but "crt1.o" is missing. This is a run time library. It
*should* be on the system. You will need to have the system
administrators help you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.