Re: can't compile DBD-mysql module
Tyler MacDonald <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
zhou, Do you have the MySQL header files installed on your system? They would normally come in a package with a name like "libmysqlclient-dev". If you compiled and installed your own MySQL server, they should already be installed and there may be a differnet problem. Cheers, Tyler zhou jian <[email protected]> wrote: > http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/mysql.pm#AUTHORS > > Hello everyone, > > I downloaded the module from the website above and > tried to make it. However, it failed. The following > is > the message. > > Do you have any idea? Since this new verions is not > stable, where can I find the older version? > > Thanks, > --Paul > > > > > > > > dbdimp.c:3235: `MYSQL_FIELD' undeclared (first use > > in > > this function) > > dbdimp.c:3235: `curField' undeclared (first use in > > this function) > > dbdimp.c:3238: `what' undeclared (first use in this > > function) > > dbdimp.c:3242: `cacheit' undeclared (first use in > > this > > function) > > dbdimp.c:3242: dereferencing pointer to incomplete > > type > > dbdimp.c:3243: dereferencing pointer to incomplete > > type > > dbdimp.c:3246: `res' undeclared (first use in this > > function) > > dbdimp.c:3311: `PRI_KEY_FLAG' undeclared (first use > > in > > this function) > > dbdimp.c:3311: `UNIQUE_KEY_FLAG' undeclared (first > > use > > in this function) > > dbdimp.c:3311: `MULTIPLE_KEY_FLAG' undeclared (first > > use in this function) > > dbdimp.c:3338: dereferencing pointer to incomplete > > type > > dbdimp.c: In function `mysql_st_FETCH_attrib': > > dbdimp.c:3387: dereferencing pointer to incomplete > > type > > dbdimp.c:3389: dereferencing pointer to incomplete > > type > > dbdimp.c:3393: dereferencing pointer to incomplete > > type > > dbdimp.c:3397: dereferencing pointer to incomplete > > type > > dbdimp.c:3401: dereferencing pointer to incomplete > > type > > dbdimp.c:3407: dereferencing pointer to incomplete > > type > > dbdimp.c:3411: dereferencing pointer to incomplete > > type > > dbdimp.c:3415: dereferencing pointer to incomplete > > type > > dbdimp.c:3417: dereferencing pointer to incomplete > > type > > dbdimp.c:3419: dereferencing pointer to incomplete > > type > > dbdimp.c:3421: dereferencing pointer to incomplete > > type > > dbdimp.c:3425: dereferencing pointer to incomplete > > type > > dbdimp.c:3432: dereferencing pointer to incomplete > > type > > dbdimp.c:3434: dereferencing pointer to incomplete > > type > > dbdimp.c:3439: dereferencing pointer to incomplete > > type > > dbdimp.c:3443: dereferencing pointer to incomplete > > type > > dbdimp.c:3445: dereferencing pointer to incomplete > > type > > dbdimp.c:3447: dereferencing pointer to incomplete > > type > > dbdimp.c:3459: dereferencing pointer to incomplete > > type > > dbdimp.c: In function `mysql_bind_ph': > > dbdimp.c:3538: dereferencing pointer to incomplete > > type > > dbdimp.c:3574: dereferencing pointer to incomplete > > type > > dbdimp.c: In function `mysql_db_reconnect': > > dbdimp.c:3675: `MYSQL' undeclared (first use in this > > function) > > dbdimp.c:3675: parse error before "save_socket" > > dbdimp.c:3685: dereferencing pointer to incomplete > > type > > dbdimp.c:3685: `CR_SERVER_GONE_ERROR' undeclared > > (first use in this function) > > dbdimp.c:3689: dereferencing pointer to incomplete > > type > > dbdimp.c:3689: dereferencing pointer to incomplete > > type > > dbdimp.c:3703: `save_socket' undeclared (first use > > in > > this function) > > dbdimp.c:3703: dereferencing pointer to incomplete > > type > > dbdimp.c:3704: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3705: dereferencing pointer to incomplete > > type > > dbdimp.c:3709: dereferencing pointer to incomplete > > type > > dbdimp.c:3709: dereferencing pointer to incomplete > > type > > dbdimp.c:3709: warning: passing arg 3 of > > `mysql_dr_error' makes pointer from integer without > > a > > cast > > dbdimp.c:3710: dereferencing pointer to incomplete > > type > > dbdimp.c:3711: dereferencing pointer to incomplete > > type > > dbdimp.c:3714: dereferencing pointer to incomplete > > type > > dbdimp.c: In function `mysql_db_quote': > > dbdimp.c:3865: dereferencing pointer to incomplete > > type > > dbdimp.c: In function `mysql_db_last_insert_id': > > dbdimp.c:3880: dereferencing pointer to incomplete > > type > > make: *** [dbdimp.o] Error 1 > > > > > > --- [email protected] wrote: > > > > > To confirm that you would like > > > > > > [email protected] > > > > > > added to the perl mailing list, please click on > > > the following link: > > > > > > > > > > > > http://lists.mysql.com/s/perl/43fe1f332a55265b/sunzhoujian=yahoo.com > > > > > > This confirmation serves two purposes. First, it > > > verifies that we are > > > able to get mail through to you. Second, it > > protects > > > you in case > > > someone forges a subscription request in your > > name. > > > > > > > > > --- Administrative commands for the perl list --- > > > > > > I can handle administrative requests > > automatically. > > > Please > > > do not send them to the list address! Instead, > > send > > > your message to the correct command address: > > > > > > For help and a description of available commands, > > > send a message to: > > > <[email protected]> > > > > > > To subscribe to the list, send a message to: > > > <[email protected]> > > > > > > To remove your address from the list, just send a > > > message to > > > the address in the ``List-Unsubscribe'' header of > > > any list > > > message. If you haven't changed addresses since > > > subscribing, > > > you can also send a message to: > > > <[email protected]> > > > > > > or for the digest to: > > > <[email protected]> > > > > > > For addition or removal of addresses, I'll send a > > > === message truncated === > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- > MySQL Perl Mailing List > For list archives: http://lists.mysql.com/perl > To unsubscribe: http://lists.mysql.com/[email protected] > -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]