[perl5-dbi/dbi] 2f3ffa: Remove outdated links to DBI related training reso...

2018-08-05 Thread Tim Bunce
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: 2f3ffa470b80311f237c91bdf66ed42905532739
  
https://github.com/perl5-dbi/dbi/commit/2f3ffa470b80311f237c91bdf66ed42905532739
  Author: Tim Bunce 
  Date:   2018-08-04 (Sat, 04 Aug 2018)

  Changed paths:
M DBI.pm

  Log Message:
  ---
  Remove outdated links to DBI related training resources. RT#125999



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.


Getting make error while installation

2018-08-05 Thread sushrut pajai
Hi Dev,

I am trying to install DBD::MySQL driver on windows 10 64-bit machine. But 
unable install due to following error.

dmake
"C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- mysql.bs 
blib\arch\auto\DBD\mysql\mysql.bs 644
C:\Perl64\site\bin\gcc.exe -c  -IC:\Perl64\lib\auto\DBI -IC:\conn\include 
-DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS 
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv 
-fno-strict-aliasing -mms-bitfields -s -O2-DVERSION=\"4.046\"   
-DXS_VERSION=\"4.046\"  "-IC:\Perl64\lib\CORE"   dbdimp.c
In file included from C:\conn\include/mysql.h:48:0,
from dbdimp.h:21,
from dbdimp.c:20:
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/winsock2.h:15:2:
 warning: #warning Please include winsock2.h before windows.h [-Wcpp]
In file included from C:\conn\include/mysql.h:48:0,
from dbdimp.h:21,
from dbdimp.c:20:
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/winsock2.h:59:19:
 error: conflicting types for '__WSAFDIsSet'
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/winsock.h:40:19:
 note: previous declaration of '__WSAFDIsSet' was here
dmake.exe:  Error code 129, while making 'dbdimp.o'


Command Ran:-   perl Makefile.PL --libs=-L"C:\conn\lib"


Not sure why but the  Generated Makefile.pl was unable to get following path.  
Also was unable to detect mysql_config.pl although I have set env variables.
Hence manually set the path in script and let it proceed but it again got 
failed for detecting   .h files and .lib files hence set manually.
Autogenerated makefile was unable open Windows path due to space in it. Hence 
as a remedy I renamed the folder to conn and moved to root.
Got above error.


d- 8/4/2018   2:46 AMconn
d- 8/3/2018  11:15 PMConnector ODBC 8.0
d- 8/3/2018  11:15 PMMySQL Connector C 6.1
d- 8/3/2018  11:15 PMMySQL Server 5.7
d-7/29/2018  12:47 PM   MySQL Server 8.0
d- 8/3/2018  11:17 PMMySQL Shell 8.0
d- 8/3/2018  11:16 PMMySQL Utilities 1.6
d- 8/3/2018  11:21 PMMySQL Workbench 8.0 CE

Can some help me with how Can I get it working.
I have attached the auto generated Makefile as well.


Thanks,
Sushrut




Sent from Mail for Windows 10



Makefile
Description: Makefile