  | | | Subject: Unable to install DBD::mysql | Subject: Unable to install DBD::mysql 2007-10-23 - By Soumya Honnahalli
Back
Hi Forum,
We have Active State Perl 5.8.8, and now we are trying to connect to MySQl Database via SolidDB Engine,
For this we downloaded the DBD::mysql from CPAN, after downloading it we did execute the Makefile.PL which threw error as mentioned below in red
C:\temp\DBD-mysql-4 (See http://sql-4.ora-code.com).005>perl Makefile.PL
Failed to determine directory of mysql.h. Use
perl Makefile.PL --cflags=-I<dir>
to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type
perl Makefile.PL -help
Can you please help us with the same, so that we can successfully connect to mysql using perl?
Thanks in advance,
Regards,
Soumya H | B2B-VVT| Tech Mahindra
GGR Tower, Sarjapur Road, Bangalore
(Office: +91 - 80 -40244000 | Extn: 4637
Email: soumyah@(protected) <mailto:soumyah@(protected)>
www.techmahindra.com <http://www.techmahindra.com/>
<http://www.techmahindra.com>
P Please consider the environment before printing this email
=============================================================================== ============================================= Disclaimer:
This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www .techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim .techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html< /a> internally within Tech Mahindra.
=============================================================================== ============================================= <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1= "urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC -html40">
<head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} @(protected) {font-family:Verdana; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} @(protected) {font-family:"Trebuchet MS"; panose-1 (See http://ose-1.ora-code.com):2 11 6 3 2 2 2 2 2 4;} @(protected) {font-family:Webdings; panose-1 (See http://ose-1.ora-code.com):5 3 1 2 1 5 9 6 7 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial; color:black;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Verdana; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </head>
<body bgcolor=white background="cid:image001.gif@(protected)" lang=EN-US link=blue vlink=purple> <img src="cid:image001.gif@(protected)" v:src="cid:image001.gif@(protected)" v:shapes="_x0000_Mail" width=0 height=0 class=shape style='display:none;width:0;height:0'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'>Hi Forum,<o:p></o :p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'>We have Active State Perl 5.8.8, and now we are trying to connect to MySQl Database via SolidDB Engine, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'>For this we downloaded the DBD::mysql from CPAN, after downloading it we did execute the Makefile.PL which threw error as mentioned below in red<o:p></o:p></span></font ></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'><o:p> </o:p> </span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'>C:\temp\DBD-mysql-4 (See http://sql-4.ora-code.com).005>perl Makefile.PL<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'>Failed to determine directory of mysql.h. Use<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'> perl Makefile.PL --cflags=-I<dir><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'>to set this directory. For details see the INSTALL.html file,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'>section "C Compiler flags" or type<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:red'> perl Makefile.PL –help<o:p>< /o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'><o:p> </o:p> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'>Can you please help us with the same, so that we can successfully connect to mysql using perl?<o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'><o:p> </o:p> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'>Thanks in advance,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:windowtext'><o:p> </o:p> </span></font></p>
<div>
<div>
<div>
<p class=MsoNormal><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray;font-weight:bold'>Regards, </span></font></b><font size=1 color=navy face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><b><u><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray;font-weight:bold'><U1 :PERSONNAME w:insAuthor="tp0012247" w:insDate="2007-09-24T12:50:00Z" w :endInsAuthor="tp0012247" w:endInsDate="2007-09-24T12:50:00Z">Soumya H</U1:PERSONNAME> </span></font></u></b><b><u><font size=1 color=red face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:red; font-weight:bold'>|</span></font></u></b><b><u><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray; font-weight:bold'> B2B-VVT</span></font></u></b><b><u><font size=1 color=red face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:red; font-weight:bold'>|</span></font></u></b><b><u><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray; font-weight:bold'> Tech Mahindra<strong><b><font face=Tahoma><span style='font-family:Tahoma'> </span></font></b></strong></span></font></u></b> <strong><b><u><font color=gray face="Times New Roman"><span style='color:gray'><o:p></o:p></span>< /font></u></b></strong></p>
<p class=MsoNormal><st1:place w:st="on"><st1:PlaceName w:st="on"><strong><b> <font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:gray;font-weight:normal'>GGR</span></font></b></strong></st1:PlaceName> <strong><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:gray;font-weight:normal'> <st1:PlaceType w:st="on">Tower</st1:PlaceType> </span></font></b></strong></st1:place><strong><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:gray;font-weight:normal'>, <st1:address tabIndex="0" style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/ #34/#1001); BACKGROUND-REPEAT: repeat-x" w:st="on"><st1:Street w:st="on">Sarjapur Road</st1:Street>, <st1:City w:st="on" >Bangalore</st1:City></st1:address></span></font></b></strong><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray;font-weight:normal'> (Office: +91 - 80 –40244000 </span></font></b></strong><strong><b><font size=1 color=red face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:red;font-weight:normal'>|</span></font></b></strong><strong><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:gray;font-weight:normal'> Extn: 4637 </span></font>< /b></strong><b><span style='font-weight:bold'><o:p></o:p></span></b></p>
<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray;font-weight:normal'>Email: </span></font></b></strong><span class=MsoHyperlink><u><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray'><a href="mailto:soumyah@(protected)"><font color=gray><span style='color: gray'>soumyah@(protected)</span></font></a></span></font></u></span><b> <font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=1 color=gray face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma;color:gray;font-weight:bold'><a href="http://www.techmahindra.com/" title="http://www.techmahindra.com/"><font color=gray><span style='color:gray'><span title="http://www.techmahindra.com/"> <span title="http://www.techmahindra.com/"><span title="http://www.techmahindra.com/" >www.techmahindra.com</span></span></span></font></span></a></span></font></b> <font size=1 color=black face=Tahoma><span style='font-size:8.0pt;font-family:Tahoma; color:windowtext'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color=black face=Arial><span style='font-size: 12.0pt'><a href="http://www.techmahindra.com" title="http://www.techmahindra.com/"></a> </span></font><font face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p>< /span></font></p>
<p class=MsoNormal><strong><b><font size=5 color=green face=Webdings><span style='font-size:18.0pt;font-family:Webdings;color:green'>P</span></font></b>< /strong><strong><b><font size=1 face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS"'> </span></font></b></strong><strong><b><font size=1 color=green face=Arial><span style='font-size:7.5pt;font-family:Arial;color:green'>Please consider the environment before printing this email</span></font></b></strong><strong><b> <font size=1 face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS"'> </span></font></b></strong><span class=MsoHyperlink><u><font size=1 color=blue face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS"'><o :p></o:p></span></font></u></span></p>
</div>
</div>
<p class=MsoNormal><font size=3 color=black face=Arial><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000>============================ ================================================================================ ================<br> <br> Disclaimer:<br> <br> This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www .techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim .techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html< /a> internally within Tech Mahindra.<br> <br> =============================================================================== =============================================<br> </font></td></tr></table>
|
|
 |