Hey,
I had to update Perl from 5.8 to 5.14 in order to run the Date::Manip pm (which works fine) however in doing so, perl lost the ability to talk to mysql.
I installed DBD::mysql without apparent issue...however when I try to open the database I get ...
Can't locate DBD/Mysql.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/x86_64-linux /usr/local/lib/perl5/5.14.0 .) at ./perltest.pl line 3.
BEGIN failed--compilation aborted at ./perltest.pl line 3.
If I use MCPAN to try and re-run the DBD::mysql install, I get ...
cpan
11> install DBD::mysql
DBD::mysql is up to date (4.019).
I've tried using "use Mysql;" and "use DBD::mysql" in the script and both returm the appropriate "Cannot find in @INC" error.
When I try to unstall "install mysql" via CPAN I get a ...
.
.
.
dbdimp.c:3404: error: âsv_undefâ undeclared (first use in this function)
dbdimp.c: In function âmysql_db_type_info_allâ:
dbdimp.c:3903: error: âsv_undefâ undeclared (first use in this function)
make: ***
dbdimp.o Error 1
CAPTTOFU/DBD-mysql-3.0008.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
CAPTTOFU/DBD-mysql-3.0008.tar.gz : make NO
Help :D
thanks!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.