LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 862|回复: 6

接下来就要装xfree了,请兄弟们给点建议

[复制链接]
发表于 2002-12-21 22:10:43 | 显示全部楼层 |阅读模式
那host.def怎么该呢不改行吗
还有哪篇帖子说要在这个文件里加中文字体的,这是怎么一回事
 楼主| 发表于 2002-12-21 22:12:28 | 显示全部楼层

是tram兄对flaboy兄说的

看起来是makefile不对啊,可是如果不用这个驱动,为什么还会生成这个makefile呢?
我的建议:
你先不要改host.def,就用缺省的设置,除了中文字体给加上,其他的先不要删,看看能不能编译。
发表于 2002-12-21 22:50:05 | 显示全部楼层
这是我的hosts.def
我帮你分析一下他的结构

-------------------------------------------------------------------
# Begin XFree86 hosts.def file

/* System Related Information. If you read and configure only one
* section then it should be this one. The Intel architecture defaults are
* set for a i686 and higher. Axp is for the Alpha architecture and Ppc is
* for the Power PC. Note that there have been reports that the Ppc
* optimization line causes segmentation faults during build. If that
* happens, try building without the DefaultGcc2PpcOpt line. **************/
//这里是加入优化的地方 都是为我的雷鸟800疯狂优化
#define DefaultGcc2i386Opt -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args
#define DefaultGcc2AxpOpt -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args
#define DefaultGcc2PpcOpt -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args

/* The following definitions are normally set properly by XFree86's scripts.
* You can uncomment them if you want to make sure. ************************/
//这里是针对CPU 决定是否开启一些特殊支持 我知道你是毒龙 照我的写没问题的
#define HasMTRRSupport YES */ /* Enabled in kernel see kernel docs */
#define HasMMXSupport YES */ /* Any i586 or above */
/* #define HasKatmaiSupport NO */ /* PIII SSE instuctions */
#define Has3DNowSupport YES */ /* AMD instructions */


/* This setting reduces compile time a little by omitting rarely used input
* devices. You can find the complete list in config/cf/xfree86.cf ********/
//输入设备 加入了鼠标的驱动 VOID不清楚
#define XInputDrivers mouse void

/* VIDEO DRIVERS ***********************************************************/

/* If you are sure you only want the drivers for one or a few video cards,
* you can delete the drivers you do not want. *****************************/
//这个要编译的驱动 我的是nvidia 把其他的都删掉了 编译的时候也许是这里出了问题 你还是把那些都留着吧 确定不要的在删掉
#define XF86CardDrivers nv vmware

/* FONT SERVER AND LIBRARY SETTINGS ****************************************/

/* These setting should be set by default, but we are making sure. *********/

#define BuildFontServer YES /* Need for GhostScript Print Server */
#define SharedLibFont YES
#define CompressAllFonts YES
#define GzipFontCompression YES

/* These setting ensure we use the proper version of freetype **************/
#define HasFreetype2 YES
#define BuildFreetype2Library NO
#define Freetype2Dir /usr

/* The font path can be redefined in the XF86Config file *******************/
//定义字体目录 默认即可 不用动
#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/75dpi/,\
$(FONTDIR)/100dpi/,$(FONTDIR)/Type1,$(FONTDIR)/local,\
$(FONTDIR)/TrueType,$(FONTDIR)/CID,$(FONTDIR)/Speedo

/* INTERNATIONAL FONTS. Change to YES if you need any of them. These are
* the defaults. ***********************************************************/

#define BuildCyrillicFonts NO
#define BuildArabicFonts NO
#define BuildISO8859_6Fonts NO
#define BuildGreekFonts NO
#define BuildISO8859_7Fonts NO
#define BuildHebrewFonts NO
#define BuildISO8859_8Fonts NO
#define BuildKOI8_RFonts NO
#define BuildJapaneseFonts NO
#define BuildJISX0201Fonts NO
#define BuildKoreanFonts NO
#define BuildChineseFonts YES
//最下面这个 buildchinesefonts 自然是yes 这里就是中文字体拉
/* DOCUMENTATION SETTINGS **************************************************/

/* These setting are the defaults. *****************************************/
//文档什么的 如果你喜欢收藏文档 那么可以YES
#define BuildLinuxDocHtml NO /* X Docs in Html format */
#define BuildLinuxDocPS NO /* X Docs in PostScript format */
#define BuildAllSpecsDocs NO /* Various docs */
#define BuildHtmlManPages NO

/* Linux Distribution Information - Not essential that it is totally right.*/
//何种linux?自然LFS 这里不要乱改 会出问题地
#define LinuxDistribution LFS

/* GENERAL SETTINGS: You generally want to leave these alone when
* building X on an LFS system *********************************************/
//一些编译选项 LFS默认即可
#define GccWarningOptions -pipe
#define TermcapLibrary -lncurses
#define XprtServer YES /* Needed by realplayer */
#define XnestServer YES
#define XAppLoadDir EtcX11Directory/app-defaults
#define VarLibDir /var/lib
#define XFree86Devel NO
#define FSUseSyslog YES
#define ThreadedX YES
#define HasZlib YES
#define HasNCurses YES
#define HasPam NO
#define SystemManDirectory /usr/share/man
#define HasLibCrypt YES
#define InstallXinitConfig YES
#define InstallXdmConfig YES
#define ForceNormalLib YES
#define BuildSpecsDocs NO

# End XFree86 host.def file

--------------------------------------------------------------
发表于 2002-12-21 22:52:33 | 显示全部楼层
因为我用的包和LFS给的版本都不一样
所以我出问题的地方你不一定有问题
给你加加信心
 楼主| 发表于 2002-12-21 23:00:33 | 显示全部楼层

我已经开始啦:北京时间22:41分

我的CPU没有加优化参数,显卡驱动我也没删(好像太保守了一点,不过第一次,保险一点嘛),现在一切顺利。对了,flaboy兄编译X用了多长时间呢?
发表于 2002-12-21 23:04:15 | 显示全部楼层
不到两个小时
找本漫画书看看 一会就过去了
要不闭会眼睛 早晨起来也就搞好了
发表于 2002-12-22 00:56:30 | 显示全部楼层
如果bison是1.7X的,要打patch
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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