1是要改 ~ 沒錯
這是我/etc/skel/.bashrc檔案內容,能否告知改何處.
# /etc/skel/.bashrc:
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.10 2004/09/29 04:13:33 agriffis Exp $
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output.
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
# Shell is non-interactive. Be done now
return
fi
# Shell is interactive. It is okay to produce output at this point,
# though this example doesn't produce any. Do setup for
# command-line interactivity.
# colors for ls, etc. Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
eval `dircolors -b ~/.dir_colors`
else
eval `dircolors -b /etc/DIR_COLORS`
fi
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
# uncomment the following to activate bash-completion:
#[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
第2部份又出現新的訊息
linux-2.6.9 # emerge mod_php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/mod_php-5.0.2 to /
>>> md5 src_uri php-5.0.2.tar.bz2
>>> Unpacking source...
* Apache2 only detected
>>> Unpacking php-5.0.2.tar.bz2 to /var/tmp/portage/mod_php-5.0.2/work
* Applying php5_soap_persistence_session.diff ... [ ok ]
* Applying uClibc/libtool patches ...
* Fixing ${S}/configure ... [ ok ]
>>> Source unpacked.
* Apache2 MPM: prefork
* USE flag 'berkdb' needs these additional flag(s) set:
* dba
*
* You can do this by enabling these flags in /etc/portage/package.use:
* =dev-php/mod_php-5.0.2 dba
*
* You could disable this flag instead in /etc/portage/package.use:
* =dev-php/mod_php-5.0.2 -berkdb
!!! ERROR: dev-php/mod_php-5.0.2 failed.
!!! Function confutils_use_depend_all, Line 117, Exitcode 0
!!! Need missing USE flags
!!! If you need support, post the topmost build error, NOT this status message.
謝謝.