|
Welcome,
Guest
|
perl -MCPAN -e "install DBD::mysql"
(1 viewing) (1) Guest
Perl Script
|
TOPIC: perl -MCPAN -e "install DBD::mysql"
perl -MCPAN -e "install DBD::mysql" 1 year, 4 months ago #489
|
I am getting following issues while running following command in Windows Machine...
perl -MCPAN -e "install DBD::mysql"Error dbdimp.h:23:45: mysqld_error.h: No such file or directory |
|
Regards,
Rajesh Kumar Build and Release Engineer My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar |
Re: perl -MCPAN -e "install DBD::mysql" 1 year, 4 months ago #490
|
Full Log File..
Going to read 'C:\Tools\Perl\cpan\Metadata' Database was generated on Sun, 02 Jan 2011 22:37:47 GMT Running install for module 'DBD::mysql' Running make for C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz Checksum for C:\Tools\Perl\cpan\sources\authors\id\C\CA\CAPTTOFU\DBD-mysql-4.018.tar.gz ok DBD-mysql-4.018/ DBD-mysql-4.018/ChangeLog DBD-mysql-4.018/constants.h DBD-mysql-4.018/dbdimp.c DBD-mysql-4.018/dbdimp.h DBD-mysql-4.018/eg/ DBD-mysql-4.018/eg/bug14979.pl DBD-mysql-4.018/eg/bug21028.pl DBD-mysql-4.018/eg/bug30033.pl DBD-mysql-4.018/eg/bug30033pg.pl DBD-mysql-4.018/eg/decimal_test.pl DBD-mysql-4.018/eg/issue21946.pl DBD-mysql-4.018/eg/prepare_memory_usage.pl DBD-mysql-4.018/eg/proc_example1.pl DBD-mysql-4.018/eg/proc_example2.pl DBD-mysql-4.018/eg/proc_example2a.pl DBD-mysql-4.018/eg/proc_example2b.pl DBD-mysql-4.018/eg/proc_example3.pl DBD-mysql-4.018/eg/proc_example4.pl DBD-mysql-4.018/INSTALL.html DBD-mysql-4.018/lib/ DBD-mysql-4.018/lib/Bundle/ DBD-mysql-4.018/lib/Bundle/DBD/ DBD-mysql-4.018/lib/Bundle/DBD/mysql.pm DBD-mysql-4.018/lib/DBD/ DBD-mysql-4.018/lib/DBD/mysql/ DBD-mysql-4.018/lib/DBD/mysql/GetInfo.pm DBD-mysql-4.018/lib/DBD/mysql/INSTALL.pod DBD-mysql-4.018/lib/DBD/mysql.pm DBD-mysql-4.018/Makefile.PL DBD-mysql-4.018/Makefile.PL.embedded DBD-mysql-4.018/MANIFEST DBD-mysql-4.018/MANIFEST.SKIP DBD-mysql-4.018/META.yml DBD-mysql-4.018/myld DBD-mysql-4.018/mysql.xs DBD-mysql-4.018/README DBD-mysql-4.018/t/ DBD-mysql-4.018/t/00base.t DBD-mysql-4.018/t/10connect.t DBD-mysql-4.018/t/20createdrop.t DBD-mysql-4.018/t/25lockunlock.t DBD-mysql-4.018/t/29warnings.t DBD-mysql-4.018/t/30insertfetch.t DBD-mysql-4.018/t/31insertid.t DBD-mysql-4.018/t/32insert_error.t DBD-mysql-4.018/t/35limit.t DBD-mysql-4.018/t/35prepare.t DBD-mysql-4.018/t/40bindparam.t DBD-mysql-4.018/t/40bindparam2.t DBD-mysql-4.018/t/40blobs.t DBD-mysql-4.018/t/40catalog.t DBD-mysql-4.018/t/40keyinfo.t DBD-mysql-4.018/t/40listfields.t DBD-mysql-4.018/t/40nulls.t DBD-mysql-4.018/t/40nulls_prepare.t DBD-mysql-4.018/t/40numrows.t DBD-mysql-4.018/t/40server_prepare.t DBD-mysql-4.018/t/40server_prepare_error.t DBD-mysql-4.018/t/40types.t DBD-mysql-4.018/t/41bindparam.t DBD-mysql-4.018/t/41blobs_prepare.t DBD-mysql-4.018/t/42bindparam.t DBD-mysql-4.018/t/50chopblanks.t DBD-mysql-4.018/t/50commit.t DBD-mysql-4.018/t/51bind_type_guessing.t DBD-mysql-4.018/t/52comment.t DBD-mysql-4.018/t/53comment.t DBD-mysql-4.018/t/55utf8.t DBD-mysql-4.018/t/60leaks.t DBD-mysql-4.018/t/65types.t DBD-mysql-4.018/t/70takeimp.t DBD-mysql-4.018/t/71impdata.t DBD-mysql-4.018/t/75supported_sql.t DBD-mysql-4.018/t/76multi_statement.t DBD-mysql-4.018/t/80procs.t DBD-mysql-4.018/t/85init_command.t DBD-mysql-4.018/t/86_bug_36972.t DBD-mysql-4.018/t/lib.pl DBD-mysql-4.018/t/mem_leak.pl DBD-mysql-4.018/t/mysql.dbtest DBD-mysql-4.018/t/mysql.mtest DBD-mysql-4.018/TODO CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz mysql_config.pl, and an associated bat file, has been successfully created under D:\wamp\bin\mysql\MYSQL5~1.36\bin PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user '' 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 ''@'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"D:\wamp\bin\mysql\MYSQL5~1.36\include" embedded (mysql_config) = libs (mysql_config) = -LD:\wamp\bin\mysql\MYSQL5~1.36\lib\opt -lmysqlclient -lzlib mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (guessed ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.616 (for perl 5.010001 on MSWin32-x86-multi-thread) installed in C:/Tools/Perl/site/lib/auto/DBI/ Writing Makefile for DBD::mysql cp lib/DBD/mysql.pm blib\lib\DBD\mysql.pm cp lib/DBD/mysql/GetInfo.pm blib\lib\DBD\mysql\GetInfo.pm cp lib/DBD/mysql/INSTALL.pod blib\lib\DBD\mysql\INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib\lib\Bundle\DBD\mysql.pm C:/Tools/Perl/site/bin/gcc.exe -c -IC:\Tools\Perl\site\lib\auto\DBI -I"D:\wamp\bin\mysql\MYSQL5~1.36\include" -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" "-IC:\Tools\Perl\lib\CORE" dbdimp.c CAPTTOFU/DBD-mysql-4.018.tar.gz C:\Tools\Perl\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible |
|
Regards,
Rajesh Kumar Build and Release Engineer My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar |
Re: perl -MCPAN -e "install DBD::mysql" 1 year, 4 months ago #491
|
Now after doing some more R and D, i got following...
D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE: connect to server at 'localhost' failed error: 'Access denied for user 'ODBC'@'localhost' (using password: NO)' Problem running D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE - aborting ... Warning: No success on command[C:\Tools\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site] CAPTTOFU/DBD-mysql-4.018.tar.gz C:\Tools\Perl\bin\perl.exe 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 |
|
Regards,
Rajesh Kumar Build and Release Engineer My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar |
|
Time to create page: 0.93 seconds





Forum