Randy McMurchy wrote:
> On 1/18/2013 9:06 AM, [email protected] wrote:
>> --- trunk/BOOK/general/prog/ruby.xml 2013-01-18 02:31:19 UTC (rev 10945)
>> +++ trunk/BOOK/general/prog/ruby.xml 2013-01-18 15:06:25 UTC (rev 10946)
>> @@ -6,7 +6,7 @@
>>
>> <!ENTITY ruby-download-http " ">
>> <!ENTITY ruby-download-ftp
>> "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-&ruby-version;.tar.bz2">
>> - <!ENTITY ruby-md5sum "13c26ea368d88a560f07cc8c5eb4fa05">
>> + <!ENTITY ruby-md5sum "944e73eba9ee9e1f2647ff32ec0b14b2">
>> <!ENTITY ruby-size "9.6 MB">
>> <!ENTITY ruby-buildsize "350 MB">
>> <!ENTITY ruby-time "4.0 SBU">
>
> I would sure like to know how you measure disk space used during the
> installation of a package. I installed Ruby yesterday, and there is
> over 350 MB of documentation installed. I think the actual MB used
> during the installation is more like 950. Of that 950, about 410 is
> copied to /usr. No big deal, but our numbers are grossly different.
For me, I get:
SBU=5.046
9800 /usr/src/ruby/ruby-1.9.3-p374.tar.bz2 size (9.570 MB)
1008408 kilobytes build size (984.773 MB)
I built and installed in /tmp/ruby:
bdubbs@blfs [ /tmp/ruby ]$ du -sh *
433M install
553M ruby-1.9.3-p374
$ du -sh install/usr/*
48K install/usr/bin
252K install/usr/include
53M install/usr/lib
380M install/usr/share
Most of the installed size is in install/usr/share/doc (321M)
The script I used is basically:
BUILDDIR=/tmp/ruby
DEST=$BUILDDIR/install
rm -f $LOG
rm -rf $BUILDDIR
mkdir $BUILDDIR
cd $BUILDDIR
tar -xf $DIR/$PROGRAM.tar.?z*
./configure --prefix=/usr \
--enable-shared &&
make &&
make test &&
make DESTDIR=$DEST install
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page