I am having trouble installing pygame. I have already looked for many solutions on the web and neither has worked so far.
This is my configuration :
I have windows 8 and virtualbox installed. I have a VM installed on VirtualBox : redhat 64bits. This is the environment I want to install pygame on.
On this VM I already have anaconda 2.1.0 installed.
First I wanted to install pygame-1.9.1release.tar.gz but I've read on the web that it was not possible for a redhat distribution of Linux. So I have been trying to install pygame-1.8.1release.tar.gz by doing the following : 1) download pygame-1.9.1release.tar.gz 2)
tar xvf pygame-1.8.1release.tar.gz
cd pygame-1.8.1release
python setup.py install
(N.B. : I am already in root mode "su")
There I have an error message :
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...
Hunting dependencies...
sh: sdl-config : commande introuvable
WARNING: "sdl-config" failed!
sh: smpeg-config : commande introuvable
WARNING: "smpeg-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.
So it seems that I need to install sdl-config and smpeg-config as well. What I tried so far : 1)
sudo yum install rpm-build alsa-lib-devel libX11-devel libXScrnSaver-devel libXau-devel libXcursor-devel libXext-devel libXfixes-devel libXi-devel libXinerama-devel libXrandr-devel libXrender-devel libXxf86vm-devel mesa-libGL-devel pulseaudio-libs-devel
1 Error)
Modules complémentaires chargés : product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Configuration du processus d'installation
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Essai d'un autre miroir.
Erreur : Cannot retrieve repository metadata (repomd.xml) for repository: LocalYumRepository. Please verify its path and try again
As searching for a solution I realized that it may be a yum bug. So I followeg these instructions to clean my yum. It still wouldn't work after that.
2) I followed the instructions of that post
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
But I get an error for the ./configure line :
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/shad/Téléchargements/SDL-1.2.14':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
3) So I did from that post
yum groupinstall "Development tools"
I get the same error as 1).
I also did
yum install gcc
I get the same error as 1).
Would you please help me ? Actually I just want to download and install pyTagCloud and run 3 lines of code to get a nice word Cloud.
Thank you and sorry if the solution is already posted, I really did search for one.
Shad