multiget install on linux(CentOS5.3)

26

问题: checking for XML::Parser… configure: error: XML::Parser perl module is required for intltool
解决:yum install perl-XML-parser

Error Downloading Packages:
perl-XML-Parser-2.34-6.1.2.2.1.i386: failure: CentOS/perl-XML-Parser-2.34-6.1.2.2.1.i386.rpm from base: [Errno 256] No more mirrors to try.

问题:configure: error: wxWidgets is required. Try –with-wx-config.
解决:安装wxWidgets

Liunx HOSTS

07

Linux 也是有HOSTS文件的,用法也和WINDOWS的一样;我用的LINUX版本是CENTOS5.3

[root@localhost ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
~
~
~
"/etc/hosts" 4L, 187C

Install OpenAL under Linux

05

1.download CMake and install


#./configure
#gmake
#make install

2.download OpenAL and install


#cd CMakeConf
#cmake ..

Reblog this post [with Zemanta]

NotImplementedError: mixer module not available

04

[root@localhost src]# python FretsOnFire.py
/opt/program/Frets on Fire-1.3.110/src/Audio.py:179: RuntimeWarning: use mixer: No module named mixer
pygame.mixer.pre_init(frequency, -bits, stereo and 2 or 1, bufferSize)
Traceback (most recent call last):
File “FretsOnFire.py”, line 74, in ?
engine = GameEngine(config)
File “/opt/program/Frets on Fire-1.3.110/src/GameEngine.py”, line 147, in __init__
self.audio.pre_open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)
File “/opt/program/Frets on Fire-1.3.110/src/Audio.py”, line 179, in pre_open
pygame.mixer.pre_init(frequency, -bits, stereo and 2 or 1, bufferSize)
File “/usr/lib/python2.4/site-packages/pygame/__init__.py”, line 70, in __getattr__
raise NotImplementedError, MissingPygameModule
NotImplementedError: mixer module not available
[root@localhost src]#

unmpy-1.3.0 install

04


[root@localhost numpy-1.3.0]# cat README.txt
NumPy is the fundamental package needed for scientific computing with Python.
This package contains:
* a powerful N-dimensional array object
* sophisticated (broadcasting) functions
* tools for integrating C/C++ and Fortran code
* useful linear algebra, Fourier transform, and random number capabilities.
It derives from the old Numeric code base and can be used as a replacement for Numeric. It also adds the features introduced by numarray and can be used to replace numarray.
More information can be found at the website:

http://scipy.org/NumPy

After installation, tests can be run with:
python -c 'import numpy; numpy.test()'
The most current development version is always available from our
subversion repository:

http://svn.scipy.org/svn/numpy/trunk

[root@localhost numpy-1.3.0]# python setup.py install