Package Search
 
Members: 351 | Topics: 765 | Posts: 3209
We welcome our newest member: Somewhat Reticent
Info
» You aren't logged in, login or registerOnline: No members and 4 guests | Time: 10:15
Problems with compiling pygame
paldo Support Forum    Upkg    Package Specifications
Reply Reply   Subscribe Topic Subscribe Topic
13 posts found.Page: 1 2
This topic contains previous posts. Back
 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
Profile   Private Message   E-Mail
Created: 2010-03-05 03:24
Highlight selected Text   Edit   Delete   Quote Reply
 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?
Profile   Private Message
Created: 2010-03-05 12:30 | Modified: 2010-03-05 12:35 by Dunek
Highlight selected Text   Edit   Delete   Quote Reply
 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:

Code[In neuem Fenster öffnen]
python config.py -auto
python setup.py install --prefix=/usr


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
Profile   Private Message   E-Mail
Created: 2010-03-05 12:46
Highlight selected Text   Edit   Delete   Quote Reply
Page: 1 2
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a