Difference between revisions of "Ruby"
From CBLFS
Jump to navigationJump to search (Need more generic commands.) |
|||
Line 22: | Line 22: | ||
succeed fully. A number of tests will fail if you | succeed fully. A number of tests will fail if you | ||
run the test suite prior to installing ruby. | run the test suite prior to installing ruby. | ||
− | |||
− | |||
Compile the package: | Compile the package: | ||
Line 50: | Line 48: | ||
make install && | make install && | ||
− | mv -v /usr/bin/ruby{,-32} | + | mv -v /usr/bin/ruby{,-32} |
− | |||
=== N32 === | === N32 === | ||
Line 66: | Line 63: | ||
make install && | make install && | ||
− | mv -v /usr/bin/ruby{,-n32} | + | mv -v /usr/bin/ruby{,-n32} |
− | |||
=== 64Bit === | === 64Bit === | ||
Line 83: | Line 79: | ||
make install && | make install && | ||
mv -v /usr/bin/ruby{,-64} && | mv -v /usr/bin/ruby{,-64} && | ||
− | ln -sfv multiarch_wrapper /usr/bin/ruby | + | ln -sfv multiarch_wrapper /usr/bin/ruby |
− | |||
− | |||
− |
Revision as of 17:09, 17 March 2009
Download Source: | ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2 |
---|
Contents
Introduction to Ruby
Project Homepage: Unknown
Dependencies
Optional
Non-Multilib
Test Suite Note: You will need to install ruby for make check to succeed fully. A number of tests will fail if you run the test suite prior to installing ruby.
Compile the package:
./configure --prefix=/usr \ --enable-shared --enable-pthread \ --enable-install-doc && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --enable-shared --enable-pthread \ --enable-install-doc --host=${CLFS_TARGET32} && make
Install the package
make install && mv -v /usr/bin/ruby{,-32}
N32
Compile the package:
sed -i "s:/lib/ruby:/lib32/ruby:g" configure && CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-shared \ --enable-pthread --enable-install-doc && make
Install the package
make install && mv -v /usr/bin/ruby{,-n32}
64Bit
Compile the package:
sed -i "s:/lib/ruby:/lib64/ruby:g" configure && CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-shared \ --enable-pthread --enable-install-doc && make
Install the package
make install && mv -v /usr/bin/ruby{,-64} && ln -sfv multiarch_wrapper /usr/bin/ruby