DBD::mysql

Hilfe zu Znuny Problemen aller Art
Locked
RealFairPlayer
Znuny newbie
Posts: 8
Joined: 16 Jan 2007, 17:49

DBD::mysql

Post by RealFairPlayer »

Hi!

Ich kriege OTRS unter Linux nun seit 4 Tagen nicht zum Laufen, schon der Hammer.

Ich installiere nach der Anleitung auf der HP von OTRS.org.

Es müssen einige Module für PERL nachinstalliert werden, und hier ist bereits der erste Fehler:

wenn ich perl -e shell -MCPAN gefolgt von einem install DBD::mysql eingebe bekomme ich folgende Rückmeldung:


Code: Select all

  CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 465.
Failed to determine directory of mysql.h. Use

  perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

  perl Makefile.PL --help
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install
Meine mysql_config liegt unter /opt/lampp/bin

aber er will die einfach nicht nutzen :( auch mit:
perl Makefile.PL --cflags=/opt/lampp/bin/mysql_config --libs=/opt/lampp/libs/perl5/5.8.7/

Weiß hier jemand Rat? Ich bin wirklich verzweifelt :(

P.S. Die Developer Pakete von xampp sind eingespielt.

Matze
jn
Znuny advanced
Posts: 105
Joined: 21 Nov 2006, 18:44

Re: DBD::mysql

Post by jn »

RealFairPlayer wrote: perl Makefile.PL --cflags=-I<dir>

perl Makefile.PL --cflags=/opt/lampp/bin/mysql_config --libs=/opt/lampp/libs/perl5/5.8.7/
Fällt Dir das -I auf?

Ansonsten: warum nutzt Du nicht die Paketverwaltung Deiner Distribution, um die fehlenden Pakete nachzuziehen?
OTRS 2.3.2 @ SuSE 10
Locked