Доброго времени суток.
Подробнее о проблеме. Имеется Ubuntu 9 desktop, Perl 5,10,0(что в комплекте был). Пытаюсь прикрутить DBD::mysql модуль. Описываю что я делаю
- скачиваю DBI от http://search.cpan.org/~timb/DBI-1.609/ - распаковываю - устанавливаю
Все нормально. Но вот начинаю устанавливать mysql: - скачиваю mysql от http://search.cpan.org/~capttofu/DBD-mysql-4.013/ - распаковываю - запускаю терминал - перехожу в рутовый режим(su) - перехожу в распакованную папку(/home/x3x/DBD-mysql-4.013/) - вбиваю perl Makefile.PL --testuser=root --testpassword=112233 --testdb=firstdb результат:
Код | 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
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing embedded (mysql_config) = libs (mysql_config) = -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = firstdb testhost (default ) = testpassword (default ) = 112233 testsocket (default ) = testuser (guessed ) = root
To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.
Unrecognized argument in LIBS ignored: '-Wl,-Bsymbolic-functions' Unrecognized argument in LIBS ignored: '-rdynamic' Multiple copies of Driver.xst found in: /usr/local/lib/perl/5.10.0/auto/DBI/ /usr/lib/perl5/auto/DBI/ at Makefile.PL line 902 Using DBI 1.609 (for perl 5.010000 on i486-linux-gnu-thread-multi) installed in /usr/local/lib/perl/5.10.0/auto/DBI/ Writing Makefile for DBD::mysql
|
- после пытаюсь вбить make результат похожий:
Код | make: Внимание: Файл `Makefile.PL' имеет будущее время 3,4e+05 s модификации Makefile out-of-date with respect to Makefile.PL Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 /usr/bin/perl Makefile.PL
|
после идет тоже самое что и выше, только концовка иная:
Код | To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.
Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-Wl,-Bsymbolic-functions' Unrecognized argument in LIBS ignored: '-rdynamic' Multiple copies of Driver.xst found in: /usr/local/lib/perl/5.10.0/auto/DBI/ /usr/lib/perl5/auto/DBI/ at Makefile.PL line 902 Using DBI 1.609 (for perl 5.010000 on i486-linux-gnu-thread-multi) installed in /usr/local/lib/perl/5.10.0/auto/DBI/ Writing Makefile for DBD::mysql ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make: *** [Makefile] Ошибка 1
|
и на этом всё. Что я не так сделал? Мучаюсь уже целую ночь |