can"t compile DBD-mysql module

can"t compile DBD-mysql module

am 23.02.2006 21:59:17 von zhou jian

http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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
>
>
> --- perl-help@lists.mysql.com wrote:
>
> > To confirm that you would like
> >
> > sunzhoujian@yahoo.com
> >
> > added to the perl mailing list, please click on
> > the following link:
> >
> >
> >
>
http://lists.mysql.com/s/perl/43fe1f332a55265b/sunzhoujian=y ahoo.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:
> >
> >
> > To subscribe to the list, send a message to:
> >
> >
> > 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:
> >
> >
> > or for the digest to:
> >
> >
> > 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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 21:59:51 von Tyler MacDonald

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 wrote:
> http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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
> >
> >
> > --- perl-help@lists.mysql.com wrote:
> >
> > > To confirm that you would like
> > >
> > > sunzhoujian@yahoo.com
> > >
> > > added to the perl mailing list, please click on
> > > the following link:
> > >
> > >
> > >
> >
> http://lists.mysql.com/s/perl/43fe1f332a55265b/sunzhoujian=y ahoo.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:
> > >
> > >
> > > To subscribe to the list, send a message to:
> > >
> > >
> > > 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:
> > >
> > >
> > > or for the digest to:
> > >
> > >
> > > 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/perl?unsub=tyler@yi.org
>

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:09:13 von zhou jian

I installed MySQL with rpm. I am not sure if I
installed the header file. I am trying to sesearch the
mysql.h. If not, how should I install that?

--- Tyler MacDonald wrote:

> 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 wrote:
> >
>
http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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
>
=== 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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:16:29 von Tyler MacDonald

zhou jian wrote:
> I installed MySQL with rpm. I am not sure if I
> installed the header file. I am trying to sesearch the
> mysql.h. If not, how should I install that?

Try installing a package like:

"libmysqlclient-dev"

or

"mysql-dev"

Or some such thing. On my (Debian) system, the package is called
"libmysqlclient15-dev".

Cheers,
Tyler


>
> --- Tyler MacDonald wrote:
>
> > 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 wrote:
> > >
> >
> http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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
> >
> === 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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:18:21 von Tyler MacDonald

zhou jian wrote:
> How did you do so? Do you just download the source
> code from mysql.com?

No, I mean look for a redhat RPM with that name.

- Tyler


>
> --- Tyler MacDonald wrote:
>
> > zhou jian wrote:
> > > I installed MySQL with rpm. I am not sure if I
> > > installed the header file. I am trying to sesearch
> > the
> > > mysql.h. If not, how should I install that?
> >
> > Try installing a package like:
> >
> > "libmysqlclient-dev"
> >
> > or
> >
> > "mysql-dev"
> >
> > Or some such thing. On my (Debian) system, the
> > package is called
> > "libmysqlclient15-dev".
> >
> > Cheers,
> > Tyler
> >
> >
> > >
> > > --- Tyler MacDonald wrote:
> > >
> > > > 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 wrote:
> > > > >
> > > >
> > >
> >
> http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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)
> >
> === 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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:21:50 von zhou jian

How did you do so? Do you just download the source
code from mysql.com?

--- Tyler MacDonald wrote:

> zhou jian wrote:
> > I installed MySQL with rpm. I am not sure if I
> > installed the header file. I am trying to sesearch
> the
> > mysql.h. If not, how should I install that?
>
> Try installing a package like:
>
> "libmysqlclient-dev"
>
> or
>
> "mysql-dev"
>
> Or some such thing. On my (Debian) system, the
> package is called
> "libmysqlclient15-dev".
>
> Cheers,
> Tyler
>
>
> >
> > --- Tyler MacDonald wrote:
> >
> > > 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 wrote:
> > > >
> > >
> >
>
http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/my sql.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)
>
=== 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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:24:02 von Jochen Wiedmann

zhou jian wrote:
> I installed MySQL with rpm. I am not sure if I
> installed the header file. I am trying to sesearch the
> mysql.h. If not, how should I install that?

Most possible you need to install mysql-devel, or a similar RPM, as well.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:41:21 von zhou jian

http://dev.mysql.com/downloads/

I checked this website and couldn't find the
mysql-devel rpm. Where did you guys get that kind of
rpm?

--- Jochen Wiedmann wrote:

> zhou jian wrote:
> > I installed MySQL with rpm. I am not sure if I
> > installed the header file. I am trying to sesearch
> the
> > mysql.h. If not, how should I install that?
>
> Most possible you need to install mysql-devel, or a
> similar RPM, as well.
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
>
http://lists.mysql.com/perl?unsub=sunzhoujian@yahoo.com
>
>


__________________________________________________
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 22:47:55 von Tyler MacDonald

zhou jian wrote:
> http://dev.mysql.com/downloads/
>
> I checked this website and couldn't find the
> mysql-devel rpm. Where did you guys get that kind of
> rpm?

Did you get your mysql rpm from mysql.com?
On that page I see:

RHEL3 (x86) - Headers and libraries

Which links to:

http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-devel-sta ndard-5.0.18-0.rhel3.i386.rpm/from/http://mysql.serenitynet. com/

Hope this helps.

cheers,
Tyler

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 23:09:00 von zhou jian

Thanks great for the help. However, I didn't find that
specific rpm. I am going to install mysql5 from
sourcecode again. And I hope that works.

--- Tyler MacDonald wrote:

> zhou jian wrote:
> > http://dev.mysql.com/downloads/
> >
> > I checked this website and couldn't find the
> > mysql-devel rpm. Where did you guys get that kind
> of
> > rpm?
>
> Did you get your mysql rpm from mysql.com?
> On that page I see:
>
> RHEL3 (x86) - Headers and libraries
>
> Which links to:
>
>
http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-devel-sta ndard-5.0.18-0.rhel3.i386.rpm/from/http://mysql.serenitynet. com/
>
> Hope this helps.
>
> cheers,
> Tyler
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
>
http://lists.mysql.com/perl?unsub=sunzhoujian@yahoo.com
>
>


__________________________________________________
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: can"t compile DBD-mysql module

am 23.02.2006 23:14:12 von zhou jian

[root@osg-tg2 rt]# yum install mysql-devel
Gathering header information file(s) from server(s)
Server: Fedora Linux / stable for Red Hat Linux 9
(i386)

I used Yum, but it got stucked. Why do you think
installing from sourcecode will fuck up the system?

This question is releverant to the install of
DBD-myql
module because it caused the problem of the failed
making. Please watch out your language!

> --- Jan Kratochvil wrote:
>
> > Hi,
> >
> > On Thu, 23 Feb 2006 22:41:21 +0100, zhou jian
> wrote:
> > > http://dev.mysql.com/downloads/
> > >
> > > I checked this website and couldn't find the
> > > mysql-devel rpm. Where did you guys get that
> kind
> > of
> > > rpm?
> >
> > This is completely offtopic for that list.
> >
> > What GNU/Linux distribution do you have? You said
> it
> > is .rpm based.
> >
> > If it is Fedora Core, type:
> > yum install mysql-devel
> >
> > If it is Mandrake/Mandriva, type maybe - not sure:
> > urpmi MySQL-devel
> >
> > etc.
> >
> > Do not download anything yourself as you otherwise
> > fuck up your gnu/linux
> > installation and it is insane to debug there any
> > problems afterwards.
> >
> >
> > Regards,
> > Lace
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>


__________________________________________________
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org