Hallo zusammen,
Ich versuche gerade mysql-python zu installieren.
OS: Suse Linux 10
Pythonversion: 2.4.4
Administrationstool: Plesk 8
Nach dem download und enpacken hab ich dann auch unter dem entsprechenden Python-Interpreter setup.py build aufgerufen und die folgende Fehlermeldung erhalten:
- server:~/Zope-Plone-Python/MySQL-python-1.2.2 # ./python setup.py build
- sh: /usr/local/bin/mysql_config: Permission denied
- Traceback (most recent call last):
- File "setup.py", line 16, in ?
- metadata, options = get_config()
- File "/root/Zope-Plone-Python/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config
- libs = mysql_config("libs_r")
- File "/root/Zope-Plone-Python/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config
- raise EnvironmentError, "%s not found" % mysql_config.path
- EnvironmentError: /usr/local/bin/mysql_config not found
Danach hab ich mir die config Datei für die Installation angeschaut und wollte den Pfad für die Datei mysql_config anpassen:
geändert in:
Hat allerdings auch nix gebracht, gleiche Fehlermeldung...
Hab dann auch mal die BErechtigungen der Datei Probeweise geändert, wobei dann noch ein paar zusätzliche Fehlermeldungen aufgetaucht sind:
- /usr/local/bin/mysql_config: line 18: [client]: command not found
- /usr/local/bin/mysql_config: line 20: port: command not found
- /usr/local/bin/mysql_config: line 21: socket: command not found
- /usr/local/bin/mysql_config: line 26: [mysqld]: command not found
- /usr/local/bin/mysql_config: line 27: port: command not found
- /usr/local/bin/mysql_config: line 28: socket: command not found
- /usr/local/bin/mysql_config: line 29: skip-locking: command not found
- /usr/local/bin/mysql_config: line 30: key_buffer: command not found
- /usr/local/bin/mysql_config: line 31: max_allowed_packet: command not found
- /usr/local/bin/mysql_config: line 32: table_cache: command not found
- /usr/local/bin/mysql_config: line 33: sort_buffer_size: command not found
- /usr/local/bin/mysql_config: line 34: net_buffer_length: command not found
usw...
Resultat:
Ich weiss nicht mehr weiter, bin immo bisl gefrustet und würde Plesk am liebsten komplett aufn Mond schiessen weils mit Sicherheit mal wieder daran liegt, dass die an den Pfaden rumpfuschen etc-.-
Frage:
War das überhaupt die richtige Datei? Hat da schonmal jemand nen ähnliches Prob gehabt? Was mach ich falsch?
Schonmal danke für eure Antworten:)
Mfg ThLandua