PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kompilieren von wxPython



Darksheen
29.07.03, 12:34
Hallo,

ich nutze Suse 8.2 und versuche wxPathon 2.4.1.2 zu compilieren.

Bin anhand der Readme vorgegangen und scheiter nun an dem Punkt:



python setup.py \
WX_CONFIG=$WXPREF/bin/wx-config \
WXPORT=gtk2 UNICODE=1 \
build install

ich versuche das ganze so:

linux:/home/gpanno/Downloads/wxPythonSrc-2.4.1.2/wxPython # python setup.py WX_CONFIG=$WXPREF/bin/wx-config WXPORT=gtk2 UNICODE=1 build install

und die Ausgabe ist:

sh: line 1: pkg-config: command not found
Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
Preparing GIZMOS...
Preparing DLLWIDGET...
Traceback (most recent call last):
File "setup.py", line 1219, in ?
data_files = DATA_FILES,
File "distutils/core.py", line 123 in setup
dist.parse_config_files()
File "distutils/dist.px", line 318, in parse_config_files
from ConfigParser import ConfigParser
File "/usr/lib/Python2.2/ConfigParser.py", line 172, in ?
class ConfigParser:
File "/usr/lib/python2.2/ConfigParser.py", line 308 in ConfigParser
_boolean_states = {'1': True, 'yes': True, 'true': True, 'on': True,
NameError: name 'True' is not defined

-----

Was ist hier denn falsch?!?

Besten Dank an alle die mir Helfen,

Darksheen