|
Posted by ramya.shastri on May 3, 2005, 2:28 am
Please log in for more thread options
Hi,
I have installed Active Perl 5.6 and DBI 1.48 in my XP system and the
list of the drivers doesnt seem to include mysql or Oracle.
Due to firewall restrictions, ppm> search mysql does not connect
either. So I downloaded mysql and tried perl Makefile.pl for that which
gave the following error:
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
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
What does this error mean? how can I install mysql driver so that I can
connect to database from perl at the earliest. Is there any other
driver I can use in place of mysql?
Hope I get some help from you guys,
Thanks
Ramya
|
|
Posted by Sisyphus on May 3, 2005, 8:38 pm
Please log in for more thread options
> Hi,
> I have installed Active Perl 5.6 and DBI 1.48 in my XP system and the
> list of the drivers doesnt seem to include mysql or Oracle.
> Due to firewall restrictions, ppm> search mysql does not connect
> either.
Open, in a browser, C:/Perl/html/faq/ActivePerl-faq2.html#ppm - though you
might have to amend that link, depending upon where you have placed perl.
That will tell you how to deal with the "firewall restrictions".
> So I downloaded mysql and tried perl Makefile.pl for that which
> gave the following error:
I'm assuming you downloaded DBD::MySQL. You'll need a C compiler to build
that module. It's probably simpler for you to work around those firewall
restrictions, and install the DBD::MySQL ppm package. (If it's, in fact,
*not* simpler, then let us know ..... and someone mught be able to help :-)
Cheers,
Rob
|
| Similar Threads | Posted | | Unable to install 'Msql-Mysql-modules' | July 27, 2005, 3:50 am |
| MySQL 5.0 and Perl DBD-MySQL | December 3, 2005, 1:10 am |
| [RESOLVED] DBD::mysql unresolved symbol _intel_fast_memcpy & mysql-standard-5.0.22-linux-i686-icc-glibc23 | August 29, 2006, 6:33 pm |
| only want to install one module and the depended ones, but CPAN always install the whole Perl. | September 14, 2007, 5:23 pm |
| Perl under MS IIS with access to MySQL | June 19, 2005, 11:24 pm |
| pure-perl access to mySQL | June 14, 2005, 8:38 am |
| Error In Using Perl To Connect To MySQL | May 27, 2006, 2:59 am |
| Perl DBI/DBD MySQL User Authentication Error | June 10, 2006, 2:12 pm |
| Mysql-DBD Perl module Installation Problem in HPUX | June 30, 2005, 9:05 am |
| Embedded mysql with DBD::mysql | July 30, 2008, 10:15 am |
|