|
|
兴高采烈地打算在fc8上试试mathematica6的新特性,结果问题不断,先是提示没有libstdc++.so.5,这个问题倒好办,找到compat-libstdc++-8-3.3.4.2.x86_64.rpm装上就行了,接下来安装还算顺利,满以为大功告成,/usr/local/Mathematica/Executables/mathematica,结果出现错误:
startup error unable to find font with family weight Plain,slant Plain,and size 12. Substituting Courier
到mathematica官方网站一查,人家也料到会有这问题,建议修改xcorg.conf文件,以下是wolfram提供的解决方案
“ You can also modify the configuration file of the X server. The standard file may be /etc/X11/XF86Config, or /etc/X11/xorg.conf, depending on your X server. In this file, search for the section "Files" and go to the following lines.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
Add one line for each of the newly created fonts directory:
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/lib/X11/fonts/Mathematica/Type1"
FontPath "/usr/lib/X11/fonts/Mathematica/BDF"
FontPath "unix/:7100"
Please restart the X server. ”
到 fc8的/etc//X11/xorg.comff一看,傻眼了,完全不是那么回事,fc8的xorg.conf如下:
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "intel"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
完全没有人家说的section file和 FontPath的配置,自己尝试在后面加section file,结果开机进不去X,还好有备份xorg.conf,现在才能在这发帖呢
哪位高人知道怎么解决这问题?fc8的配置文件跟好多地方的写法都不一样,fstab也没有些自动加载,让我们这些新鸟改起来很不方便啊,希望老鸟们多多支持! |
|