Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Hurrican

Anfänger

  • »Hurrican« ist der Autor dieses Themas

Beiträge: 17

Wohnort: Hamburg

Rootserver vorhanden: Ja

  • Nachricht senden

1

Montag, 2. Februar 2015, 20:00

Can't locate DBI.pm in @INC

Hiho, wie man sieht versuche ich mich an HLStats..
Hab da ein Problem mit Perl:

Quellcode

1
2
Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./hlstats.pl line 66.
BEGIN failed--compilation aborted at ./hlstats.pl line 66.

Perl ist installiert. Leider fehlt DBI.pm und Dr. Google spuckt keinen erfolgreichen Lösungsvorschlag raus...
Betriebssystem ist debian-7.0-x86

Liebe Grüße
Gaming since 1.6

MadMakz

Super Moderator

Beiträge: 1 878

Wohnort: ~#

Rootserver vorhanden: Ja

  • Nachricht senden

Hurrican

Anfänger

  • »Hurrican« ist der Autor dieses Themas

Beiträge: 17

Wohnort: Hamburg

Rootserver vorhanden: Ja

  • Nachricht senden

3

Montag, 2. Februar 2015, 21:36

Zitat

/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.633\" -DXS_VERSION=\"1.633\" -fPIC "-I/usr/lib/perl/5.14/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: 1: cc: not found
make: *** [Perl.o] Error 127
TIMB/DBI-1.633.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
TIMB/DBI-1.633.tar.gz : make NO
Gaming since 1.6

Impact

Super Moderator

Beiträge: 1 276

Rootserver vorhanden: Nein

  • Nachricht senden

4

Montag, 2. Februar 2015, 22:12

Ich kenne mich mit Perl jetzt nicht wirklich aus, eines der Fehler scheint aber eine Fehlende Compiler-Toolchain zu sein.
Installiere das Meta-Paket

Quellcode

1
build-essential

und probiere es dann nochmal.

hEiNz

Profi

Beiträge: 705

Wohnort: Deutschland

Beruf: Freischaffender Künstler

Rootserver vorhanden: Nein

  • Nachricht senden

5

Montag, 2. Februar 2015, 22:19

hmm

hab zwar gerade auch hlstatsxce installet alles was dazu gehört debian 8

aber den fehler kenn ich auch nicht

denke das da mit dem perl irgenetwas nicht stimmt

nach welcher anleitung bist du vorgegangen ich hab die hier genommen

https://bitbucket.org/Maverick_of_UC/hls…on/wiki/Install

oder die hier

http://sourceserver.info/wiki/statistiken/hlxce/install

hmm vlt noch


Quellcode

1
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl 

Hurrican

Anfänger

  • »Hurrican« ist der Autor dieses Themas

Beiträge: 17

Wohnort: Hamburg

Rootserver vorhanden: Ja

  • Nachricht senden

6

Montag, 2. Februar 2015, 22:57

Inzwischen hab ichs geschafft DBI zu installieren, leider fehlt DBD:mysql, da gibts wiederum das hier:

Zitat

cpan[2]> install DBD:mysql
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gz
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

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

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

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 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user 'root' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Failed to determine directory of mysql.h. Use

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

to set this directory. For details see DBD::mysql::INSTALL,
section "C Compiler flags" or type

perl Makefile.PL --help
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
CAPTTOFU/DBD-mysql-4.029.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Failed during this command:
CAPTTOFU/DBD-mysql-4.029.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512



Mysql hab ich hiermit installiert:

Zitat

sudo apt-get install mysql-server mysql-client php5-mysql


Edit: hlstatsx scheint bis jetzt zu funktionieren... obwohl DBD:mysql nicht installiert werden konnte..
Gaming since 1.6

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Hurrican« (2. Februar 2015, 23:29)


MadMakz

Super Moderator

Beiträge: 1 878

Wohnort: ~#

Rootserver vorhanden: Ja

  • Nachricht senden

7

Montag, 2. Februar 2015, 23:32

Quellcode

1
apt-get install libmysqlclient-dev

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »MadMakz« (2. Februar 2015, 23:43)


Ähnliche Themen