Gentoo

FEATURES='distcc'っていうのがとても捗る

RaspberryPIにGentooを入れて遊び始めたが,emergeが遅すぎてつらい.まあcross compile前提だよねーと思って環境を作ってみたものの,/以下まるっとrsyncとかなんか怖いしqpkgとか使い方しらんし覚えたくねーなって思っていたところ,Portageがdistccをサポ…

equery changes its output by isatty()

I've got confused when trying to see output of equery depgraph. It turns off verbose flag if its output piped to another process. When executing it without piping output, the output is formatted as tree-view and contains informations regar…

Skip emerging package which was provided manually

Use package.provided. For example, if you want install virt-install from portage without depending to app-emulation/libvirt: # /etc/portage/profile/package.provided app-emulation/libvirt

error: /usr/kerberos/include: No such file or directory

Gentooでlibvirtをコンパイルしようとしたら error: /usr/kerberos/include: No such file or directory と言われたので,なにかなーと思って見てみると,libsslとlibcryptoのpkg-configファイルが古いkerberosのパスを指していたので, sudo perl -i'' -npe…

Hook after emerge

emergeした後にhookの設定ができたら便利だなーと思っていたら実はできました. Ref: https://forums-lb.gentoo.org/viewtopic-t-772340-start-0.html /etc/portage/bashrcにpost_pkg_postinstというfunctionを定義することで,各パッケージのインストール後…

Build ebuild package manually

Which fails to emerge. Applying own patch. With reference: https://www.gentoo.org/doc/en/handbook/2004.2/handbook-x86.xml?part=3&chap=6 ebuild(1) always requires .ebuild file as first argument, and action as second argument. Here's an exam…

firefoxのAdobeReaderがC:\nppdf32Log\debuglog.txtというファイル名を作る問題

Portageから入れたfirefoxのAdobeReaderプラグインが,firefoxを起動した時のカレントディレクトリに"C:\\nppdf32Log\\debuglog.txt"というファイルを作る問題について. この現象だいぶ前からある気がするんですが,前に対処したのがFirefoxのアップデート…

LinuxでGrowl

LinuxでもGrowl通知あったら便利だなーと思ってたら作ってる人がいた.https://github.com/mattn/growl-for-linuxということで導入ログ. $ git clone git://github.com/mattn/growl-for-linux.git $ cd growl-for-linux $ ./autogen.sh $ ./configure --pre…

emerge --syncで!!! Exhausted address for rsync3.jp.gentoo.orgとか言われるときの対処

僕の場合では有用なエラー出力は一切なかったけど,一部ファイルがrsyncで取得できないことが問題っぽいのでhttp://forums.gentoo.org/viewtopic-t-898720-start-0.htmlこのあたりを参考に/etc/portage/make.confの変数SYNCを書き換えて別のミラーから取得す…

Gentooでtex環境

Gentooで(la)?tex環境を整備した時のメモ. USEフラグにlatex(pdfも?)を追加 app-text/texliveをemerge emerge texlive これでtexlive2011が入る.簡単過ぎた...

ALSA Audioがソフトウェアミキシングしてくれなくて1プロセスしか音を出せなかった

ALSA - Gentoo Wikiに従ってALSAを設定したら一度に1プロセスしか音が出せなかったので試行錯誤した話.状況としては Youtubeとか開く -> 音流れる VLCで音楽流す -> 流れない みたいな.Terminalにはこんなエラーメッセージ. ALSA lib pcm_dmix.c:862:(snd…