僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
ぐぐってなんだかんだ。
iostream.h の件は、次のように書き換えて解決できるようだ。
#include <iostream> using namespace std;
そこは通過した(Nothing to be done for `all')ようだ。
しかし、次にこんなの。
source='DirEntry.c++' object='DirEntry.o' libtool=no \ depfile='.deps/DirEntry.Po' \ tmpdepfile='.deps/DirEntry.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include \ -DFAM_CONF=\"/usr/pkg/etc/fam.conf\" \ -O2 -c -o DirEntry.o `test -f 'DirEntry.c++' \ || echo './'`DirEntry.c++ In file included from DirEntry.h:26, from DirEntry.c++:23: Interest.h:84: error: 'NULL' was not declared in this scope make[2]: *** [DirEntry.o] Error 1 make[2]: Leaving directory `/usr/pkgsrc/sysutils/fam/work/fam-2.7.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/pkgsrc/sysutils/fam/work/fam-2.7.0' make: *** [all] Error 2 *** Error code 2
さて、解はどこに。
また適当に
ぐぐった結果、work/fam-2.7.0/src/Interest.h と、
work/fam-2.7.0/include/BTree.h に "#include<stdlib.h>"
を追記して、最後まで進むのを確認。
これでいいかどうかなんて、わからん。
という教訓が、また身に染みた。
こないだ上げたFirefox3で特定の(いまのところ一箇所だけ)Webサイトに
アクセスすると、Netへの接続がすべて(少なくともIPが)遮断される。
ネットワーク接続のアイコンには変化なし。
ping をLAN内のホストに打ちながら某所に接続すると、読み込む間の、とある
瞬間から到達しなくなる。
ログオフしても駄目。制限ユーザでも同様。リブートしないと直らない。
IE6で発生せず、他のWinXPマシンのFirefox3.0.4でも再現していない(ので、
URLは晒さないことにする)
Firefox3.0.4を(ユーザ情報を残して)アンインストールし、
再起動をかけた上でもう一度インストールすると
再発しなくなったようだ。
...と思ったが、早合点に過ぎず。
構築が終る前にリビジョンが上がってしまうかもしれない。
マイナーバージョンのあがったパッケージが多い。
binutils-2.19は./configure --hogehoge の後、make &&
make install でおしまい。SBUは2分38秒だった(Debian Etch +
Express5800/110Gd) あと、Chapter5.4(binutils Pass 1) には
こんなのも。
case $(uname -m) in x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;; esac
GCCの一回目のビルドの後、ユーザlfsの.bashrc や .bash_profile が
前と違っていることに気づく。
...やり直したほうがいいようだ。
やり直してすったもんだ。
18時頃にchrootできた。Chapter6 ではいくつか make check
しながら続ける。 GCC-4.3.2(Chapter6.15)の
make checkは、今日中には終わりそうにない。
零時1分にmake chekcはエラーで終了した。
# iptables -nL | head -n7 Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT 0 -- $host_1 0.0.0.0/0 ACCEPT 0 -- $host_2 0.0.0.0/0 DROP 0 -- !$host_1 0.0.0.0/0 DROP 0 -- !$host_2 0.0.0.0/0
ツッコミを受けて、mk.conf に追記。w3mとw3m-imgは共存できないので、 片方を事前に pkg_delete するようだった。
/usr/pkgsrc/www/w3m-img:$ bmake show-options Any of the following general options may be selected: inet6 Enable support for IPv6. w3m-lynx-key Enable lynx-like key bindings. w3m-m17n Multilingual support. w3m-unicode Use Unicode characters. At most one of the following imagelib options may be selected: w3m-image-gdk-pixbuf Use gdk-pixbuf as imaging library for W3m. w3m-image-imlib Use imlib as imaging library for W3m. w3m-image-imlib2 Use imlib2 as imaging library for W3m. These options are enabled by default: w3m-image-gdk-pixbuf w3m-m17n These options are currently enabled: w3m-image-gdk-pixbuf w3m-m17n w3m-unicode You can select which build options to use by setting PKG_DEFAULT_OPTIONS or PKG_OPTIONS.w3m.
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。