Gentoo @ Blog - Linux Life

移動

Gentoo KDE4

2008/03/02 ( n ) < Gentoo KDE >

Gentoo KDE 4.0 Guide を参考に KDE 4.0.1 をインストールしてみた。

Example package.unmask
Example package.keywords の内容をそれぞれ追加。

app-text/libspectre
kde-base/kdeartwork-icewm-themes:kde-4
のエントリが足りなかったので追加。

# emerge -avD kde-base/kdebase-meta:kde-4
[ebuild     U ] x11-apps/xinit-1.0.5-r2 [1.0.5-r1] USE="hal pam -debug -minimal" 0 kB
[ebuild     U ] x11-libs/qt-4.3.3 [4.3.2-r1] USE="accessibility cups dbus doc examples gif jpeg mysql opengl png postgres qt3support sqlite ssl tiff zlib -debug -firebird -glib -mng -nas -nis -odbc -pch -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 41,350 kB
[ebuild  N    ] kde-base/qimageblitz-0.0.4  USE="mmx sse sse2 -3dnow (-altivec) -debug" 55 kB
[ebuild     U ] x11-libs/libxklavier-3.3 [3.1] USE="doc" 465 kB
[ebuild  N    ] dev-libs/soprano-2.0.0  USE="clucene doc -debug" 1,579 kB
[ebuild     U ] app-crypt/gpgme-1.1.6 [1.1.5] USE="-pth%" 939 kB
[ebuild  N    ] app-misc/strigi-0.5.7  USE="clucene dbus exiv2 java qt4 -debug -hyperestraier -inotify -test" 786 kB
[ebuild  NS   ] kde-base/kdelibs-4.0.1-r1  USE="acl alsa bzip2 doc fam kerberos mmx nls opengl semantic-desktop spell sse sse2 ssl -3dnow (-altivec) -bindist -debug -htmlhandbook -jpeg2k -openexr -test -zeroconf" 8,849 kB
[ebuild  N    ] kde-base/kdepimlibs-4.0.1  USE="ldap -debug -htmlhandbook -sasl -test" 1,731 kB
[ebuild  NS   ] kde-base/libkonq-4.0.1  USE="-debug -test" 3,948 kB
[ebuild  N    ] kde-base/libkworkspace-4.0.1  USE="-debug" 29,174 kB
[ebuild  NS   ] kde-base/kdebase-data-4.0.1  47,137 kB
[ebuild  NS   ] kde-base/kdesu-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/libtaskmanager-4.0.1  USE="xcomposite -debug" 0 kB
[ebuild  N    ] kde-base/solid-4.0.1  USE="-bluetooth -networkmanager -test" 0 kB
[ebuild  N    ] kde-base/systemsettings-4.0.1  USE="opengl ssl usb -debug -htmlhandbook -ieee1394 -xinerama" 0 kB
[ebuild  N    ] kde-base/ksplash-4.0.1  USE="mmx sse sse2 -3dnow (-altivec) -debug -xinerama" 0 kB
[ebuild  NS   ] kde-base/ktip-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/ksystraycmd-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kurifilter-plugins-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kscreensaver-4.0.1  USE="opengl pam -debug" 0 kB
[ebuild  N    ] kde-base/kpasswdserver-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/knewstuff-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kwrite-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/kquitapp-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kuiserver-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kde-menu-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kfile-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/khelpcenter-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/kappfinder-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/nepomuk-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kcmshell-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/ktraderclient-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kmenuedit-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/ktimezoned-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/knetattach-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/kdebugdialog-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/kdialog-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kde-wallpapers-4.0.1  0 kB
[ebuild  NS   ] kde-base/kreadconfig-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kde-menu-icons-4.0.1  0 kB
[ebuild  NS   ] kde-base/kdeartwork-iconthemes-4.0.1  41,293 kB
[ebuild  N    ] kde-base/kstyles-4.0.1  0 kB
[ebuild  N    ] kde-base/kstartupconfig-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/phonon-4.0.1  USE="-debug -xcb" 0 kB
[ebuild  NS   ] kde-base/kwin-4.0.1  USE="opengl xcomposite -captury -xinerama" 0 kB
[ebuild  NS   ] kde-base/drkonqi-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/konsole-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/kcheckpass-4.0.1  USE="pam" 0 kB
[ebuild  N    ] kde-base/kioclient-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/kmimetypefinder-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kstart-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/libplasma-4.0.1  USE="opengl -debug -test -xinerama" 0 kB
[ebuild  NS   ] kde-base/kcminit-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kdebase-kioslaves-4.0.1  USE="bzip2 samba -debug -htmlhandbook -openexr" 0 kB
[ebuild  N    ] kde-base/soliduiserver-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/khotkeys-4.0.1  USE="-debug" 0 kB
[ebuild  N    ] kde-base/dolphin-4.0.1  USE="semantic-desktop -debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/keditbookmarks-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kfind-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/knotify-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kdepasswd-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/klipper-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  N    ] kde-base/plasma-4.0.1  USE="xcomposite -debug -htmlhandbook -xinerama" 0 kB
[ebuild  NS   ] kde-base/ksmserver-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/kcontrol-4.0.1  USE="opengl ssl -debug -htmlhandbook -ieee1394 -logitech-mouse" 0 kB
[ebuild  NS   ] kde-base/konqueror-4.0.1  USE="-debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/kdm-4.0.1  USE="kerberos pam -debug -htmlhandbook" 0 kB
[ebuild  NS   ] kde-base/nsplugins-4.0.1  USE="-debug" 0 kB
[ebuild  NS   ] kde-base/ksysguard-4.0.1  USE="-debug -htmlhandbook -lm_sensors -test" 0 kB
[ebuild  N    ] kde-base/krunner-4.0.1-r1  USE="opengl xcomposite -debug -xscreensaver" 0 kB
[ebuild  NS   ] kde-base/kdebase-startkde-4.0.1  0 kB
[ebuild  NS   ] kde-base/kdebase-meta-4.0.1  0 kB

スクリーンショット

HDD 購入

2008/01/20 ( n ) < Gentoo >

サーバー機の /dev/hdc が S.M.A.R.T で 24 時間以内にお亡くなりになるかも?と言われて早や半年。
新サイトの公開に合わせてサーバーも切り替えるため、ハードディスクを買ってきた。
Western Digital の IDE の 250GB

    # mdadm /dev/md1 --remove /dev/hdc1
    # swapoff /dev/hdc2
    # mdadm /dev/md3 --remove /dev/hdc3
    # mdadm /dev/md4 --remove /dev/hdc4

でディスクをアレイから外し、サーバーをシャットダウンしてからディスクを交換して起動。

fdisk でパーティションを切り直して

    # mdadm /dev/md1 --add /dev/hdc1
    # swapon /dev/hdc2
    # mdadm /dev/md3 --add /dev/hdc3
    # mdadm /dev/md4 --add /dev/hdc4

/proc/mdstat を見てみるとリカバリーに 250 min ほどかかるらしいが、以上のみでハードディスクが交換できると思うと RAID 最高♪と思った。

ついでに RAID6 の /home のみ USB の HDD にバックアップを取っておく。その他のパーティションは RAID1 × 4 なので、大丈夫だろう。

今更ながら SWAP 領域も RAID1 化しておけばよかったと後悔。大事なデータが無くなる訳ではないけど、Kernel Panic になるのかな?

まぁ、(USB で CDブートができれば) 5分くらいでこれはできそうなので、気が向いたらやりましょう。

サーバーいじり

2008/01/06 ( n ) < Gentoo >

/home/ を 200GB弱 × 4 の RAID6 に。
書き込みが超遅い!

RT-200NE 3.07

2008/01/02 ( n ) < Gentoo Private >

ルーターのファームウェアを更新した。 Gentoo Linux から dhcp で接続できなくなったような。。。

Epson PM-A920 on Gentoo Linux

2007/12/29 ( n ) < Gentoo KreetingKard >

PM-A920 を Gentoo Linux で動かした。

avasys.jp から pipslite-1.0.0.tar.gz をダウンロード。

何か所かコンパイルが通らなかったので適当に修正。 pipslite-1.0.0-gentoo-2007.0.diff

    $ ./configure
    $ make
    $ sudo make install

プリンタの追加は CUPS のページで行った。

テストページの初回印刷に失敗。上25%くらいが印刷されたところで止まる。

  • コンパイルが通らない
  • gtk が必須
  • サイトが重い

そろそろ Epson のプリンター買うのやめよう。。。

GCC upgrade

2007/08/07 ( n ) < Gentoo >

# gcc-config -l
[1] i686-pc-linux-gnu-3.3.6
[2] i686-pc-linux-gnu-3.3.6-hardened
[3] i686-pc-linux-gnu-3.3.6-hardenednopie
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6-hardenednossp
[6] i686-pc-linux-gnu-3.4.6 *
[7] i686-pc-linux-gnu-3.4.6-hardened
[8] i686-pc-linux-gnu-3.4.6-hardenednopie
[9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
[10] i686-pc-linux-gnu-3.4.6-hardenednossp
[11] i686-pc-linux-gnu-4.1.2
# source /etc/profile
# fix_libtool_files.sh 3.4.6
# emerge --oneshot -av libtool
# emerge -eav system
# emerge -eav world

Gentoo GCC Upgrade Guide

reiserfs 故障

2007/06/22 ( n ) < Gentoo >

/var/log/ 以下のファイルのいくつか(emerge.log等) が ???? になってしまった。

openoffice を最新版に上げる際にメモリが足りなくなって動かなくなったので電源をブチ切ったのが原因かなぁ。

Gentoo Live CD で起動し、

    # reiserfsck /dev/hdan
    # reiserfsck /dev/hdan --rebuild-tree

で直った。

コンテンツ移行

2007/06/16 ( n ) < Gentoo Linux >

Gentoo以下のコンテンツを移行開始しました。
内容が古いが、消すにはもったいない。

Subversion のインストール

2007/06/04 ( n ) < Gentoo Linux バックアップ >

仕事で今までソースの管理をちゃんとしていなかったため、これを機に挑戦してみました。

mount: failed, reason given by server: Permission denied

2007/06/03 ( n ) < Gentoo Linux Error >

NFS のマウントに失敗した。

# mount -t nfs 192.168.0.2:/home /mnt/server/
mount: 192.168.0.2:/home failed, reason given by server: 許可がありません

サーバー側のエラーメッセージ

mounted: authenticated mount request from 192.168.0.13:849 for /home (/home)

サーバー側の portmap を再起動することで解決した。

移動

カテゴリ

スポンサードリンク

Copyright © 2025 Linux-Life.net