[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gentoojp-users 744] Re: phpでMySQ Lとの接続について
小町です。
At Tue, 28 Oct 2003 00:34:49 +0900 (JST),
Hiroki Ohtani wrote:
> ebuildを書き換えて--with-mysqlを追加するとビルドできるので、リンクな
> どは問題ないように思います。
/usr/portage/eclass/php.eclass で mysql の USE フラグを見ているところは
if use mysql; then
# check for mysql4.1 and mysql4.1 support in this php
if [ -n "`mysql_config | grep '4.1'`" ] && grep -q -- '--with-mysqli' configure; then
myconf="${myconf} --with-mysqli=/usr"
else
myconf="${myconf} --with-mysql=/usr"
myconf="${myconf} --with-mysql-sock=`mysql_config --socket`"
fi
else
myconf="${myconf} --without-mysql"
fi
というふうになっているのですが、この else のところに到達しているという
ことでしょうかね。emerge --debug で実行すると詳細なログが取れるので、
これで emerge してみて(もちろん PORTDIR_OVERLAY などは外して)、どうい
うふうに条件判定されているのか追ってみてください。
--
Mamoru KOMACHI <usata@xxxxxxxxxxxxxxxxxxxxxxx>
http://www.sodan.ecc.u-tokyo.ac.jp/~usata/