戻る

前へ| 次へ

mp3blaster ディスク作成

新しく場所を設定しましょう

# mkdir ../usr-staging
# cd ../usr-staging/
# pwd
/home/qpo/proj/usr-staging
# mkdir bin lib
# ls
bin/  lib/
# mkdir -p share/terminfo/l

mp3blaster を インストール

入手先 感謝感謝です。

http://www.icewalkers.com/Linux/Software/51030/mp3blaster.html
http://www.icewalkers.com/download/mp3blaster/103/dls/
mp3blaster-3.2.0.tar.gz

ほたら

# pwd
/home/qpo/proj/1008_Hosting_Applications
# mkdir 3-2-0-mp3blaster
# cd 3-2-0-mp3blaster
# cp /dokoka/hozonnsaki/mp3blaster-3.2.0.tar.gz .
# tar zxvf mp3blaster-3.2.0.tar.gz 
# cd mp3blaster-3.2.0/
# ./configure 2>&1 | tee log-configure
...
...
*****************************************************************************
* Questions? Read ./FAQ or http://www.stack.nl/~brama/mp3blaster/?page=faq  *
* Mail bugs/development issues to mp3blaster-devel@stack.nl.                *
*****************************************************************************

make します

# make 2>&1 | tee log-make
# cp src/mp3blaster ../../../usr-staging/bin/

shared library

# cd ../../../usr-staging/
# ldd bin/mp3blaster
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x4001e000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40025000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x4004d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4008c000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400dd000)
        libm.so.6 => /lib/libm.so.6 (0x40191000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x401b3000)
        libc.so.6 => /lib/libc.so.6 (0x401bb000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x402d4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

大丈夫なのか?

# cp /usr/lib/libvorbisfile.so.3 lib/
# cp /usr/lib/libvorbis.so.0 lib/
# cp  /lib/libncurses.so.5 lib/
# cp /usr/lib/libstdc++.so.5 lib/
# cp /lib/libm.so.6 lib/
# cp /usr/lib/libgcc_s.so.1 lib/
# cp  /usr/lib/libogg.so.0 lib/

strip しよう

# strip bin/mp3blaster 
# strip --strip-unneeded lib/*

terminfo

# cd share/terminfo/l/
# pwd
/home/qpo/proj/usr-staging/share/terminfo/l
# ls -a
./  ../
# cp /usr/share/terminfo/l/linux .
# ls -l | sed 1d
-rw-r--r--    1 root     root         1576 Sep  9 22:28 linux

圧縮して作成

# cd ../../../../1008_Hosting_Applications/
# pwd
/home/qpo/proj/1008_Hosting_Applications
# dd if=/dev/zero of=/dev/ram7 bs=1k count=4096
4096+0 records in
4096+0 records out
# mke2fs -m0 -L mp3blaster /dev/ram7
mke2fs 1.34 (25-Jul-2003)
Filesystem label=mp3blaster
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1024 inodes, 4096 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mount /dev/ram7 /mnt
# cp -dpR ../usr-staging/* /mnt
# df | sed 2,3d
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram7                 3963      1591      2372  41% /mnt
# umount /dev/ram7  /*  Pocket Linux Guide では umount /dev/ram7 */
# dd if=/dev/ram7 of=mp3blaster-image bs=1k
4096+0 records in
4096+0 records out
# gzip -9 mp3blaster-image

フロッピーディスクに 書き込み

# dd if=mp3blaster-image.gz of=/dev/fd0 bs=1k
605+1 records in
605+1 records out

これで起動準備が出来た理由です。

にゃんたろう 拝!

2010年 9月 9日 (木) 21:43:57 JST 作成


前へ| 次へ

戻る

Copyright © 2006.-2010. nyantarou All Rights Reserved.