ºìÁªLinuxÃÅ»§
Linux°ïÖú

Beryl°²×°Ê¹ÓÃÊÖ¼Ç

·¢²¼Ê±¼ä:2007-11-15 11:26:36À´Ô´:ºìÁª×÷Õß:together
BerylÊÇʲô£¿ÎÒÏëÓùýLinuxµÄÈËÓ¦¸Ã¶¼ÖªµÀ£¬ÎÒÏëÓùýVistaµÄÈËÒ²Ó¦¸ÃÖªµÀ¡£ÒòΪÓÐÌ«¶àµÄÈËÄÃLinuxµÄ½çÃæºÍVistaÏà±È¡£¾ßÌå½á¹ûÔõôÑù£¬ÎÒ²»Çå³þ£¬ÎÒûÓùýVistaËùÒÔ²»¼ÓÒÔÆÀÂÛ¡£²»¹ý£¬µ±Äã´ÓLinuxÖлØÀ´ÔÙµ½XPÀÄã»á·¢ÏÖ£¬Ô­À´XPµÄ½çÃæÊdzöÆæµÄƽµ­¡£

ÏÂÃæÎÒÀ´ËµËµLinuxϵÄ3D×ÀÃæBerylµÄ°²×°£º

1.°²×°ÏÔ¿¨Çý¶¯£¬Ö§³Ö3DÓ²¼þ¼ÓËÙ¡£±¾ÈËÏÔ¿¨Îªnforce 6100¼¯³É¡£µ½nvidia¹ÙÍøÏÂÔØ×îеÄÇý¶¯³ÌÐò£ºNVIDIA-Linux-x86-100.14.19-pkg0.run¡£
°²×°ÏÔ¿¨Çý¶¯ÒªÔÚ×Ö·ûÖÕ¶ËģʽÏ£¬´ò¿ªÖÕ¶ËÊäÈ룺init 3½áÊø´°¿Ú³ÌÐò¡£
ÊäÈ룺./NVIDIA-Linux-x86-100.14.19-pkg0.run¿ªÊ¼°²×°ÏÔ¿¨Çý¶¯£¬Ò»Â·Ä¬Èϼ´¿É¡£

2.¸ü¸Ä/etc/X11/xorg.confÅäÖÃÎļþ¡£
Ïȱ¸·ÝÔ­À´µÄÅäÖÃÎļþcp xorg.conf xorg.conf.bak, È»ºóÔÚxorg.confÖÐModule¶Î¼ÓÈë
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
ÔÚDevice¶ÎÖмÓÈë
Option "DisableGLXRootClipping" "True"
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
ÔÚÅäÖÃÎļþµÄ×îºó¼ÓÈë
Section "Extensions"
Option "Composite" "Enable"
EndSection
ÖØÆðϵͳ¡£

3.BerylµÄ°²×°¡£
Ê×ÏÈÏÂÔØÒÔÏÂѹËõ°ü£º

aquamarine-0.2.1.tar.bz2
beryl-core-0.2.1.tar.bz2
beryl-manager-0.2.1.tar.bz2
beryl-plugins-0.2.1.tar.bz2
beryl-plugins-unsupported-0.2.1.tar.bz2
beryl-settings-0.2.1.tar.bz2
beryl-settings-bindings-0.2.1.tar.bz2
beryl-settings-simple-0.2.1.tar.bz2
emerald-0.2.1.tar.bz2
emerald-themes-0.2.1.tar.bz2

ÏÂÔØµ½±¾µØ£¬»ù±¾ÉÏÒÔÏÂÃæµÄ˳Ðò½øÐа²×°£º

beryl-core-0.2.1£¬beryl-plugins-0.2.1£¬ beryl-plugins-unsupported-0.2.1£¬beryl-settings-bindings-0.2.1£¬beryl- settings-0.2.1£¬beryl-settings-simple-0.2.1£¬emerald-0.2.1£¬emerald-themes- 0.2.1£¬aquamarine-0.2.1£¬beryl-manager-0.2.1¡£


4.°²×°beryl-core-0.2.1
tar jxvf beryl-core-0.2.1.tar.bz2
cd beryl-core-0.2.1
./configure

Õâʱ³öÏÖÁËÒÔϵĴíÎó£º

checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

½â¾ö°ì·¨£º

ÏÂÔØ²¢°²×°XML£­Parser-2.34
°²×°XML£­Parser-2.34£º
tar zxvf XML-Parser-2.34.tar.gz
cd XML-Parser-2.34
perl Makefile.PL
make
make install
°²×°ÍêXML£­Parser-2.34ºó£¬ÔٴνøÈëberyl-core-0.2.1Îļþ¼Ð
cd beryl-core-0.2.1
./configure && make && make install
˳ÀûÍê³É°²×°¡£


5.°²×°beryl-plugins-0.2.1
tar jxvf beryl-plugins-0.2.1.tar.bz2
cd beryl-plugins-0.2.1
./configure

³öÏÖÈçÏ´íÎó£º

configure: Using PKG_CONFIG_PATH=NONE/lib/pkgconfig
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BERYL... configure: error: Package requirements (beryl) were not met:
No package 'beryl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BERYL_CFLAGS
and BERYL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

½â¾ö°ì·¨£º

ÏÈÉèÖÃPKG_CONFIG_PATH·¾¶£º
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
È»ºóÔÙ£º./configure && make && make install
˳ÀûÍê³É°²×°¡£


6.°²×°beryl-plugins-unsupported-0.2.1
tar jxvf beryl-plugins-unsupported-0.2.1.tar.bz2
cd beryl-plugins-unsupported-0.2.1
./configure && make && make install


7.°²×°beryl-settings-bindings-0.2.1
tar jxvf beryl-settings-bindings-0.2.1.tar.bz2
cd beryl-settings-bindings-0.2.1
./configure
³öÏÖÈçÏ´íÎó£º
checking for pyrexc... no
configure: error: Couldn't find Pyrex

½â¾ö°ì·¨£º

ÏÂÔØ²¢°²×°Pyrex-0.9.5.tar.gz£º
°²×°Pyrex-0.9.5.1a£º
tar zxvf Pyrex-0.9.5.1a.tar.gz
cd Pyrex-0.9.5.1a
python setup.py install
°²×°Íê³ÉPyrex-0.9.5.1aºóÔÙ½øÐÐberyl-settings-bindings-0.2.1µÄ°²×°£º
cd beryl-settings-bindings-0.2.1
./configure && make && make install
˳ÀûÍê³É°²×°¡£


8.°²×°beryl-settings-0.2.1
tar jxvf beryl-settings-0.2.1.tar.bz2
cd beryl-settings-0.2.1
./configure && make && make install


9.°²×°beryl-settings-simple-0.2.1
tar jxvf beryl-settings-simple-0.2.1.tar.bz2
cd beryl-settings-simple-0.2.1
./configure && make && make install


10.°²×°emerald-0.2.1(Fedora7²»ÐèÒª°²×°,£¬°²×°ÏµÍ³µÄʱºòÒѾ­°²×°ºÃ)
tar jxvf emerald-0.2.1.tar.bz2
cd emerald-0.2.1
./configure

³öÏÖÈçÏ´íÎó£º
configure: Using PKG_CONFIG_PATH=NONE/lib/pkgconfig:/usr/local/lib/pkgconfig/
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EMERALD... configure: error: Package requirements ( xrender >= 0.8.4 gtk+-2.0 >= 2.8.0 libwnck-1.0 pangocairo libberyldecoration ) were not met:
No package 'libwnck-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EMERALD_CFLAGS
and EMERALD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

½â¾ö°ì·¨£º
ÏÂÔØ²¢°²×°libwnck-2.18.0
http://ftp.gnome.org/pub/GNOME/sourc...2.18.0.tar.bz2
°²×°£º
tar jxvf libwnck-2.18.0.tar.bz2
cd libwnck-2.18.0
./configure && make && make install
°²×°Íê³Élibwnck-2.18.0ºóÔÙ½øÐÐemerald-0.2.1µÄ°²×°
cd emerald-0.2.1
./configure && make && make install
˳ÀûÍê³É°²×°¡£


11.°²×°emerald-themes-0.2.1
tar jxvf emerald-themes-0.2.1.tar.bz2
cd emerald-themes-0.2.1
./configure && make && make install


12.°²×°aquamarine-0.2.1
tar jxvf aquamarine-0.2.1.tar.bz2
cd aquamarine-0.2.1
./configure && make && make install


13.°²×°beryl-manager-0.2.1
tar jxvf beryl-manager-0.2.1.tar.bz2
cd beryl-manager-0.2.1
./configure && make && make install
°²×°Íê±Ï£¬½øÈëXwindow£¬ÔÚÖÕ¶ËÖÐÊäÈëberyl-manager£¬¾Í¿ÉÒÔÆô¶¯beryl3D×ÀÃæÐ§¹ûÁË¡£
µ«¡°berylÉèÖùÜÀíÆ÷¡±²»ÄÜ´ò¿ª£¬µ¥»÷¡°berylÉèÖùÜÀíÆ÷¡±ÖÕ¶ËÖÐÏÔʾÈçÏ´íÎó£º
Traceback (most recent call last):
File "/usr/local/bin/beryl-settings", line 22, in ?
import berylsettings
ImportError: No module named berylsettings

½â¾ö°ì·¨:
½¨Á¢·ûºÅÁ´½Ó£¬½«/usr/local/lib/python2.4/site-packages/ÖеÄÎļþÁ´½Óµ½/usr/lib/python2.4/site-packages/ÖоͿÉÒÔÁË¡££¨Fedora7°Ñ2.4¸Ä³É2.5£©
ln -s /usr/local/lib/python2.4/site-packages/* /usr/lib/python2.4/site-packages/)
×öÍêÒÔÉϹ¤×÷ºóberylµÄ¹¤×÷¾ÍÒ»ÇÐÕý³£ÁË£¬¡°berylÉèÖùÜÀíÆ÷¡±Ò²¿ÉÒÔÕý³£Æô¶¯ÁË¡£

14.ÔÚBeryl¹ÜÀíÆ÷ÀïÑ¡Ôñ×ÀÃæ¹ÜÀíΪBeryl,È»ºóÖØÆð½çÃæ¹ÜÀíÆ÷¼´¿ÉÆô¶¯3D×ÀÃæ¡£¾ßÌåÉèÖúÍʹÓ÷½·¨´ó¼Ò¿ÉÒÔGoogle£¬ÕâÀïÎÒÖ÷Ҫ˵°²×°·½·¨¡£

ÒÔÉÏʵÑéÔÚFedora7ÖÐÍê³É¡£Èí¼þ°ü¿ÉÒÔµ½£º
http://www.beryl-project.org/releases.php
http://linux.softpedia.com
ÏÂÔØ¡£

Çë×ªÔØÕß×¢Ã÷ÎÄÕ³ö´¦http://blog.sina.com.cn/zqzbar
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ