2013-10-25 2 views
1

은 내가파이 게임 설치 : SDL-config 명령은

cd ../pygame-1.9.1release/ 
python setup.py install 

에 의해 파이 게임을 설치하려고 후 sdl2, 를 설치

./configure --prefix=$HOME 
make 
make install 

를 사용 찾았지만 나는 오류를 얻고있다 없습니다 :

linuxnx:~/python/library/pygame-1.9.1release> python setup.py install 
WARNING, No "Setup" File Exists, Running "config.py" 
Using UNIX configuration... 
Hunting dependencies... 
sh: sdl-config: command not found 
WARNING: "sdl-config" failed! 
sh: smpeg-config: command not found 
WARNING: "smpeg-config" failed! 
Unable to run "sdl-config". Please make sure a development version of SDL is installed. 
+0

를 다운로드하고 구축 할 수 있습니다 곳이 SDL 1.2 # 임시 디렉토리을 설치해야합니다 터미널이 시도 SDL을 수동으로 설치하는 것이 엉망입니다. – ninMonkey

답변

1

2009 년에 만들어진 PyGame-1.9.1 그래서 새로운 SDL2가 아닌 오래된 SDL 1.2를 계속 사용합니다.

PySDL2 사용 SDL2

2

당신이 shouldn, 당신은 주사위를 사용하여 설치하는 경우 우리가 물건을

mkdir tmp 
cd tmp 

# download and install SDL 
wget http://www.libsdl.org/release/SDL-1.2.14.tar.gz 
tar -xzvf SDL-1.2.14.tar.gz 
cd SDL-1.2.14 
./configure 
sudo make all