Re: Problems with compiling pygame | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | The best way of doing that is checking your /etc/upkg.conf
Please post this file in here: .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Problems with compiling pygame | |
|
|
Junior Mitglied Posts: 9 Registered: 2010-02-27 | Code | [In neuem Fenster öffnen] | | <?xml version="1.0" encoding="UTF-8"?>
<local>
<cachedir>/var/cache/upkg</cachedir>
<repositories>
<repository>/home/philippe/paldorepo</repository>
<repository>http://www.paldo.org/paldo</repository>
</repositories>
<branch>stable</branch>
<arch>x86</arch>
</local> |
Edit:
lol, i just saw that I upgraded vom stable to testing with upkg-upgrade --branch testing or something and didn't change the branch here
now it worked, but how can i make that python finds pygame? |
|
|
|
|
|
Re: Problems with compiling pygame | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Apparently pygame shouldn't be compiled with ./configure, make, make install procedure. It should use python to configure setup and then install.
According to the official site:
Post Scriptum | | The first time you run the setup script, it will call the "config.py" script. This will build a "Setup" file which stores all the information needed to compile. The "config.py" will do a good job of detecting what dependencies are available and where they are located. If it isn't perfect, it is easy to build your own, or edit the created "Setup" text file. This "Setup" file is a simple Makefile-like text file. It defines variables needed to use each dependency, and then enables all the pygame modules with found dependencies. If you have trouble compiling, you should be able to easily fix any problems inside the "Setup" file.
Running the "setup.py" script will call distutils to build and install the pygame package. Distutils actually supports a wide variety of compile and install options. running "python setup.py help" will start to show you the different options available. You can change many things like install locations, compiler to use, and more. Calling the "setup.py" script with no arguments and it will just ask you if you want the default flags needed to compile and install. |
So this means that probably you should be trying to compile it with:
Take a look if it will install correctly, there are still some packages that makes allusion to the old /usr/X11R6 as the source location or xorg libraries, which now are at /usr/lib .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|