c:\build\DBD-mysql-4.010>perl.exe Makefile.PL --cflags="-I C:/mysql/include" --libs="-L C:/mysql/lib/opt -lmysqlclient -lz -lm -lcrypt -lnsl" Use of uninitialized value $ENV{"USER"} in concatenation (.) or string at Makefile.PL line 488. Use of uninitialized value in concatenation (.) or string at Makefile.PL line 488. 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 (User's choice) = -I C:/mysql/include embedded (guessed ) = libs (User's choice) = -L C:/mysql/lib/opt -lmysqlclient -lz -lm -lcrypt -lnsl nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = Use of uninitialized value in printf at Makefile.PL line 175. Use of uninitialized value in printf at Makefile.PL line 175. testuser ( ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Argument "6.42_01" isn't numeric in numeric ge (>=) at Makefile.PL line 343. Note (probably harmless): No library found for -lz Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lcrypt Note (probably harmless): No library found for -lnsl Using DBI 1.607 (for perl 5.010000 on MSWin32-x86-multi-thread) installed in C:/Perl/lib/auto/DBI/ Writing Makefile for DBD::mysql c:\build\DBD-mysql-4.010>make make: *** No rule to make target `C:\Perl\libConfig.pm', needed by `makefile'. Stop. c:\build\DBD-mysql-4.010>nmake Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. 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 cl -c -IC:\Perl\lib\auto\DBI -I C:/mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_S ITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"4.010\" -DXS_VERSION=\"4.010\" "- IC:\Perl\lib\CORE" dbdimp.c cl : Command line warning D9002 : ignoring unknown option '-g' dbdimp.c dbdimp.c(464) : warning C4013: 'parse_number' undefined; assuming extern returning int dbdimp.c(2123) : warning C4244: '=' : conversion from 'IV' to 'unsigned short', possible loss of data dbdimp.c(2164) : warning C4244: '=' : conversion from 'my_ulonglong' to 'char', possible loss of data dbdimp.c(2836) : warning C4244: '=' : conversion from 'unsigned short' to 'char', possible loss of data dbdimp.c(2847) : warning C4244: '=' : conversion from 'unsigned short' to 'char', possible loss of data dbdimp.c(2889) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online hel p for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(157) : see declaration of 'strncpy' dbdimp.c(3175) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online hel p for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' dbdimp.c(4060) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online hel p for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' dbdimp.c(4249) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online hel p for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' c:\build\dbd-mysql-4.010\dbdimp.c(4220) : warning C4700: uninitialized local variable 'slen' used C:\Perl\bin\perl.exe -p -e "s/~DRIVER~/mysql/g" C:\Perl\lib\auto\DBI\Driver.xst > mysql.xsi C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap mysql.xs > mysql.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 225 Warning: duplicate function definition 'rows' detected in mysql.xs, line 650 cl -c -IC:\Perl\lib\auto\DBI -I C:/mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_S ITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"4.010\" -DXS_VERSION=\"4.010\" "- IC:\Perl\lib\CORE" mysql.c cl : Command line warning D9002 : ignoring unknown option '-g' mysql.c C:\Perl\lib\auto\DBI\Driver_xst.h(65) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_W ARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' C:\Perl\lib\auto\DBI\Driver_xst.h(92) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_W ARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' mysql.xs(128) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help f or details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(74) : see declaration of 'strcpy' mysql.xs(129) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help f or details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(79) : see declaration of 'strcat' mysql.xs(148) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help f or details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(74) : see declaration of 'strcpy' mysql.xs(149) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help f or details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(79) : see declaration of 'strcat' mysql.xs(467) : warning C4244: '=' : conversion from 'my_ulonglong' to 'int', possible loss of data mysql.xs(498) : warning C4244: '=' : conversion from 'my_ulonglong' to 'int', possible loss of data mysql.xs(242) : warning C4101: 'statement_ptr' : unreferenced local variable mysql.xs(588) : warning C4013: 'mysql_st_next_results' undefined; assuming extern returning int mysql.xs(587) : warning C4101: 'retval' : unreferenced local variable mysql.xs(662) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' mysql.xs(664) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf' mysql.xs(724) : warning C4013: 'is_prefix' undefined; assuming extern returning int c:\build\dbd-mysql-4.010\mysql.xs(246) : warning C4700: uninitialized local variable 'slen' used Running Mkbootstrap for DBD::mysql () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 mysql.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"DBD::mysql\", 'DLBASE' => 'mysql', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => [] );" C:\Perl\bin\perl.exe myld link -out:blib\arch\auto\DBD\mysql\mysql.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 dbdimp.obj mysq l.obj C:\Perl\lib\CORE\perl510.lib C:\mysql\lib\opt\mysqlclient.lib "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\LIB\oldnames.lib" "C:\Program Files (x86)\Microsoft Visual Stu dio 8\VC\LIB\kernel32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.li b" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib" "C:\Program File s (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib" "C:\Program Files (x86)\Microsoft Vi sual Studio 8\VC\PlatformSDK\lib\ole32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\Platf ormSDK\lib\netapi32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\LIB\uuid.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mpr.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winmm.lib" "C:\Program Files (x86)\Microsoft Visua l Studio 8\VC\PlatformSDK\lib\version.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\Platform SDK\lib\odbccp32.lib" "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\LIB\msvcrt.lib" -def:mysql.def Creating library blib\arch\auto\DBD\mysql\mysql.lib and object blib\arch\auto\DBD\mysql\mysql.exp mt -nologo -manifest blib\arch\auto\DBD\mysql\mysql.dll.manifest -outputresource:blib\arch\auto\DBD\mysql\mysql.dll;2 && del blib\arch\auto\DBD\mysql\mysql.dll.manifest C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\DBD\mysql\mysql.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp mysql.bs blib\arch\auto\DBD\mysql\mysql.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\DBD\mysql\mysql.bs c:\build\DBD-mysql-4.010>nmake install Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. Files found in blib\arch: installing files in blib\lib into architecture dependent library tree Installing C:\Perl\site\lib\auto\DBD\mysql\mysql.bs Installing C:\Perl\site\lib\auto\DBD\mysql\mysql.dll Installing C:\Perl\site\lib\auto\DBD\mysql\mysql.exp Installing C:\Perl\site\lib\auto\DBD\mysql\mysql.lib Installing C:\Perl\site\lib\auto\DBD\mysql\mysql.pdb Installing C:\Perl\html\site\lib\Bundle\DBD\mysql.html Installing C:\Perl\html\site\lib\DBD\mysql.html Installing C:\Perl\html\site\lib\DBD\mysql\INSTALL.html Installing C:\Perl\site\lib\Bundle\DBD\mysql.pm Installing C:\Perl\site\lib\DBD\mysql.pm Installing C:\Perl\site\lib\DBD\mysql\GetInfo.pm Installing C:\Perl\site\lib\DBD\mysql\INSTALL.pod Appending installation info to C:\Perl\lib/perllocal.pod c:\build\DBD-mysql-4.010>