QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1262|回复: 5

blfs6.0编译xorg6.8.2问题?

[复制链接]
发表于 2005-8-16 20:24:57 | 显示全部楼层 |阅读模式
已安装lfs6.1,再按blfs6.0文档编译xorg6.8.2。在没运行Xorg -configure之前的步骤没有发现错误提示,到运行Xorg -configure出错。提示如下:
root@Fine-Lok:~# xorg -configure
bash: xorg: command not found
root@Fine-Lok:~# ls /usr/X11R6/bin
X ico rstartd xfd xphelloworld
Xdmx imake scanpci xfindproxy xplsprinters
Xmark inb sessreg xfontsel xprehashprinterlist
Xnest inl setxkbmap xfs xprop
Xorg inw showfont xfsinfo xpsimplehelloworld
Xprt ioport showrgb xft-config xpxthelloworld
Xvfb lbxproxy smproxy xfwp xrandr
appres listres startx xgamma xrdb
atobm lndir sxpm xgc xrefresh
bdftopcf luit texteroids xhost xrx
bdftruncate makedepend twm xinit xset
beforelight makeg ucs2any xkbbell xsetmode
bin makepsres uxterm xkbcomp xsetpointer
bitmap makestrs viewres xkbevd xsetroot
bmtoa mergelib x11perf xkbprint xsm
ccmakedep mkcfm x11perfcomp xkbvleds xstdcmap
cleanlinks mkdirhier xauth xkbwatch xterm
cxpm mkfontdir xbiff xkill xtrapchar
dga mkfontscale xcalc xload xtrapin
dpsexec mkhtmlindex xclipboard xlogo xtrapinfo
dpsinfo mmapr xclock xlsatoms xtrapout
editres mmapw xcmsdb xlsclients xtrapproto
fc-cache oclock xconsole xlsfonts xtrapreset
fc-list outb xcursor-config xmag xtrapstats
fslsfonts outl xcursorgen xman xvidtune
fstobdf outw xcutsel xmessage xvinfo
gccmakedep pcitweak xditview xmh xwd
getconfig proxymngr xdm xmkmf xwininfo
getconfig.pl pswrap xdpyinfo xmodmap xwud
glxgears resize xdriinfo xmore
glxinfo revpath xedit xon
gtf rman xev xorgcfg
iceauth rstart xeyes xorgconfig
root@Fine-Lok:~#
安装xorg6.8.2之前已安装libpng-1.2.8 FreeType-2.1.9 expat-1.95.8 Fontconfig-2.2.3包
请问我应该如果解决,谢谢。
发表于 2005-8-16 22:03:28 | 显示全部楼层
/usr/X11R6/bin

看看你的$PATH, 把上面的路径加进去
回复

使用道具 举报

 楼主| 发表于 2005-8-17 13:01:24 | 显示全部楼层
hi linky_fan
谢谢你的回答。我还是不明,还请继续帮忙
root@Fine-Lok:~# cat /etc/profile
# Begin /etc/profile
# Written for Beyond Linux From Scratch
# by James Robertson <[email protected]>
# modifications by Dagmar d'Surreal <[email protected]>

# System wide environment variables and startup programs.

# System wide aliases and functions should go in /etc/bashrc.  Personal
# environment variables and startup programs should go into
# ~/.bash_profile.  Personal aliases and functions should go into
# ~/.bashrc.

# Functions to help us manage paths.  Second argument is the name of the
# path variable to be modified (default: PATH)
pathremove () {
        local IFS=':'
        local NEWPATH
        local DIR
        local PATHVARIABLE=${2:-PATH}
        for DIR in ${!PATHVARIABLE} ; do
                if [ "$DIR" != "$1" ] ; then
                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
                fi
        done
        export $PATHVARIABLE="$NEWPATH"
}

pathprepend () {
        pathremove $1 $2
        local PATHVARIABLE=${2:-PATH}
        export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
}

pathappend () {
        pathremove $1 $2
        local PATHVARIABLE=${2:-PATH}
        export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
}


# Set the initial path
export PATH=/bin:/usr/bin

if [ $EUID -eq 0 ] ; then
        pathappend /sbin:/usr/sbin
        unset HISTFILE
fi

# Setup some environment variables.
export HISTSIZE=1000
export HISTIGNORE="&:[bf]g:exit"
#export PS1="[\u@\h \w]\\$ "
export PS1='\u@\h:\w\$ '

for script in /etc/profile.d/*.sh ; do
        if [ -r $script ] ; then
                . $script
        fi
done

# Now to clean up
unset pathremove pathprepend pathappend

# End /etc/profile
export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin
root@Fine-Lok:~# xorg -configure
bash: xorg: command not found
root@Fine-Lok:~# echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
回复

使用道具 举报

发表于 2005-8-17 18:19:12 | 显示全部楼层
export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin

加进去后用
root@Fine-Lok:~# xorg -configure
bash: xorg: command not found
root@Fine-Lok:~# ls /usr/X11R6/bin
X ico rstartd xfd xphelloworld
Xdmx imake scanpci xfindproxy xplsprinters
Xmark inb sessreg xfontsel xprehashprinterlist
Xnest inl setxkbmap xfs xprop
Xorg inw showfont xfsinfo xpsimplehelloworld
Xprt ioport showrgb xft-config xpxthelloworld
Xvfb lbxproxy smproxy xfwp xrandr
appres listres startx xgamma xrdb
atobm lndir sxpm xgc xrefresh
bdftopcf luit texteroids xhost xrx
bdftruncate makedepend twm xinit xset
beforelight makeg ucs2any xkbbell xsetmode
bin makepsres uxterm xkbcomp xsetpointer
bitmap makestrs viewres xkbevd xsetroot
bmtoa mergelib x11perf xkbprint xsm
ccmakedep mkcfm x11perfcomp xkbvleds xstdcmap
cleanlinks mkdirhier xauth xkbwatch xterm
cxpm mkfontdir xbiff xkill xtrapchar
dga mkfontscale xcalc xload xtrapin
dpsexec mkhtmlindex xclipboard xlogo xtrapinfo
dpsinfo mmapr xclock xlsatoms xtrapout
editres mmapw xcmsdb xlsclients xtrapproto
fc-cache oclock xconsole xlsfonts xtrapreset
fc-list outb xcursor-config xmag xtrapstats
fslsfonts outl xcursorgen xman xvidtune
fstobdf outw xcutsel xmessage xvinfo
gccmakedep pcitweak xditview xmh xwd
getconfig proxymngr xdm xmkmf xwininfo
getconfig.pl pswrap xdpyinfo xmodmap xwud
glxgears resize xdriinfo xmore
glxinfo revpath xedit xon
gtf rman xev xorgcfg
iceauth rstart xeyes xorgconfig

用红色的命令调整xorg
回复

使用道具 举报

 楼主| 发表于 2005-8-17 19:47:06 | 显示全部楼层
hi linky_fan
首先多谢linky_fan版主的指导,我按版主方法是可行的。问题也解决,谢谢你。
我在上面运行root@Fine-Lok:~# xorg -configure是错误的
经别人提点应该是root@Fine-Lok:~# Xorg -configure是x的大小写问题
以后有问题还请linky_fan版主多多指导,再次多谢你。
回复

使用道具 举报

发表于 2005-8-17 22:03:41 | 显示全部楼层
不用谢不用谢滴 , 大家都是来学习的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-19 20:51 , Processed in 0.056320 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表